Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.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.001666/0.001666, allocations: 116.5 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] 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.001735/0.001735, allocations: 210.5 kB / 20.09 MB, free: 2.992 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.141/0.141, allocations: 23.9 MB / 333.4 MB, free: 1.168 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 65.69 kB / 467.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1024, allocations: 59.85 MB / 0.5147 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005328/0.1077, allocations: 3.469 MB / 0.5181 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.1143, allocations: 4.779 MB / 0.5228 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.1146, allocations: 7.938 kB / 0.5228 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.115, allocations: 111.1 kB / 0.5229 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.1161, allocations: 464.8 kB / 0.5233 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.1172, allocations: 0.5283 MB / 0.5238 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.1179, allocations: 0.5804 MB / 0.5244 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.1184, allocations: 300.4 kB / 0.5247 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.1187, allocations: 295.1 kB / 0.525 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.1191, allocations: 310.9 kB / 0.5253 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/0.1192, allocations: 52 kB / 0.5253 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1203, allocations: 483.2 kB / 0.5258 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1204, allocations: 111.7 kB / 0.5259 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.1207, allocations: 278.7 kB / 0.5261 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1222, allocations: 1.078 MB / 0.5272 GB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1222, allocations: 3.938 kB / 0.5272 GB, free: 15.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1222, allocations: 0 / 0.5272 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1222, allocations: 0 / 0.5272 GB, free: 15.62 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001566/0.1238, allocations: 0.8798 MB / 0.5281 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1238, allocations: 8.031 kB / 0.5281 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004073/0.1242, allocations: 96.56 kB / 0.5282 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.1248, allocations: 378.5 kB / 0.5285 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.1249, allocations: 33.38 kB / 0.5286 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.125, allocations: 44.38 kB / 0.5286 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.1258, allocations: 458.7 kB / 0.529 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1258, allocations: 0 / 0.529 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.1259, allocations: 23.98 kB / 0.5291 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1259, allocations: 12 kB / 0.5291 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/0.1268, allocations: 0.5153 MB / 0.5296 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.1294, allocations: 1.534 MB / 0.5311 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008193/0.1302, allocations: 338.6 kB / 0.5314 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1304, allocations: 108.8 kB / 0.5315 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002438/0.1329, allocations: 1.569 MB / 0.533 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1329, allocations: 38.56 kB / 0.5331 GB, free: 9.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1329, allocations: 0 / 0.5331 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01485/0.1477, allocations: 2.328 MB / 0.5353 GB, free: 6.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1478, allocations: 55.41 kB / 0.5354 GB, free: 6.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.1482, allocations: 300.5 kB / 0.5357 GB, free: 6.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.1482, allocations: 37.64 kB / 0.5357 GB, free: 6.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1484, allocations: 280.1 kB / 0.536 GB, free: 6.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1486, allocations: 107.1 kB / 0.5361 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1487, allocations: 86.02 kB / 0.5362 GB, free: 5.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1489, allocations: 350.7 kB / 0.5365 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1492, allocations: 136.8 kB / 0.5366 GB, free: 5.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.1495, allocations: 260 kB / 0.5369 GB, free: 5.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.1502, allocations: 428.8 kB / 0.5373 GB, free: 4.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1502, allocations: 4 kB / 0.5373 GB, free: 4.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004115/0.1544, allocations: 0.808 MB / 0.5381 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1544, allocations: 11.94 kB / 0.5381 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1544, allocations: 4 kB / 0.5381 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003528/0.1579, allocations: 421.7 kB / 0.5385 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.1582, allocations: 75.91 kB / 0.5386 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/0.1652, allocations: 3.985 MB / 0.5425 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.1656, allocations: 16.03 kB / 0.5425 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.1656, allocations: 20 kB / 0.5425 GB, free: 15.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.1659, allocations: 165.7 kB / 0.5427 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.166, allocations: 39.7 kB / 0.5427 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005041/0.171, allocations: 0.8353 MB / 0.5435 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.171, allocations: 4.141 kB / 0.5435 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.171, allocations: 11.92 kB / 0.5435 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1711, allocations: 0 / 0.5435 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009131/0.172, allocations: 0.6232 MB / 0.5441 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.172, allocations: 8.188 kB / 0.5441 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.1722, allocations: 55.91 kB / 0.5442 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00458/0.1768, allocations: 486 kB / 0.5447 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.1768, allocations: 15.94 kB / 0.5447 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008161/0.185, allocations: 5.307 MB / 0.5499 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.185, allocations: 0 / 0.5499 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.1903, allocations: 1.12 MB / 0.5509 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1904, allocations: 112.9 kB / 0.5511 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.1905, allocations: 12.06 kB / 0.5511 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.1908, allocations: 12 kB / 0.5511 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1909, allocations: 47.81 kB / 0.5511 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.191, allocations: 12 kB / 0.5511 GB, free: 5.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.1912, allocations: 207.1 kB / 0.5513 GB, free: 5.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1912, allocations: 0 / 0.5513 GB, free: 5.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008727/0.1921, allocations: 243.5 kB / 0.5516 GB, free: 5.109 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * 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): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005444/0.1926, allocations: 290.7 kB / 0.5518 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.1941, allocations: 0.67 MB / 0.5525 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1941, allocations: 3.938 kB / 0.5525 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.1951, allocations: 0.6017 MB / 0.5531 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.1958, allocations: 104 kB / 0.5532 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1977, allocations: 1.072 MB / 0.5542 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.1982, allocations: 0.8236 MB / 0.555 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.1984, allocations: 67.55 kB / 0.5551 GB, free: 1.328 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1984, allocations: 0 / 0.5551 GB, free: 1.328 MB / 414.1 MB Notification: Performance of Templates: time 0.01696/0.2153, allocations: 12.23 MB / 0.567 GB, free: 5.137 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.64591072499752] Failed to read output from testmodel.py, exit status != 0: 0.2232935939973686 0.23715708599999996 0.11189080200000001 Calling exit ...