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.001591/0.001591, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00213/0.00213, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1333/0.1333, allocations: 23.93 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.00208/0.00208, allocations: 67.89 kB / 472.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 59.88 MB / 0.5198 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004547/0.3159, allocations: 3.898 MB / 0.5236 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008556/0.3245, allocations: 7.705 MB / 0.5311 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008351/0.3253, allocations: 13.53 kB / 0.5312 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.3261, allocations: 172.7 kB / 0.5313 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.3286, allocations: 0.7812 MB / 0.5321 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.3318, allocations: 1.031 MB / 0.5331 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3332, allocations: 0.8809 MB / 0.534 GB, free: 336 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.3337, allocations: 419.8 kB / 0.5344 GB, free: 136 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.3343, allocations: 454.4 kB / 0.5348 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.335, allocations: 485.6 kB / 0.5353 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.3352, allocations: 77.31 kB / 0.5353 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.3378, allocations: 0.8744 MB / 0.5362 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.338, allocations: 182.7 kB / 0.5364 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.3385, allocations: 345 kB / 0.5367 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.3424, allocations: 1.839 MB / 0.5385 GB, free: 14.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3424, allocations: 1.375 kB / 0.5385 GB, free: 14.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3424, allocations: 0 / 0.5385 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.3424, allocations: 0 / 0.5385 GB, free: 14.5 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.002317/0.3447, allocations: 1.097 MB / 0.5396 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3447, allocations: 10.16 kB / 0.5396 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/0.3454, allocations: 148.2 kB / 0.5397 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/0.3464, allocations: 411.5 kB / 0.5401 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.3464, allocations: 52.44 kB / 0.5401 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3465, allocations: 65.62 kB / 0.5402 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3479, allocations: 0.762 MB / 0.541 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3479, allocations: 0 / 0.541 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-05/0.348, allocations: 25.58 kB / 0.541 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.348, allocations: 20.88 kB / 0.541 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.3495, allocations: 0.8697 MB / 0.5418 GB, free: 12.8 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.003716/0.3532, allocations: 1.765 MB / 0.5436 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.3548, allocations: 0.8032 MB / 0.5444 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.3552, allocations: 258.8 kB / 0.5446 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003729/0.359, allocations: 1.523 MB / 0.5461 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.359, allocations: 40.94 kB / 0.5461 GB, free: 10.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.359, allocations: 0 / 0.5461 GB, free: 10.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01802/0.377, allocations: 2.655 MB / 0.5487 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3771, allocations: 58.66 kB / 0.5488 GB, free: 9.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.3776, allocations: 400 kB / 0.5492 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3777, allocations: 35.77 kB / 0.5492 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.378, allocations: 374.8 kB / 0.5495 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3782, allocations: 210.2 kB / 0.5497 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.3784, allocations: 140.8 kB / 0.5499 GB, free: 8.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3786, allocations: 365.8 kB / 0.5502 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.3789, allocations: 201.8 kB / 0.5504 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.3795, allocations: 466.7 kB / 0.5509 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3805, allocations: 0.7175 MB / 0.5516 GB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.3806, allocations: 2.75 kB / 0.5516 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005454/0.386, allocations: 1.133 MB / 0.5527 GB, free: 6.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.386, allocations: 8.25 kB / 0.5527 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.386, allocations: 8.25 kB / 0.5527 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004257/0.3903, allocations: 451.8 kB / 0.5531 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.3909, allocations: 158.9 kB / 0.5533 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/0.3992, allocations: 4.346 MB / 0.5575 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/0.3999, allocations: 29.77 kB / 0.5576 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/0.4, allocations: 39.92 kB / 0.5576 GB, free: 2.266 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.0003722/0.4003, allocations: 211.1 kB / 0.5578 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4005, allocations: 55.12 kB / 0.5578 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006345/0.4068, allocations: 1.085 MB / 0.5589 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4068, allocations: 8 kB / 0.5589 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4068, allocations: 4 kB / 0.5589 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4069, allocations: 0 / 0.5589 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/0.4142, allocations: 1.62 MB / 0.5605 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.4142, allocations: 4 kB / 0.5605 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.4146, allocations: 87.89 kB / 0.5606 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005564/0.4202, allocations: 0.5137 MB / 0.5611 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4203, allocations: 24.08 kB / 0.5611 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009133/0.4294, allocations: 5.521 MB / 0.5665 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4294, allocations: 3.938 kB / 0.5665 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00651/0.4359, allocations: 1.399 MB / 0.5679 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.4361, allocations: 55.64 kB / 0.5679 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4362, allocations: 12 kB / 0.5679 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.4366, allocations: 16 kB / 0.5679 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.4368, allocations: 60.39 kB / 0.568 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.4368, allocations: 27.98 kB / 0.568 GB, free: 7.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.4371, allocations: 243.3 kB / 0.5683 GB, free: 6.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4371, allocations: 3.938 kB / 0.5683 GB, free: 6.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001532/0.4387, allocations: 403.1 kB / 0.5687 GB, free: 6.539 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.0008952/0.4396, allocations: 472.6 kB / 0.5691 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4413, allocations: 0.8655 MB / 0.5699 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4413, allocations: 0 / 0.5699 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.4425, allocations: 0.6983 MB / 0.5706 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.4434, allocations: 145.5 kB / 0.5708 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.4458, allocations: 1.339 MB / 0.5721 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4461, allocations: 301.5 kB / 0.5724 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000456/0.4466, allocations: 124.7 kB / 0.5725 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.4468, allocations: 94.03 kB / 0.5726 GB, free: 2.379 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4468, allocations: 0 / 0.5726 GB, free: 2.379 MB / 414.1 MB Notification: Performance of Templates: time 0.03266/0.4794, allocations: 17.57 MB / 0.5897 GB, free: 0.9453 MB / 430.1 MB " [Timeout remaining time 660] 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342427356008557] Failed to read output from testmodel.py, exit status != 0: 0.48931898099544924 0.510213142 0.163214195 Calling exit ...