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.001605/0.001605, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001541/0.001541, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1427/0.1427, allocations: 23.91 MB / 337.1 MB, free: 10.94 MB / 270.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.002068/0.002068, allocations: 67.89 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4216, allocations: 59.88 MB / 0.5198 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004533/0.4262, allocations: 3.216 MB / 0.523 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.4316, allocations: 4.246 MB / 0.5271 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.432, allocations: 8.781 kB / 0.5271 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.4324, allocations: 102.2 kB / 0.5272 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.4336, allocations: 446.8 kB / 0.5276 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.4351, allocations: 0.5357 MB / 0.5282 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.4358, allocations: 0.5818 MB / 0.5287 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.4363, allocations: 307.1 kB / 0.529 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.4366, allocations: 292.2 kB / 0.5293 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.4371, allocations: 309.9 kB / 0.5296 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4372, allocations: 52.81 kB / 0.5296 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4385, allocations: 461.2 kB / 0.5301 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.4386, allocations: 111.4 kB / 0.5302 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.4389, allocations: 249.6 kB / 0.5304 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.4407, allocations: 1.077 MB / 0.5315 GB, free: 2.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4407, allocations: 0.9062 kB / 0.5315 GB, free: 2.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4407, allocations: 0 / 0.5315 GB, free: 2.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.4407, allocations: 0 / 0.5315 GB, free: 2.555 MB / 382.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.001531/0.4422, allocations: 0.7994 MB / 0.5323 GB, free: 2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4423, allocations: 10.09 kB / 0.5323 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.4427, allocations: 94.5 kB / 0.5324 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.4433, allocations: 306.2 kB / 0.5327 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.4433, allocations: 36.25 kB / 0.5327 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.4434, allocations: 46.84 kB / 0.5327 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.4443, allocations: 453.9 kB / 0.5332 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.4443, allocations: 1.188 kB / 0.5332 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.4443, allocations: 19.25 kB / 0.5332 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.4443, allocations: 15.61 kB / 0.5332 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.4451, allocations: 0.5031 MB / 0.5337 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.4473, allocations: 1.144 MB / 0.5348 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.4481, allocations: 334.5 kB / 0.5351 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4482, allocations: 116 kB / 0.5352 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.4502, allocations: 0.8625 MB / 0.5361 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.4502, allocations: 41.25 kB / 0.5361 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.4502, allocations: 0 / 0.5361 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01742/0.4676, allocations: 2.116 MB / 0.5382 GB, free: 15.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.4677, allocations: 60.41 kB / 0.5382 GB, free: 15.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.4682, allocations: 275.3 kB / 0.5385 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.4683, allocations: 30.61 kB / 0.5385 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.4686, allocations: 284.9 kB / 0.5388 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.4687, allocations: 114.7 kB / 0.5389 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.4689, allocations: 83.78 kB / 0.539 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4691, allocations: 344.7 kB / 0.5393 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.4694, allocations: 136.6 kB / 0.5395 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.4698, allocations: 264.7 kB / 0.5397 GB, free: 14.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.4705, allocations: 423.7 kB / 0.5401 GB, free: 13.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4705, allocations: 1.375 kB / 0.5401 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004867/0.4754, allocations: 0.812 MB / 0.5409 GB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4754, allocations: 10 kB / 0.5409 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4754, allocations: 9.375 kB / 0.5409 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/0.4796, allocations: 412.6 kB / 0.5413 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.4799, allocations: 81.92 kB / 0.5414 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/0.4874, allocations: 3.689 MB / 0.545 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.4879, allocations: 17.77 kB / 0.545 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.4879, allocations: 18.66 kB / 0.545 GB, free: 10.31 MB / 398.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.0003175/0.4882, allocations: 168.4 kB / 0.5452 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.4883, allocations: 31.95 kB / 0.5452 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.494, allocations: 0.8291 MB / 0.546 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.494, allocations: 3.391 kB / 0.546 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.494, allocations: 2.125 kB / 0.546 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.4941, allocations: 10.27 kB / 0.5461 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.495, allocations: 497.9 kB / 0.5465 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.495, allocations: 2.375 kB / 0.5465 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4952, allocations: 58.36 kB / 0.5466 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005417/0.5007, allocations: 489.8 kB / 0.5471 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.5007, allocations: 14.86 kB / 0.5471 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008512/0.5092, allocations: 4.881 MB / 0.5518 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5092, allocations: 6 kB / 0.5518 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006098/0.5153, allocations: 1.106 MB / 0.5529 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.5155, allocations: 33.84 kB / 0.553 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.5156, allocations: 16.53 kB / 0.553 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.5159, allocations: 13.06 kB / 0.553 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5161, allocations: 45.02 kB / 0.553 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.5161, allocations: 20.36 kB / 0.553 GB, free: 4.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.5164, allocations: 181.6 kB / 0.5532 GB, free: 3.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5164, allocations: 0 / 0.5532 GB, free: 3.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001143/0.5175, allocations: 239.5 kB / 0.5534 GB, free: 3.84 MB / 398.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.0006308/0.5181, allocations: 295 kB / 0.5537 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.5199, allocations: 0.6655 MB / 0.5544 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5199, allocations: 1.594 kB / 0.5544 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.5211, allocations: 0.6022 MB / 0.555 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.5218, allocations: 108.2 kB / 0.5551 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.5239, allocations: 1.038 MB / 0.5561 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.5242, allocations: 223.3 kB / 0.5563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.5245, allocations: 69.48 kB / 0.5564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.5246, allocations: 65.89 kB / 0.5564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5246, allocations: 0 / 0.5564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Templates: time 0.02288/0.5475, allocations: 12.43 MB / 0.5686 GB, free: 6.746 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.494549254988669] Failed to read output from testmodel.py, exit status != 0: 0.5567550489940913 0.571732495 0.127781481 Calling exit ...