Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.001846/0.001846, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002763/0.002763, allocations: 214.7 kB / 22.99 MB, free: 4.953 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.528/1.528, 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.1447/0.1447, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") [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.002783/0.002783, allocations: 63.91 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3826, allocations: 59.88 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005255/0.3879, allocations: 3.906 MB / 0.5236 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009091/0.3969, allocations: 7.705 MB / 0.5312 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008531/0.3978, allocations: 13.53 kB / 0.5312 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.3985, allocations: 169.5 kB / 0.5313 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.4012, allocations: 0.7838 MB / 0.5321 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.4049, allocations: 1.027 MB / 0.5331 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.4066, allocations: 0.886 MB / 0.534 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.4072, allocations: 423.5 kB / 0.5344 GB, free: 96 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.4079, allocations: 453.8 kB / 0.5348 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.4087, allocations: 484.3 kB / 0.5353 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.4088, allocations: 77.16 kB / 0.5353 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.4124, allocations: 0.8767 MB / 0.5362 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.4126, allocations: 174.7 kB / 0.5364 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.4131, allocations: 346.3 kB / 0.5367 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.4178, allocations: 1.842 MB / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4178, allocations: 0 / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4178, allocations: 4 kB / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.4178, allocations: 0 / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002309/0.4201, allocations: 1.094 MB / 0.5396 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4201, allocations: 8.969 kB / 0.5396 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.4208, allocations: 148 kB / 0.5397 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.4217, allocations: 410.9 kB / 0.5401 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.4217, allocations: 50.38 kB / 0.5402 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.4218, allocations: 68.19 kB / 0.5402 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.4232, allocations: 0.7578 MB / 0.541 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.4232, allocations: 1.344 kB / 0.541 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.4233, allocations: 29.28 kB / 0.541 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4233, allocations: 16.19 kB / 0.541 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.4248, allocations: 0.8623 MB / 0.5418 GB, free: 12.78 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.4287, allocations: 1.77 MB / 0.5436 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.4303, allocations: 0.8114 MB / 0.5444 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.4308, allocations: 249.6 kB / 0.5446 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00381/0.4346, allocations: 1.535 MB / 0.5461 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4346, allocations: 41.28 kB / 0.5461 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.4346, allocations: 0 / 0.5461 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01476/0.4494, allocations: 2.653 MB / 0.5487 GB, free: 9.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.4494, allocations: 57.31 kB / 0.5488 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.45, allocations: 392.3 kB / 0.5492 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.45, allocations: 36.58 kB / 0.5492 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.4503, allocations: 378.6 kB / 0.5496 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4505, allocations: 206 kB / 0.5498 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.4508, allocations: 147.7 kB / 0.5499 GB, free: 8.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.451, allocations: 362.8 kB / 0.5502 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.4513, allocations: 206.7 kB / 0.5504 GB, free: 7.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.4519, allocations: 466 kB / 0.5509 GB, free: 7.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.453, allocations: 0.7214 MB / 0.5516 GB, free: 6.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.453, allocations: 2.344 kB / 0.5516 GB, free: 6.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004407/0.4574, allocations: 1.127 MB / 0.5527 GB, free: 6.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.4575, allocations: 8.969 kB / 0.5527 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.4575, allocations: 8.875 kB / 0.5527 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/0.4609, allocations: 449 kB / 0.5531 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.4615, allocations: 159.1 kB / 0.5533 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/0.4692, allocations: 4.35 MB / 0.5575 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.4699, allocations: 24.19 kB / 0.5576 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.47, allocations: 45.77 kB / 0.5576 GB, free: 2.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003957/0.4704, allocations: 202.3 kB / 0.5578 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.4706, allocations: 52.02 kB / 0.5578 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/0.4756, allocations: 1.083 MB / 0.5589 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4756, allocations: 8 kB / 0.5589 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4756, allocations: 0 / 0.5589 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4756, allocations: 7.984 kB / 0.5589 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/0.4816, allocations: 1.624 MB / 0.5605 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.4816, allocations: 0 / 0.5605 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.482, allocations: 87.91 kB / 0.5606 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004324/0.4863, allocations: 0.5099 MB / 0.5611 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.4863, allocations: 20 kB / 0.5611 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008408/0.4948, allocations: 5.524 MB / 0.5665 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.4948, allocations: 12.08 kB / 0.5665 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.5003, allocations: 1.395 MB / 0.5679 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.5006, allocations: 51.61 kB / 0.5679 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.5006, allocations: 12 kB / 0.5679 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.501, allocations: 16.03 kB / 0.5679 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.5011, allocations: 64.33 kB / 0.568 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.5012, allocations: 28 kB / 0.568 GB, free: 7.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003154/0.5015, allocations: 251.2 kB / 0.5683 GB, free: 6.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5015, allocations: 0 / 0.5683 GB, free: 6.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0016/0.5031, allocations: 399.1 kB / 0.5687 GB, free: 6.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,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 (48): * Single equations (assignments): 45 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009051/0.504, allocations: 467 kB / 0.5691 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.5057, allocations: 0.8694 MB / 0.5699 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5057, allocations: 8 kB / 0.57 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5068, allocations: 0.6982 MB / 0.5706 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.5077, allocations: 143.2 kB / 0.5708 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5101, allocations: 1.365 MB / 0.5721 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.5104, allocations: 301.5 kB / 0.5724 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.5107, allocations: 130.4 kB / 0.5725 GB, free: 2.426 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5107, allocations: 0 / 0.5725 GB, free: 2.426 MB / 414.1 MB Notification: Performance of Templates: time 0.02512/0.5358, allocations: 17.78 MB / 0.5899 GB, free: 0.6992 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.646365993015934] Failed to read output from testmodel.py, exit status != 0: 0.5469260680256411 0.560523386 0.13945131500000002 Calling exit ...