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.001278/0.001278, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001484/0.001484, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 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.1593/0.1593, allocations: 24 MB / 337.2 MB, free: 10.86 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.002138/0.002138, allocations: 63.91 kB / 472.5 MB, free: 6.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3304, allocations: 59.89 MB / 0.5199 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005109/0.3355, allocations: 3.215 MB / 0.5231 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.3427, allocations: 4.249 MB / 0.5272 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/0.3435, allocations: 8.25 kB / 0.5272 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.3441, allocations: 98.56 kB / 0.5273 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.3455, allocations: 451.8 kB / 0.5278 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.3472, allocations: 0.5345 MB / 0.5283 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008501/0.3481, allocations: 0.5818 MB / 0.5288 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.3485, allocations: 302.8 kB / 0.5291 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.3489, allocations: 289 kB / 0.5294 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.3493, allocations: 275.8 kB / 0.5297 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.3494, allocations: 52.88 kB / 0.5297 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3507, allocations: 446.4 kB / 0.5302 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3509, allocations: 115.3 kB / 0.5303 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3511, allocations: 244.7 kB / 0.5305 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.353, allocations: 1.079 MB / 0.5315 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.353, allocations: 0 / 0.5315 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.353, allocations: 3.938 kB / 0.5316 GB, free: 2.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.353, allocations: 0.9062 kB / 0.5316 GB, free: 2.672 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.001449/0.3545, allocations: 0.7996 MB / 0.5323 GB, free: 2.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3545, allocations: 9.781 kB / 0.5323 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.3549, allocations: 92.91 kB / 0.5324 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.3555, allocations: 311 kB / 0.5327 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3556, allocations: 36.03 kB / 0.5328 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.3556, allocations: 48.56 kB / 0.5328 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.3564, allocations: 452 kB / 0.5332 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3564, allocations: 1.25 kB / 0.5332 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.3565, allocations: 20.97 kB / 0.5333 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3565, allocations: 11.19 kB / 0.5333 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.3573, allocations: 0.5033 MB / 0.5338 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.3594, allocations: 1.141 MB / 0.5349 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.3602, allocations: 340.6 kB / 0.5352 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3603, allocations: 111.2 kB / 0.5353 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.3622, allocations: 0.8628 MB / 0.5362 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.3623, allocations: 39.88 kB / 0.5362 GB, free: 116 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.3623, allocations: 4 kB / 0.5362 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01406/0.3763, allocations: 2.12 MB / 0.5383 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3764, allocations: 59.53 kB / 0.5383 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.3768, allocations: 275.7 kB / 0.5386 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.3768, allocations: 31.08 kB / 0.5386 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.3771, allocations: 284.8 kB / 0.5389 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3772, allocations: 115.4 kB / 0.539 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3773, allocations: 83.73 kB / 0.5391 GB, free: 14.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3775, allocations: 348.1 kB / 0.5394 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3778, allocations: 133.3 kB / 0.5395 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3782, allocations: 262.9 kB / 0.5398 GB, free: 14.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.3788, allocations: 429.1 kB / 0.5402 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3788, allocations: 1.344 kB / 0.5402 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004028/0.3829, allocations: 0.8193 MB / 0.541 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3829, allocations: 6.75 kB / 0.541 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3829, allocations: 8.844 kB / 0.541 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/0.3863, allocations: 405.5 kB / 0.5414 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.3866, allocations: 80.44 kB / 0.5415 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006666/0.3933, allocations: 3.699 MB / 0.5451 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.3938, allocations: 17.41 kB / 0.5451 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.3938, allocations: 18.8 kB / 0.5451 GB, free: 10.42 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.0003082/0.3941, allocations: 168.3 kB / 0.5453 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.3942, allocations: 30.66 kB / 0.5453 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/0.399, allocations: 0.8265 MB / 0.5461 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.399, allocations: 3.062 kB / 0.5461 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.399, allocations: 2.094 kB / 0.5461 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.399, allocations: 10 kB / 0.5461 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.3999, allocations: 493.7 kB / 0.5466 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3999, allocations: 2.688 kB / 0.5466 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.4001, allocations: 52.83 kB / 0.5467 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00442/0.4045, allocations: 482.4 kB / 0.5471 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.4045, allocations: 14.48 kB / 0.5471 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007448/0.412, allocations: 4.888 MB / 0.5519 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.412, allocations: 2.562 kB / 0.5519 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/0.4171, allocations: 1.11 MB / 0.553 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.4173, allocations: 38.52 kB / 0.553 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.4174, allocations: 12.75 kB / 0.553 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4177, allocations: 12.66 kB / 0.5531 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4178, allocations: 43.55 kB / 0.5531 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.4179, allocations: 21.36 kB / 0.5531 GB, free: 4.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.4181, allocations: 184.9 kB / 0.5533 GB, free: 3.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4181, allocations: 0 / 0.5533 GB, free: 3.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001043/0.4191, allocations: 239.6 kB / 0.5535 GB, free: 3.938 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.0005882/0.4197, allocations: 295.7 kB / 0.5538 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.4212, allocations: 0.6622 MB / 0.5544 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4212, allocations: 1.312 kB / 0.5544 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4222, allocations: 0.6107 MB / 0.555 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.4229, allocations: 103.7 kB / 0.5551 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.4248, allocations: 1.068 MB / 0.5562 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.4251, allocations: 223.4 kB / 0.5564 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.4252, allocations: 69.8 kB / 0.5565 GB, free: 1.848 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4252, allocations: 0 / 0.5565 GB, free: 1.848 MB / 398.1 MB Notification: Performance of Templates: time 0.01683/0.442, allocations: 12.37 MB / 0.5685 GB, free: 6.707 MB / 414.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.029295462649316] Failed to read output from testmodel.py, exit status != 0: 0.4511129930615425 0.46463982 0.108452534 Calling exit ...