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.001479/0.001479, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001751/0.001751, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.549/1.549, 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.1485/0.1485, allocations: 23.99 MB / 337.2 MB, free: 10.86 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.002112/0.002112, allocations: 64.19 kB / 472.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 59.9 MB / 0.5199 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.00524/0.3479, allocations: 3.914 MB / 0.5238 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009044/0.3569, allocations: 7.706 MB / 0.5313 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.3576, allocations: 8.906 kB / 0.5313 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006489/0.3582, allocations: 173.5 kB / 0.5315 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.3605, allocations: 0.7797 MB / 0.5322 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.3635, allocations: 1.031 MB / 0.5332 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.3648, allocations: 0.8834 MB / 0.5341 GB, free: 220 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.3654, allocations: 410.4 kB / 0.5345 GB, free: 28 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005815/0.366, allocations: 454.4 kB / 0.5349 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006645/0.3666, allocations: 429.8 kB / 0.5353 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3668, allocations: 76.53 kB / 0.5354 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.3696, allocations: 0.8553 MB / 0.5362 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3698, allocations: 175 kB / 0.5364 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.3703, allocations: 353.4 kB / 0.5367 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.3744, allocations: 1.835 MB / 0.5385 GB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3744, allocations: 0 / 0.5385 GB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3744, allocations: 0 / 0.5385 GB, free: 14.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.3745, allocations: 3.938 kB / 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.002247/0.3767, allocations: 1.09 MB / 0.5396 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3767, allocations: 9.625 kB / 0.5396 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006662/0.3774, allocations: 152.2 kB / 0.5398 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/0.3783, allocations: 406.6 kB / 0.5401 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.3783, allocations: 53.91 kB / 0.5402 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.3784, allocations: 69.55 kB / 0.5403 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3798, allocations: 0.7572 MB / 0.541 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3798, allocations: 1.438 kB / 0.541 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.3799, allocations: 28.28 kB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3799, allocations: 20.25 kB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.3814, allocations: 0.8637 MB / 0.5419 GB, free: 12.79 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.003616/0.385, allocations: 1.765 MB / 0.5436 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3866, allocations: 0.8066 MB / 0.5444 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.387, allocations: 262.2 kB / 0.5447 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003811/0.3908, allocations: 1.528 MB / 0.5461 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3909, allocations: 41.42 kB / 0.5462 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.604e-06/0.3909, allocations: 1.125 kB / 0.5462 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01472/0.4056, allocations: 2.646 MB / 0.5488 GB, free: 9.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4057, allocations: 57.28 kB / 0.5488 GB, free: 9.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.4062, allocations: 396 kB / 0.5492 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.4063, allocations: 36.39 kB / 0.5492 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.4066, allocations: 371.2 kB / 0.5496 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.4069, allocations: 206.8 kB / 0.5498 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.4071, allocations: 147.5 kB / 0.5499 GB, free: 8.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.4073, allocations: 366.3 kB / 0.5503 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.4077, allocations: 201.5 kB / 0.5505 GB, free: 7.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.4084, allocations: 463.7 kB / 0.5509 GB, free: 7.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.4095, allocations: 0.7162 MB / 0.5516 GB, free: 6.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4095, allocations: 2.562 kB / 0.5516 GB, free: 6.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004495/0.414, allocations: 1.133 MB / 0.5527 GB, free: 6.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.414, allocations: 7.844 kB / 0.5527 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4141, allocations: 12.41 kB / 0.5527 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/0.4175, allocations: 449.1 kB / 0.5532 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.4181, allocations: 154.1 kB / 0.5533 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00813/0.4262, allocations: 4.361 MB / 0.5576 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.4269, allocations: 24.66 kB / 0.5576 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.427, allocations: 45.02 kB / 0.5576 GB, free: 2.203 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.0004174/0.4274, allocations: 206.5 kB / 0.5578 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4275, allocations: 55.42 kB / 0.5579 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/0.4329, allocations: 1.086 MB / 0.559 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4329, allocations: 8 kB / 0.559 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4329, allocations: 0 / 0.559 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.4329, allocations: 7.984 kB / 0.559 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/0.4391, allocations: 1.616 MB / 0.5605 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4392, allocations: 3.984 kB / 0.5605 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.4395, allocations: 91.84 kB / 0.5606 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004414/0.4439, allocations: 0.5061 MB / 0.5611 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/0.444, allocations: 19.94 kB / 0.5612 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00878/0.4528, allocations: 5.513 MB / 0.5665 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/0.4528, allocations: 7.969 kB / 0.5665 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/0.4584, allocations: 1.399 MB / 0.5679 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4587, allocations: 51.61 kB / 0.568 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.4587, allocations: 16 kB / 0.568 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.4591, allocations: 16 kB / 0.568 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.4592, allocations: 64.38 kB / 0.568 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.4593, allocations: 23.98 kB / 0.5681 GB, free: 7.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.4596, allocations: 247.2 kB / 0.5683 GB, free: 6.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4596, allocations: 0 / 0.5683 GB, free: 6.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001664/0.4613, allocations: 403.1 kB / 0.5687 GB, free: 6.523 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.0009315/0.4622, allocations: 468.1 kB / 0.5691 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.464, allocations: 0.881 MB / 0.57 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.464, allocations: 4 kB / 0.57 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4651, allocations: 0.6944 MB / 0.5707 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.466, allocations: 151.7 kB / 0.5708 GB, free: 4.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.4685, allocations: 1.368 MB / 0.5722 GB, free: 2.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.4688, allocations: 297.5 kB / 0.5724 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.4691, allocations: 122.2 kB / 0.5726 GB, free: 2.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4691, allocations: 0 / 0.5726 GB, free: 2.418 MB / 414.1 MB Notification: Performance of Templates: time 0.02469/0.4938, allocations: 17.79 MB / 0.5899 GB, free: 0.6836 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.290408752392977] Failed to read output from testmodel.py, exit status != 0: 0.5032374318689108 0.5178647900000001 0.14025083300000002 Calling exit ...