Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001393/0.001393, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001634/0.001634, allocations: 216.8 kB / 22.3 MB, free: 5.301 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.499/1.499, allocations: 230.6 MB / 256.1 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1571/0.1571, allocations: 23.88 MB / 336.4 MB, free: 10.9 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002243/0.002243, allocations: 71.89 kB / 471.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4379, allocations: 59.86 MB / 0.5191 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005539/0.4434, allocations: 3.918 MB / 0.5229 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4536, allocations: 7.699 MB / 0.5305 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.4545, allocations: 13.31 kB / 0.5305 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.4552, allocations: 172.6 kB / 0.5306 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.4578, allocations: 0.7842 MB / 0.5314 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.4612, allocations: 1.026 MB / 0.5324 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.4628, allocations: 0.8823 MB / 0.5333 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.4634, allocations: 416.5 kB / 0.5337 GB, free: 100 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006614/0.4641, allocations: 454.5 kB / 0.5341 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.4648, allocations: 427.4 kB / 0.5345 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.465, allocations: 77.84 kB / 0.5346 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.4685, allocations: 0.8521 MB / 0.5354 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.4687, allocations: 186.7 kB / 0.5356 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.4692, allocations: 350.7 kB / 0.5359 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004773/0.474, allocations: 1.829 MB / 0.5377 GB, free: 14.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.474, allocations: 0.6094 kB / 0.5377 GB, free: 14.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.474, allocations: 0 / 0.5377 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.474, allocations: 1.312 kB / 0.5377 GB, free: 14.54 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.002412/0.4764, allocations: 1.1 MB / 0.5388 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4764, allocations: 9.406 kB / 0.5388 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.4771, allocations: 156.5 kB / 0.5389 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.478, allocations: 398.3 kB / 0.5393 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/0.478, allocations: 53.78 kB / 0.5394 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.4782, allocations: 65.2 kB / 0.5394 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4795, allocations: 0.7612 MB / 0.5402 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4795, allocations: 1.188 kB / 0.5402 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.4796, allocations: 29.66 kB / 0.5402 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.4796, allocations: 20 kB / 0.5402 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.4812, allocations: 0.866 MB / 0.5411 GB, free: 12.84 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.003833/0.485, allocations: 1.766 MB / 0.5428 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.4867, allocations: 0.8111 MB / 0.5436 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.4871, allocations: 255.1 kB / 0.5438 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003982/0.4911, allocations: 1.52 MB / 0.5453 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.4912, allocations: 41.72 kB / 0.5454 GB, free: 10.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.445e-06/0.4912, allocations: 3.938 kB / 0.5454 GB, free: 10.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01532/0.5065, allocations: 2.651 MB / 0.5479 GB, free: 9.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5066, allocations: 57.41 kB / 0.548 GB, free: 9.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.5071, allocations: 392.8 kB / 0.5484 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.975e-05/0.5072, allocations: 35.89 kB / 0.5484 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.5075, allocations: 374.9 kB / 0.5488 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.5077, allocations: 210.6 kB / 0.549 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.508, allocations: 143.9 kB / 0.5491 GB, free: 8.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5082, allocations: 361.7 kB / 0.5495 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.5086, allocations: 206.9 kB / 0.5496 GB, free: 7.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.5092, allocations: 466.8 kB / 0.5501 GB, free: 7.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.5102, allocations: 0.7164 MB / 0.5508 GB, free: 6.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5102, allocations: 6.031 kB / 0.5508 GB, free: 6.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004589/0.5148, allocations: 1.137 MB / 0.5519 GB, free: 6.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5149, allocations: 8 kB / 0.5519 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5149, allocations: 9.219 kB / 0.5519 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/0.5184, allocations: 439.1 kB / 0.5523 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.519, allocations: 159.3 kB / 0.5525 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008301/0.5273, allocations: 4.361 MB / 0.5568 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.5281, allocations: 24.41 kB / 0.5568 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.793e-05/0.5282, allocations: 37.41 kB / 0.5568 GB, free: 2.293 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.0004005/0.5286, allocations: 214.5 kB / 0.557 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.5287, allocations: 55.28 kB / 0.5571 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/0.5341, allocations: 1.079 MB / 0.5581 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5341, allocations: 8 kB / 0.5581 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5341, allocations: 0 / 0.5581 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5342, allocations: 7.984 kB / 0.5581 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006456/0.5406, allocations: 1.62 MB / 0.5597 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5406, allocations: 4 kB / 0.5597 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.541, allocations: 96.05 kB / 0.5598 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004511/0.5455, allocations: 0.5137 MB / 0.5603 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.5456, allocations: 19.98 kB / 0.5603 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008793/0.5544, allocations: 5.501 MB / 0.5657 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.5544, allocations: 12.02 kB / 0.5657 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/0.5602, allocations: 1.407 MB / 0.5671 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.5605, allocations: 59.64 kB / 0.5672 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.5606, allocations: 12 kB / 0.5672 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.5609, allocations: 16 kB / 0.5672 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.5611, allocations: 64.33 kB / 0.5672 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.5612, allocations: 23.98 kB / 0.5673 GB, free: 7.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.5615, allocations: 243.2 kB / 0.5675 GB, free: 7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5615, allocations: 0 / 0.5675 GB, free: 7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001877/0.5634, allocations: 403.1 kB / 0.5679 GB, free: 6.605 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.001101/0.5645, allocations: 472.5 kB / 0.5683 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.5664, allocations: 0.8616 MB / 0.5692 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5664, allocations: 4 kB / 0.5692 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.5676, allocations: 0.6944 MB / 0.5699 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.5685, allocations: 145.6 kB / 0.57 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.5711, allocations: 1.336 MB / 0.5713 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.5714, allocations: 293.6 kB / 0.5716 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.5719, allocations: 124.7 kB / 0.5717 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.5721, allocations: 99.41 kB / 0.5718 GB, free: 2.457 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5721, allocations: 0 / 0.5718 GB, free: 2.457 MB / 414.1 MB Notification: Performance of Templates: time 0.02906/0.6011, allocations: 16.49 MB / 0.5879 GB, free: 2.102 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.068125206977129] Failed to read output from testmodel.py, exit status != 0: 0.6111280415207148 0.6255934000000001 0.14823592800000002 Calling exit ...