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.001333/0.001333, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001474/0.001474, allocations: 207.4 kB / 23 MB, free: 4.934 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1507/0.1507, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.002078/0.002078, allocations: 68.14 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 59.88 MB / 0.5198 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004188/0.3267, allocations: 3.215 MB / 0.523 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.3317, allocations: 4.247 MB / 0.5271 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.3321, allocations: 7.688 kB / 0.5271 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.3325, allocations: 105.3 kB / 0.5272 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.3336, allocations: 448.1 kB / 0.5277 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3349, allocations: 0.5357 MB / 0.5282 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.3355, allocations: 0.5815 MB / 0.5287 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.3359, allocations: 302.3 kB / 0.529 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3362, allocations: 297 kB / 0.5293 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.3366, allocations: 304.8 kB / 0.5296 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.3366, allocations: 52.38 kB / 0.5297 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000985/0.3376, allocations: 458.2 kB / 0.5301 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3377, allocations: 120.2 kB / 0.5302 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.3379, allocations: 240.1 kB / 0.5304 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.3395, allocations: 1.078 MB / 0.5315 GB, free: 2.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3395, allocations: 4 kB / 0.5315 GB, free: 2.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3395, allocations: 1.656 kB / 0.5315 GB, free: 2.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3395, allocations: 0 / 0.5315 GB, free: 2.816 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.001404/0.3409, allocations: 0.7987 MB / 0.5323 GB, free: 2.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.341, allocations: 8.781 kB / 0.5323 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.3413, allocations: 94.27 kB / 0.5324 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.3419, allocations: 306.6 kB / 0.5327 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.3419, allocations: 36.31 kB / 0.5327 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/0.342, allocations: 55.5 kB / 0.5328 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.3428, allocations: 452.7 kB / 0.5332 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3428, allocations: 1.781 kB / 0.5332 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.3429, allocations: 19.92 kB / 0.5332 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3429, allocations: 10.47 kB / 0.5332 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.3437, allocations: 0.5049 MB / 0.5337 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3457, allocations: 1.14 MB / 0.5348 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.3465, allocations: 333.7 kB / 0.5351 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.3466, allocations: 111.2 kB / 0.5352 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/0.3485, allocations: 0.8739 MB / 0.5361 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.3485, allocations: 40.81 kB / 0.5361 GB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3485, allocations: 0 / 0.5361 GB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01695/0.3655, allocations: 2.111 MB / 0.5382 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3655, allocations: 59.42 kB / 0.5383 GB, free: 15.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3659, allocations: 275.7 kB / 0.5385 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.3659, allocations: 31.05 kB / 0.5385 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.3661, allocations: 283.4 kB / 0.5388 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3662, allocations: 114.8 kB / 0.5389 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3664, allocations: 85.06 kB / 0.539 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3665, allocations: 344.4 kB / 0.5393 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3668, allocations: 131.7 kB / 0.5395 GB, free: 14.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.3671, allocations: 269.1 kB / 0.5397 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.3678, allocations: 427.6 kB / 0.5401 GB, free: 13.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3678, allocations: 1.312 kB / 0.5401 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004729/0.3725, allocations: 0.8159 MB / 0.5409 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3725, allocations: 6.375 kB / 0.5409 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3725, allocations: 5.594 kB / 0.5409 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00426/0.3768, allocations: 411.7 kB / 0.5413 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.3771, allocations: 81.72 kB / 0.5414 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/0.3844, allocations: 3.69 MB / 0.545 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.3849, allocations: 21.19 kB / 0.545 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.3849, allocations: 23.45 kB / 0.5451 GB, free: 10.56 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.0003137/0.3852, allocations: 168.3 kB / 0.5452 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3853, allocations: 34.25 kB / 0.5452 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/0.3913, allocations: 0.8269 MB / 0.5461 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.3913, allocations: 1.359 kB / 0.5461 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3913, allocations: 0.75 kB / 0.5461 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3914, allocations: 29.53 kB / 0.5461 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.3915, allocations: 9.688 kB / 0.5461 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.3918, allocations: 12.05 kB / 0.5461 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.3919, allocations: 40.44 kB / 0.5461 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002547/0.3945, allocations: 0.5996 MB / 0.5467 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009417/0.3954, allocations: 0.624 MB / 0.5473 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002319/0.3956, allocations: 112.9 kB / 0.5474 GB, free: 9.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.3959, allocations: 189.4 kB / 0.5476 GB, free: 9.133 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.3959, allocations: 0 / 0.5476 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.3983, allocations: 0.839 MB / 0.5484 GB, free: 8.555 MB / 398.1 MB Notification: Performance of SimCode: time 0.002075/0.4004, allocations: 1.476 MB / 0.5499 GB, free: 7.434 MB / 398.1 MB Notification: Performance of Templates: time 0.0198/0.4202, allocations: 11.42 MB / 0.561 GB, free: 15.05 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: 5.268355028005317] Failed to read output from testmodel.py, exit status != 0: 0.42886027999338694 0.44333414800000004 0.100640404 Calling exit ...