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.00153/0.00153, allocations: 111 kB / 16.46 MB, free: 6.453 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.001638/0.001638, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.519/1.519, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1657/0.1657, allocations: 23.89 MB / 332.7 MB, free: 12.33 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.002415/0.002415, allocations: 67.89 kB / 466.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.415, allocations: 59.83 MB / 0.514 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005499/0.4205, allocations: 4.307 MB / 0.5182 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00988/0.4304, allocations: 8.742 MB / 0.5268 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.4313, allocations: 13.56 kB / 0.5268 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.4321, allocations: 187.8 kB / 0.5269 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.4352, allocations: 0.7864 MB / 0.5277 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.4393, allocations: 1.014 MB / 0.5287 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.4413, allocations: 0.885 MB / 0.5296 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.4423, allocations: 421.5 kB / 0.53 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.4434, allocations: 457.9 kB / 0.5304 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.4448, allocations: 475.8 kB / 0.5309 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.4452, allocations: 77.41 kB / 0.5309 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004946/0.4502, allocations: 0.9135 MB / 0.5318 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.4506, allocations: 177.9 kB / 0.532 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.4517, allocations: 408.7 kB / 0.5324 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.4594, allocations: 1.845 MB / 0.5342 GB, free: 12.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4594, allocations: 0 / 0.5342 GB, free: 12.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4594, allocations: 0 / 0.5342 GB, free: 12.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.392e-05/0.4595, allocations: 4 kB / 0.5342 GB, free: 12.25 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.003931/0.4634, allocations: 1.168 MB / 0.5353 GB, free: 11.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4635, allocations: 13.44 kB / 0.5353 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.4645, allocations: 149.3 kB / 0.5355 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.4659, allocations: 467.4 kB / 0.5359 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.466, allocations: 49.16 kB / 0.536 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.4662, allocations: 69.36 kB / 0.536 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.4681, allocations: 0.7528 MB / 0.5368 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.4681, allocations: 5.109 kB / 0.5368 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.4682, allocations: 29.06 kB / 0.5368 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.4682, allocations: 20.7 kB / 0.5368 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4701, allocations: 0.8717 MB / 0.5377 GB, free: 10.41 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.005201/0.4753, allocations: 2.343 MB / 0.54 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.4773, allocations: 0.9802 MB / 0.5409 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.4778, allocations: 255.6 kB / 0.5412 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005151/0.4829, allocations: 2.855 MB / 0.544 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.483, allocations: 49.27 kB / 0.544 GB, free: 6.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.354e-06/0.483, allocations: 0 / 0.544 GB, free: 6.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01645/0.4995, allocations: 2.805 MB / 0.5467 GB, free: 4.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.4995, allocations: 62.44 kB / 0.5468 GB, free: 4.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.5003, allocations: 406.2 kB / 0.5472 GB, free: 4.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/0.5004, allocations: 35.92 kB / 0.5472 GB, free: 4.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.5007, allocations: 374.3 kB / 0.5476 GB, free: 3.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.501, allocations: 206.5 kB / 0.5478 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.5013, allocations: 147.7 kB / 0.5479 GB, free: 3.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002444/0.5016, allocations: 365.8 kB / 0.5483 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.502, allocations: 210.5 kB / 0.5485 GB, free: 3.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.5027, allocations: 459.5 kB / 0.5489 GB, free: 2.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.504, allocations: 0.7239 MB / 0.5496 GB, free: 2.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.504, allocations: 2.344 kB / 0.5496 GB, free: 2.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004941/0.509, allocations: 1.135 MB / 0.5507 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.509, allocations: 8.469 kB / 0.5507 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.509, allocations: 7.969 kB / 0.5507 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.5126, allocations: 447.9 kB / 0.5512 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.5134, allocations: 163.9 kB / 0.5513 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009338/0.5227, allocations: 4.64 MB / 0.5559 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/0.5236, allocations: 29.3 kB / 0.5559 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.5238, allocations: 44.25 kB / 0.5559 GB, free: 13.11 MB / 414.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.0005939/0.5244, allocations: 207.8 kB / 0.5561 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.5247, allocations: 59.8 kB / 0.5562 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/0.5304, allocations: 1.089 MB / 0.5573 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5304, allocations: 5.5 kB / 0.5573 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5304, allocations: 2.75 kB / 0.5573 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.5305, allocations: 7.984 kB / 0.5573 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00706/0.5375, allocations: 1.8 MB / 0.559 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5375, allocations: 1.125 kB / 0.559 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.5379, allocations: 99.11 kB / 0.5591 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.5426, allocations: 0.5017 MB / 0.5596 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-05/0.5427, allocations: 21.83 kB / 0.5596 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009936/0.5526, allocations: 5.967 MB / 0.5655 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5527, allocations: 3.938 kB / 0.5655 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006104/0.5588, allocations: 1.401 MB / 0.5668 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.5591, allocations: 128.7 kB / 0.567 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5593, allocations: 16.03 kB / 0.567 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.5597, allocations: 12 kB / 0.567 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.5599, allocations: 64.42 kB / 0.567 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.56, allocations: 27.98 kB / 0.5671 GB, free: 2.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004609/0.5605, allocations: 267.2 kB / 0.5673 GB, free: 2.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5605, allocations: 0 / 0.5673 GB, free: 2.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002153/0.5626, allocations: 403.1 kB / 0.5677 GB, free: 2.254 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.001458/0.5641, allocations: 470.6 kB / 0.5682 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.5663, allocations: 0.8658 MB / 0.569 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5663, allocations: 0 / 0.569 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.5677, allocations: 0.7064 MB / 0.5697 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5687, allocations: 152.7 kB / 0.5698 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.5717, allocations: 1.333 MB / 0.5711 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.5724, allocations: 0.8952 MB / 0.572 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005251/0.5729, allocations: 128.7 kB / 0.5721 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.5732, allocations: 102.5 kB / 0.5722 GB, free: 13.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5732, allocations: 0 / 0.5722 GB, free: 13.48 MB / 430.1 MB Notification: Performance of Templates: time 0.03199/0.6052, allocations: 16.37 MB / 0.5882 GB, free: 13.17 MB / 446.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: 6.113452773075551] Failed to read output from testmodel.py, exit status != 0: 0.6155019956640899 0.630437265 0.16776426500000002 Calling exit ...