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.001359/0.001359, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001488/0.001488, allocations: 216 kB / 22.25 MB, free: 5.105 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.809 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.1753/0.1753, allocations: 23.92 MB / 336.3 MB, free: 10.93 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.00211/0.00211, allocations: 67.89 kB / 471.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4215, allocations: 59.87 MB / 0.5191 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005663/0.4272, allocations: 3.209 MB / 0.5222 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006343/0.4335, allocations: 4.25 MB / 0.5264 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006326/0.4341, allocations: 12.56 kB / 0.5264 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.4347, allocations: 101.8 kB / 0.5265 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.4365, allocations: 445.6 kB / 0.5269 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.4384, allocations: 0.5329 MB / 0.5274 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.4394, allocations: 0.5885 MB / 0.528 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.44, allocations: 299.4 kB / 0.5283 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005989/0.4406, allocations: 293.3 kB / 0.5286 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.4413, allocations: 304.2 kB / 0.5289 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.4415, allocations: 53.53 kB / 0.5289 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.4431, allocations: 469.4 kB / 0.5293 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.4433, allocations: 119.9 kB / 0.5295 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.4438, allocations: 236.9 kB / 0.5297 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.4465, allocations: 1.078 MB / 0.5307 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4465, allocations: 0 / 0.5307 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4465, allocations: 1.125 kB / 0.5307 GB, free: 2.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.322e-05/0.4466, allocations: 0 / 0.5307 GB, free: 2.641 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.002239/0.4488, allocations: 0.7992 MB / 0.5315 GB, free: 2.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4489, allocations: 8.75 kB / 0.5315 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/0.4494, allocations: 94.78 kB / 0.5316 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.4501, allocations: 313.6 kB / 0.5319 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.4502, allocations: 33.66 kB / 0.532 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/0.4503, allocations: 47.12 kB / 0.532 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.4511, allocations: 458.4 kB / 0.5324 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.4511, allocations: 0 / 0.5324 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.4512, allocations: 15.5 kB / 0.5325 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4512, allocations: 11.38 kB / 0.5325 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/0.4521, allocations: 0.5082 MB / 0.533 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.4546, allocations: 1.134 MB / 0.5341 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.4554, allocations: 357.2 kB / 0.5344 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.4555, allocations: 102.6 kB / 0.5345 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/0.4576, allocations: 0.8702 MB / 0.5354 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4576, allocations: 39.88 kB / 0.5354 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.4576, allocations: 1.375 kB / 0.5354 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01707/0.4747, allocations: 2.108 MB / 0.5375 GB, free: 15.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.4748, allocations: 56.39 kB / 0.5375 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.4752, allocations: 275.1 kB / 0.5378 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/0.4753, allocations: 31.14 kB / 0.5378 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.4755, allocations: 284.5 kB / 0.5381 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.4757, allocations: 118.2 kB / 0.5382 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.4758, allocations: 88.64 kB / 0.5383 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.476, allocations: 345.2 kB / 0.5386 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.4763, allocations: 131.4 kB / 0.5387 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.4767, allocations: 264.6 kB / 0.539 GB, free: 14.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.4774, allocations: 424.7 kB / 0.5394 GB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4774, allocations: 1.281 kB / 0.5394 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00486/0.4822, allocations: 0.8194 MB / 0.5402 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4823, allocations: 7.875 kB / 0.5402 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4823, allocations: 7.719 kB / 0.5402 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/0.4864, allocations: 408 kB / 0.5406 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.4867, allocations: 78.75 kB / 0.5407 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/0.494, allocations: 3.701 MB / 0.5443 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.4945, allocations: 17.7 kB / 0.5443 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.4946, allocations: 22.73 kB / 0.5443 GB, free: 10.38 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.0003469/0.4949, allocations: 160.3 kB / 0.5445 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.4951, allocations: 36.5 kB / 0.5445 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005711/0.5008, allocations: 0.8245 MB / 0.5453 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5008, allocations: 3.469 kB / 0.5453 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5008, allocations: 10.75 kB / 0.5453 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.5008, allocations: 5.25 kB / 0.5453 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.5018, allocations: 490.5 kB / 0.5458 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5018, allocations: 2.781 kB / 0.5458 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.502, allocations: 50.08 kB / 0.5458 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/0.5076, allocations: 498 kB / 0.5463 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.5077, allocations: 19.64 kB / 0.5463 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008473/0.5162, allocations: 4.88 MB / 0.5511 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.5162, allocations: 2.094 kB / 0.5511 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/0.5222, allocations: 1.11 MB / 0.5522 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.5224, allocations: 34.38 kB / 0.5522 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.5225, allocations: 13.19 kB / 0.5522 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.5229, allocations: 8.375 kB / 0.5522 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.5231, allocations: 48.17 kB / 0.5523 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.5231, allocations: 16.81 kB / 0.5523 GB, free: 4.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002989/0.5234, allocations: 184.8 kB / 0.5525 GB, free: 3.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5234, allocations: 0 / 0.5525 GB, free: 3.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001292/0.5247, allocations: 245 kB / 0.5527 GB, free: 3.926 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.0008458/0.5256, allocations: 284.8 kB / 0.553 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.5273, allocations: 0.6661 MB / 0.5536 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5273, allocations: 0 / 0.5536 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.5284, allocations: 0.6068 MB / 0.5542 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.5292, allocations: 116.1 kB / 0.5543 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.5315, allocations: 1.037 MB / 0.5553 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5318, allocations: 228.1 kB / 0.5556 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.5321, allocations: 69.41 kB / 0.5556 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.5322, allocations: 56.52 kB / 0.5557 GB, free: 1.832 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5322, allocations: 0 / 0.5557 GB, free: 1.832 MB / 398.1 MB Notification: Performance of Templates: time 0.02383/0.5561, allocations: 12.42 MB / 0.5678 GB, free: 6.75 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.784452986903489] Failed to read output from testmodel.py, exit status != 0: 0.5667885509319603 0.5826149780000001 0.132698756 Calling exit ...