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.001205/0.001205, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001595/0.001595, allocations: 169 kB / 23.49 MB, free: 1.062 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.1133/0.1133, allocations: 17.46 MB / 277.7 MB, free: 11.62 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 3.076e-06/3.076e-06, allocations: 0 / 353.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.971e-05, allocations: 10.19 kB / 353.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003699/0.003728, allocations: 3.483 MB / 357 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.007832, allocations: 4.767 MB / 361.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.007994, allocations: 11.94 kB / 361.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.008369, allocations: 103 kB / 361.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007176/0.009087, allocations: 460.5 kB / 362.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.009755, allocations: 0.5592 MB / 362.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.01022, allocations: 0.6036 MB / 363.5 MB, free: 152 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.01052, allocations: 309 kB / 363.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.01081, allocations: 415.2 kB / 364.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.01108, allocations: 255.4 kB / 364.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.01113, allocations: 52 kB / 364.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.01163, allocations: 455.2 kB / 365 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.01172, allocations: 119.6 kB / 365.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.01186, allocations: 203.5 kB / 365.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.0127, allocations: 0.9221 MB / 366.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01271, allocations: 4 kB / 366.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01271, allocations: 0 / 366.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01271, allocations: 0 / 366.2 MB, free: 13.45 MB / 298.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.0008762/0.01359, allocations: 0.9002 MB / 367.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.01362, allocations: 8.031 kB / 367.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.01393, allocations: 156 kB / 367.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.01426, allocations: 315.2 kB / 367.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01429, allocations: 41.38 kB / 367.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.01434, allocations: 48.33 kB / 367.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.01475, allocations: 351 kB / 368 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01476, allocations: 192 / 368 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.01479, allocations: 20.38 kB / 368 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.0148, allocations: 15.94 kB / 368.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.01523, allocations: 345.7 kB / 368.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.01657, allocations: 1.166 MB / 369.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.01703, allocations: 335.1 kB / 369.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.01714, allocations: 79.66 kB / 370 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.01821, allocations: 0.9444 MB / 370.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.01823, allocations: 37.39 kB / 370.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.01823, allocations: 0 / 370.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006544/0.02477, allocations: 1.987 MB / 372.9 MB, free: 6.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.02481, allocations: 55.41 kB / 373 MB, free: 6.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.02509, allocations: 326.2 kB / 373.3 MB, free: 6.113 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.02511, allocations: 29.7 kB / 373.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.02527, allocations: 330.8 kB / 373.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.02535, allocations: 111 kB / 373.8 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.02546, allocations: 91.8 kB / 373.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.0256, allocations: 0.5118 MB / 374.4 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.02575, allocations: 105.7 kB / 374.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.02596, allocations: 279.5 kB / 374.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.02634, allocations: 399.7 kB / 375.1 MB, free: 4.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02634, allocations: 4 kB / 375.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001857/0.0282, allocations: 0.7236 MB / 375.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.02822, allocations: 11.34 kB / 375.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02823, allocations: 4 kB / 375.9 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/0.03077, allocations: 0.6276 MB / 376.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.03091, allocations: 75.89 kB / 376.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.03463, allocations: 4.147 MB / 380.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.03479, allocations: 15.94 kB / 380.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.03482, allocations: 24 kB / 380.8 MB, free: 14.2 MB / 314.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.0001388/0.03496, allocations: 180.5 kB / 380.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.03502, allocations: 51.69 kB / 381 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.03722, allocations: 0.7412 MB / 381.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.03722, allocations: 4 kB / 381.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.03723, allocations: 7.938 kB / 381.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.03723, allocations: 0 / 381.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.03766, allocations: 496.4 kB / 382.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.03767, allocations: 7.984 kB / 382.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.03777, allocations: 51.92 kB / 382.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00317/0.04094, allocations: 0.7601 MB / 383 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.04096, allocations: 16 kB / 383.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/0.04497, allocations: 5.831 MB / 388.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.04497, allocations: 4 kB / 388.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.04731, allocations: 1.029 MB / 389.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.04736, allocations: 31.75 kB / 390 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.04739, allocations: 12 kB / 390 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.04752, allocations: 12 kB / 390 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.0476, allocations: 51.83 kB / 390 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.04763, allocations: 19.98 kB / 390 MB, free: 4.344 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.04775, allocations: 211 kB / 390.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04775, allocations: 0 / 390.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006117/0.04836, allocations: 239.5 kB / 390.5 MB, free: 3.902 MB / 314.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.0004093/0.04877, allocations: 294.5 kB / 390.8 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008363/0.04961, allocations: 0.7237 MB / 391.5 MB, free: 2.844 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.04961, allocations: 4 kB / 391.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.05014, allocations: 0.755 MB / 392.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.05056, allocations: 114.5 kB / 392.4 MB, free: 1.918 MB / 314.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.05218, allocations: 0.9677 MB / 393.3 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.127e-05/0.05226, allocations: 113.8 kB / 393.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.05241, allocations: 75.2 kB / 393.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.05249, allocations: 60.53 kB / 393.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05249, allocations: 0 / 393.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of Templates: time 0.01301/0.0655, allocations: 12.11 MB / 405.7 MB, free: 4.605 MB / 330.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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5782597751822323]