Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 88.22 kB / 20.18 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 177.1 MB / 200.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 160.6 kB / 257 MB, free: 13.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.025/0.025, allocations: 6.653 MB / 320.1 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 3.938 kB / 391.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.85e-05, allocations: 2.312 kB / 391.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002251/0.002269, allocations: 2.047 MB / 393.7 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.002628, allocations: 171.3 kB / 393.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.002723, allocations: 4 kB / 393.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.002862, allocations: 31.72 kB / 393.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.003062, allocations: 67.47 kB / 394 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.003234, allocations: 43.94 kB / 394 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.003737, allocations: 0.5093 MB / 394.5 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.004013, allocations: 150.2 kB / 394.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.004301, allocations: 279.5 kB / 394.9 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.004788, allocations: 199.6 kB / 395.1 MB, free: 0.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.00486, allocations: 48 kB / 395.2 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.004931, allocations: 52 kB / 395.2 MB, free: 496 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.005037, allocations: 99.67 kB / 395.3 MB, free: 396 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.0052, allocations: 159.7 kB / 395.5 MB, free: 236 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.00559, allocations: 327.2 kB / 395.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005593, allocations: 4 kB / 395.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005594, allocations: 0 / 395.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.005601, allocations: 0 / 395.8 MB, free: 15.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.000966/0.006567, allocations: 0.6833 MB / 396.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.006609, allocations: 8.031 kB / 396.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.006722, allocations: 60.7 kB / 396.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.007064, allocations: 248 kB / 396.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.007087, allocations: 21.03 kB / 396.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.007142, allocations: 28.38 kB / 396.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.007549, allocations: 211.3 kB / 397.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.007566, allocations: 192 / 397.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.007595, allocations: 16.38 kB / 397.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.007632, allocations: 17.02 kB / 397.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.007951, allocations: 127.7 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.009169, allocations: 0.8627 MB / 398.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.009509, allocations: 191 kB / 398.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.00961, allocations: 71.66 kB / 398.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.00962, allocations: 8 kB / 398.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.009642, allocations: 41.39 kB / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.009643, allocations: 0 / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007269/0.01037, allocations: 388.3 kB / 398.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.0104, allocations: 55.41 kB / 398.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.01053, allocations: 233.9 kB / 399 MB, free: 12.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01055, allocations: 33.7 kB / 399.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.01063, allocations: 219.3 kB / 399.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.01069, allocations: 95.61 kB / 399.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.01075, allocations: 51.36 kB / 399.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01087, allocations: 0.5079 MB / 399.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.01093, allocations: 31.97 kB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.01099, allocations: 31.98 kB / 400 MB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.01112, allocations: 99.98 kB / 400.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01112, allocations: 0 / 400.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002998/0.01142, allocations: 228.4 kB / 400.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01144, allocations: 8 kB / 400.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01144, allocations: 0 / 400.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.01172, allocations: 106.9 kB / 400.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.01182, allocations: 31.98 kB / 400.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.01436, allocations: 5.949 MB / 406.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.01442, allocations: 23.88 kB / 406.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.01442, allocations: 8 kB / 406.4 MB, free: 4.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/0.01452, allocations: 168.5 kB / 406.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.01455, allocations: 23.91 kB / 406.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.01458, allocations: 29.95 kB / 406.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01458, allocations: 8.031 kB / 406.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01459, allocations: 0 / 406.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01459, allocations: 0 / 406.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.01482, allocations: 284.3 kB / 407 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01483, allocations: 8 kB / 407 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01493, allocations: 39.97 kB / 407 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.01512, allocations: 99.08 kB / 407.1 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01513, allocations: 4 kB / 407.1 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.01744, allocations: 5.946 MB / 413 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01745, allocations: 3.938 kB / 413 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.01784, allocations: 429.3 kB / 413.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.01786, allocations: 27.78 kB / 413.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01788, allocations: 12.06 kB / 413.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/0.01795, allocations: 12.17 kB / 413.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.018, allocations: 19.95 kB / 413.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01801, allocations: 7.984 kB / 413.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.01809, allocations: 176.2 kB / 413.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01809, allocations: 3.938 kB / 413.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.01844, allocations: 111.7 kB / 413.8 MB, free: 12.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.848e-05/0.01853, allocations: 107.2 kB / 413.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.01904, allocations: 0.6609 MB / 414.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01904, allocations: 4 kB / 414.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.01935, allocations: 0.6171 MB / 415.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01958, allocations: 47.8 kB / 415.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.02054, allocations: 0.6704 MB / 415.9 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.02064, allocations: 136.2 kB / 416.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.983e-05/0.02071, allocations: 41.91 kB / 416.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.02074, allocations: 16.5 kB / 416.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02074, allocations: 3.938 kB / 416.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of Templates: time 0.005698/0.02644, allocations: 4.172 MB / 420.3 MB, free: 6.207 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9993194830603898]