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.001366/0.001366, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001843/0.001843, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1538/0.1538, allocations: 23.89 MB / 337.1 MB, free: 11.28 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.002612/0.002612, allocations: 68.19 kB / 472.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4092, allocations: 59.87 MB / 0.5199 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005057/0.4143, allocations: 3.504 MB / 0.5233 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006209/0.4205, allocations: 4.795 MB / 0.528 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.421, allocations: 12.69 kB / 0.528 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.4214, allocations: 105.6 kB / 0.5281 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4227, allocations: 459.8 kB / 0.5285 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.4242, allocations: 0.5303 MB / 0.529 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.425, allocations: 0.586 MB / 0.5296 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.4255, allocations: 313.2 kB / 0.5299 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.4258, allocations: 293 kB / 0.5302 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.4263, allocations: 305.2 kB / 0.5305 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.4264, allocations: 51.84 kB / 0.5305 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.4279, allocations: 474.9 kB / 0.531 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.428, allocations: 128.1 kB / 0.5311 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.4283, allocations: 276.7 kB / 0.5314 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.4301, allocations: 1.081 MB / 0.5324 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4301, allocations: 0 / 0.5324 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4301, allocations: 0.5 kB / 0.5324 GB, free: 1.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4301, allocations: 0 / 0.5324 GB, free: 1.66 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.001513/0.4316, allocations: 0.8071 MB / 0.5332 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4316, allocations: 13.19 kB / 0.5332 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.4321, allocations: 90.83 kB / 0.5333 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.4327, allocations: 301.6 kB / 0.5336 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.4327, allocations: 40.61 kB / 0.5336 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.4328, allocations: 46.84 kB / 0.5337 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.4336, allocations: 458.8 kB / 0.5341 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4336, allocations: 4 kB / 0.5341 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.4336, allocations: 19.59 kB / 0.5341 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.4337, allocations: 11.97 kB / 0.5342 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.4344, allocations: 0.5096 MB / 0.5347 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.437, allocations: 1.502 MB / 0.5361 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008233/0.4378, allocations: 346.9 kB / 0.5365 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.438, allocations: 106.2 kB / 0.5366 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.4402, allocations: 0.9207 MB / 0.5375 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.4402, allocations: 32.72 kB / 0.5375 GB, free: 14.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.4402, allocations: 0 / 0.5375 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01542/0.4557, allocations: 2.12 MB / 0.5396 GB, free: 14.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.4557, allocations: 55.53 kB / 0.5396 GB, free: 13.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.4562, allocations: 296.3 kB / 0.5399 GB, free: 13.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.4562, allocations: 34.95 kB / 0.5399 GB, free: 13.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.4565, allocations: 270.4 kB / 0.5402 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.4566, allocations: 115.2 kB / 0.5403 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.4568, allocations: 87.7 kB / 0.5404 GB, free: 13.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.457, allocations: 346 kB / 0.5407 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.4572, allocations: 136 kB / 0.5408 GB, free: 13.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.4576, allocations: 260.9 kB / 0.5411 GB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.4583, allocations: 433 kB / 0.5415 GB, free: 12.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4583, allocations: 1.094 kB / 0.5415 GB, free: 12.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004309/0.4626, allocations: 0.8118 MB / 0.5423 GB, free: 12.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.4626, allocations: 11.19 kB / 0.5423 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4627, allocations: 5.094 kB / 0.5423 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/0.4663, allocations: 416.1 kB / 0.5427 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.4666, allocations: 78.38 kB / 0.5428 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.4739, allocations: 3.777 MB / 0.5465 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.4744, allocations: 16.73 kB / 0.5465 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.4745, allocations: 28.69 kB / 0.5465 GB, free: 8.988 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.0003236/0.4748, allocations: 171.9 kB / 0.5467 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.4749, allocations: 39.39 kB / 0.5467 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.4802, allocations: 0.8272 MB / 0.5475 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4802, allocations: 3.5 kB / 0.5475 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4802, allocations: 1.219 kB / 0.5475 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4802, allocations: 5.109 kB / 0.5475 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4812, allocations: 0.6057 MB / 0.5481 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4812, allocations: 1.594 kB / 0.5481 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.4814, allocations: 47.95 kB / 0.5482 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004704/0.4861, allocations: 488.5 kB / 0.5486 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.4862, allocations: 14.88 kB / 0.5486 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008012/0.4942, allocations: 4.987 MB / 0.5535 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4942, allocations: 2.656 kB / 0.5535 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005523/0.4997, allocations: 1.126 MB / 0.5546 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.4999, allocations: 34.8 kB / 0.5546 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.5, allocations: 8.219 kB / 0.5547 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.5003, allocations: 13.17 kB / 0.5547 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.5005, allocations: 50.45 kB / 0.5547 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.5005, allocations: 13.53 kB / 0.5547 GB, free: 2.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.5008, allocations: 209.6 kB / 0.5549 GB, free: 2.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5008, allocations: 0 / 0.5549 GB, free: 2.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001088/0.5019, allocations: 241 kB / 0.5552 GB, free: 2.098 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.0006072/0.5025, allocations: 292.5 kB / 0.5554 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.504, allocations: 0.6725 MB / 0.5561 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.504, allocations: 1.688 kB / 0.5561 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009954/0.505, allocations: 0.5993 MB / 0.5567 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.5057, allocations: 100.2 kB / 0.5568 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.5077, allocations: 1.079 MB / 0.5578 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.5083, allocations: 0.8251 MB / 0.5586 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.5085, allocations: 70.86 kB / 0.5587 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5085, allocations: 0 / 0.5587 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Templates: time 0.01842/0.5269, allocations: 12.23 MB / 0.5706 GB, free: 4.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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.222097538993694] Failed to read output from testmodel.py, exit status != 0: 0.5381954479962587 0.552220826 0.1188599 Calling exit ...