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.001743/0.001743, allocations: 105.2 kB / 16.45 MB, free: 6.512 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.001899/0.001899, allocations: 205.7 kB / 19.42 MB, free: 3.645 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.576/1.576, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.1458/0.1458, allocations: 23.89 MB / 332.7 MB, free: 12.31 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.00347/0.00347, allocations: 63.89 kB / 466.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4758, allocations: 59.84 MB / 0.514 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004287/0.4801, allocations: 3.489 MB / 0.5174 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.4853, allocations: 4.788 MB / 0.5221 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.4857, allocations: 13 kB / 0.5221 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.4862, allocations: 105.7 kB / 0.5222 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.4873, allocations: 452.4 kB / 0.5226 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4885, allocations: 0.5352 MB / 0.5232 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006925/0.4892, allocations: 0.581 MB / 0.5237 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.4896, allocations: 306.3 kB / 0.524 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.4899, allocations: 287.7 kB / 0.5243 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.4903, allocations: 313.8 kB / 0.5246 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.41e-05/0.4904, allocations: 52.41 kB / 0.5247 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4916, allocations: 473.7 kB / 0.5251 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4918, allocations: 120.1 kB / 0.5252 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.492, allocations: 288.8 kB / 0.5255 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.4936, allocations: 1.077 MB / 0.5265 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4936, allocations: 1.094 kB / 0.5265 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4936, allocations: 0 / 0.5265 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4937, allocations: 0 / 0.5265 GB, free: 1.125 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.001493/0.4951, allocations: 0.8783 MB / 0.5274 GB, free: 484 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4952, allocations: 9.438 kB / 0.5274 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.4956, allocations: 89.31 kB / 0.5275 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.4961, allocations: 373.9 kB / 0.5279 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.4962, allocations: 32.78 kB / 0.5279 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.4963, allocations: 47.69 kB / 0.5279 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/0.4971, allocations: 460.8 kB / 0.5284 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4971, allocations: 1.125 kB / 0.5284 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.4972, allocations: 15.75 kB / 0.5284 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4972, allocations: 11.22 kB / 0.5284 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.4981, allocations: 0.5089 MB / 0.5289 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.501, allocations: 1.549 MB / 0.5304 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.5018, allocations: 335.3 kB / 0.5307 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.502, allocations: 106.9 kB / 0.5308 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002493/0.5045, allocations: 1.575 MB / 0.5324 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.5045, allocations: 32 kB / 0.5324 GB, free: 13.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.5045, allocations: 0 / 0.5324 GB, free: 13.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01461/0.5191, allocations: 2.34 MB / 0.5347 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5192, allocations: 58.45 kB / 0.5347 GB, free: 12.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.5196, allocations: 292.6 kB / 0.535 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.5196, allocations: 32.02 kB / 0.535 GB, free: 11.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5198, allocations: 278.2 kB / 0.5353 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.52, allocations: 118.7 kB / 0.5354 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.5201, allocations: 84.16 kB / 0.5355 GB, free: 11.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5203, allocations: 349.5 kB / 0.5358 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.5205, allocations: 132.6 kB / 0.536 GB, free: 11.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.5209, allocations: 260.2 kB / 0.5362 GB, free: 11.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.5215, allocations: 426.5 kB / 0.5366 GB, free: 10.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.5216, allocations: 5.188 kB / 0.5366 GB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004103/0.5257, allocations: 0.82 MB / 0.5374 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5257, allocations: 10.3 kB / 0.5374 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5257, allocations: 4.406 kB / 0.5374 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/0.5292, allocations: 404.8 kB / 0.5378 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.5295, allocations: 82.09 kB / 0.5379 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/0.5366, allocations: 3.976 MB / 0.5418 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.5371, allocations: 13.95 kB / 0.5418 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.5371, allocations: 26.22 kB / 0.5418 GB, free: 6.953 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.0002836/0.5374, allocations: 167.9 kB / 0.542 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.5375, allocations: 40.23 kB / 0.542 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.5425, allocations: 0.8351 MB / 0.5428 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5425, allocations: 3.812 kB / 0.5428 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5425, allocations: 1.531 kB / 0.5428 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5425, allocations: 2.203 kB / 0.5428 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.5435, allocations: 0.6291 MB / 0.5435 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5435, allocations: 2.344 kB / 0.5435 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.5437, allocations: 53.61 kB / 0.5435 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00454/0.5483, allocations: 486.3 kB / 0.544 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.5483, allocations: 21.45 kB / 0.544 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008085/0.5564, allocations: 5.309 MB / 0.5492 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.5564, allocations: 6.156 kB / 0.5492 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.5617, allocations: 1.117 MB / 0.5503 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.5619, allocations: 116.3 kB / 0.5504 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.562, allocations: 8.531 kB / 0.5504 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.5623, allocations: 9.031 kB / 0.5504 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5624, allocations: 54.66 kB / 0.5505 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.5625, allocations: 12.09 kB / 0.5505 GB, free: 12 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.5628, allocations: 207 kB / 0.5507 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5628, allocations: 0 / 0.5507 GB, free: 15.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001025/0.5638, allocations: 239.7 kB / 0.5509 GB, free: 15.82 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.0005803/0.5644, allocations: 286.9 kB / 0.5512 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.5658, allocations: 0.6652 MB / 0.5518 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5658, allocations: 0 / 0.5518 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5669, allocations: 0.6119 MB / 0.5524 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.5676, allocations: 108.9 kB / 0.5525 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.5695, allocations: 1.029 MB / 0.5535 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.57, allocations: 0.8298 MB / 0.5543 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.5703, allocations: 66.17 kB / 0.5544 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5704, allocations: 57.89 kB / 0.5545 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5704, allocations: 1.406 kB / 0.5545 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Templates: time 0.02121/0.5916, allocations: 11.54 MB / 0.5657 GB, free: 4.512 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.835473555140197] Failed to read output from testmodel.py, exit status != 0: 0.6029640790075064 0.6141380639999999 0.11749353600000001 Calling exit ...