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.001042/0.001042, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001132/0.001132, allocations: 177 kB / 23.36 MB, free: 1.129 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.09197/0.09197, allocations: 17.47 MB / 277.7 MB, free: 11.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 300.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.988e-05, allocations: 2.312 kB / 300.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004008/0.004028, allocations: 3.513 MB / 304.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005114/0.009142, allocations: 4.753 MB / 309 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.009522, allocations: 11.94 kB / 309 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.009908, allocations: 111.1 kB / 309.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.01097, allocations: 460.5 kB / 309.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.01217, allocations: 0.5436 MB / 310.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006765/0.01285, allocations: 0.5997 MB / 310.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.01322, allocations: 330.8 kB / 311.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.01361, allocations: 411.2 kB / 311.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.01394, allocations: 251.4 kB / 311.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.014, allocations: 52 kB / 311.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009329/0.01493, allocations: 471.1 kB / 312.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.01504, allocations: 119.6 kB / 312.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.01519, allocations: 211.5 kB / 312.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.01639, allocations: 0.9144 MB / 313.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01639, allocations: 0 / 313.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01639, allocations: 0 / 313.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.0164, allocations: 0 / 313.5 MB, free: 7.344 MB / 282.7 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.0009978/0.0174, allocations: 0.7793 MB / 314.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01743, allocations: 12.03 kB / 314.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.01776, allocations: 144.3 kB / 314.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.01812, allocations: 260.5 kB / 314.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.01815, allocations: 37.38 kB / 314.7 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.0182, allocations: 44.38 kB / 314.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.01852, allocations: 322.9 kB / 315 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01853, allocations: 192 / 315 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.01856, allocations: 24.38 kB / 315.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01857, allocations: 15.94 kB / 315.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.01886, allocations: 262.8 kB / 315.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.02014, allocations: 0.94 MB / 316.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.02054, allocations: 287.2 kB / 316.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.02061, allocations: 56.84 kB / 316.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.02169, allocations: 0.7867 MB / 317.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.02172, allocations: 38.53 kB / 317.4 MB, free: 3.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.02172, allocations: 0 / 317.4 MB, free: 3.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.006272/0.02799, allocations: 1.905 MB / 319.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.02803, allocations: 55.41 kB / 319.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.0282, allocations: 258.9 kB / 319.6 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.02822, allocations: 33.7 kB / 319.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.02832, allocations: 264.5 kB / 319.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.02839, allocations: 111 kB / 320 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.02849, allocations: 86.14 kB / 320.1 MB, free: 472 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.02858, allocations: 346.8 kB / 320.5 MB, free: 116 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.02866, allocations: 73.67 kB / 320.5 MB, free: 40 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.0288, allocations: 192.6 kB / 320.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.02906, allocations: 300.7 kB / 321 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.02907, allocations: 0 / 321 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001594/0.03066, allocations: 0.5936 MB / 321.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.03068, allocations: 8 kB / 321.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.03069, allocations: 7.984 kB / 321.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.03297, allocations: 0.6065 MB / 322.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.03313, allocations: 79.84 kB / 322.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.03611, allocations: 2.941 MB / 325.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.03627, allocations: 19.95 kB / 325.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.03631, allocations: 23.98 kB / 325.3 MB, free: 10.98 MB / 298.7 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.0001344/0.03644, allocations: 136.5 kB / 325.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.0365, allocations: 31.91 kB / 325.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.03837, allocations: 0.6218 MB / 326.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03837, allocations: 4 kB / 326.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.03838, allocations: 3.938 kB / 326.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.03838, allocations: 3.984 kB / 326.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.03878, allocations: 411.6 kB / 326.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.03878, allocations: 0 / 326.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.03889, allocations: 55.91 kB / 326.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.04175, allocations: 0.7441 MB / 327.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.04177, allocations: 12 kB / 327.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.04491, allocations: 4.048 MB / 331.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.04491, allocations: 4 kB / 331.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.04688, allocations: 0.8228 MB / 332.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.04693, allocations: 35.75 kB / 332.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.04696, allocations: 8 kB / 332.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.04708, allocations: 12 kB / 332.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.04718, allocations: 47.8 kB / 332.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.0472, allocations: 15.98 kB / 332.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.04727, allocations: 92.62 kB / 332.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04727, allocations: 0 / 332.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005993/0.04787, allocations: 239.5 kB / 332.6 MB, free: 3.238 MB / 298.7 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.0003913/0.04826, allocations: 293.6 kB / 332.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.04889, allocations: 0.5389 MB / 333.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.0489, allocations: 4 kB / 333.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.04934, allocations: 0.5628 MB / 334 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.0497, allocations: 117.7 kB / 334.1 MB, free: 1.664 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.05119, allocations: 0.9522 MB / 335.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.969e-05/0.05128, allocations: 113.8 kB / 335.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.05146, allocations: 69.64 kB / 335.3 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.05166, allocations: 157.2 kB / 335.4 MB, free: 312 kB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05166, allocations: 0 / 335.4 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.0154/0.06706, allocations: 13.18 MB / 348.6 MB, free: 3.223 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.213597687892616]