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.001233/0.001233, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001442/0.001442, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1528/0.1528, allocations: 23.93 MB / 337.1 MB, free: 10.92 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.002078/0.002078, allocations: 67.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 59.88 MB / 0.5198 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005041/0.3566, allocations: 3.905 MB / 0.5236 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008494/0.3651, allocations: 7.706 MB / 0.5312 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.3658, allocations: 9.875 kB / 0.5312 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.3664, allocations: 181 kB / 0.5313 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.3685, allocations: 0.7797 MB / 0.5321 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3715, allocations: 1.03 MB / 0.5331 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3729, allocations: 0.8746 MB / 0.534 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006758/0.3736, allocations: 427.3 kB / 0.5344 GB, free: 104 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007933/0.3744, allocations: 454.3 kB / 0.5348 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.3751, allocations: 485.1 kB / 0.5353 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.3753, allocations: 80.75 kB / 0.5353 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.3783, allocations: 0.8764 MB / 0.5362 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.3785, allocations: 180.4 kB / 0.5364 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.379, allocations: 343.7 kB / 0.5367 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.3834, allocations: 1.838 MB / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3835, allocations: 0 / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3835, allocations: 2.016 kB / 0.5385 GB, free: 14.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3835, 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.002424/0.3859, allocations: 1.088 MB / 0.5396 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3859, allocations: 13.53 kB / 0.5396 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007129/0.3866, allocations: 148.4 kB / 0.5397 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.3876, allocations: 406.4 kB / 0.5401 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.3877, allocations: 50.58 kB / 0.5402 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3878, allocations: 73.47 kB / 0.5402 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3893, allocations: 0.7571 MB / 0.541 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3893, allocations: 1.094 kB / 0.541 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.3894, allocations: 29.38 kB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.3894, allocations: 16.91 kB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.3911, allocations: 0.8624 MB / 0.5418 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.003836/0.3949, allocations: 1.768 MB / 0.5436 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.3966, allocations: 0.8045 MB / 0.5444 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.3971, allocations: 254.8 kB / 0.5446 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003908/0.401, allocations: 1.53 MB / 0.5461 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.4011, allocations: 41.23 kB / 0.5461 GB, free: 10.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.4011, allocations: 0 / 0.5461 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01748/0.4185, allocations: 2.659 MB / 0.5487 GB, free: 9.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4186, allocations: 56.69 kB / 0.5488 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.4191, allocations: 388.7 kB / 0.5492 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.4192, allocations: 36.05 kB / 0.5492 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.4195, allocations: 375.7 kB / 0.5496 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.4197, allocations: 209.6 kB / 0.5498 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.4199, allocations: 147.8 kB / 0.5499 GB, free: 8.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4201, allocations: 362.1 kB / 0.5502 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.4205, allocations: 207.2 kB / 0.5504 GB, free: 7.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.4211, allocations: 465.7 kB / 0.5509 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.4222, allocations: 0.7178 MB / 0.5516 GB, free: 6.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4222, allocations: 6.156 kB / 0.5516 GB, free: 6.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005078/0.4273, allocations: 1.125 MB / 0.5527 GB, free: 6.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4273, allocations: 8.25 kB / 0.5527 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.4273, allocations: 7.938 kB / 0.5527 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.4313, allocations: 445.1 kB / 0.5531 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.4318, allocations: 158 kB / 0.5533 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008142/0.44, allocations: 4.357 MB / 0.5575 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.4408, allocations: 24.81 kB / 0.5576 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.4409, allocations: 44.58 kB / 0.5576 GB, free: 2.223 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.0004377/0.4413, allocations: 211 kB / 0.5578 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.4415, allocations: 52.2 kB / 0.5578 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.4475, allocations: 1.083 MB / 0.5589 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4475, allocations: 8 kB / 0.5589 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4475, allocations: 0 / 0.5589 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.4475, allocations: 3.984 kB / 0.5589 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006902/0.4544, allocations: 1.624 MB / 0.5605 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.4544, allocations: 0 / 0.5605 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.4548, allocations: 92.12 kB / 0.5606 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/0.46, allocations: 0.5174 MB / 0.5611 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.4601, allocations: 19.94 kB / 0.5611 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008794/0.4689, allocations: 5.505 MB / 0.5665 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4689, allocations: 7.969 kB / 0.5665 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/0.4751, allocations: 1.399 MB / 0.5679 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.4754, allocations: 47.75 kB / 0.5679 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.4754, allocations: 19.98 kB / 0.5679 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.4758, allocations: 20.03 kB / 0.5679 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.476, allocations: 56.34 kB / 0.568 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.4761, allocations: 28.09 kB / 0.568 GB, free: 7.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003186/0.4764, allocations: 251.1 kB / 0.5683 GB, free: 6.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4764, allocations: 0 / 0.5683 GB, free: 6.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001682/0.4781, allocations: 403.1 kB / 0.5687 GB, free: 6.52 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.001002/0.4791, allocations: 475 kB / 0.5691 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.4808, allocations: 0.8694 MB / 0.57 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4808, allocations: 0 / 0.57 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.482, allocations: 0.7022 MB / 0.5706 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.4828, allocations: 146.8 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.002432/0.4852, allocations: 1.336 MB / 0.5721 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.4856, allocations: 297.5 kB / 0.5724 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000427/0.486, allocations: 124.7 kB / 0.5725 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4862, allocations: 98.03 kB / 0.5726 GB, free: 2.352 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4862, allocations: 0 / 0.5726 GB, free: 2.352 MB / 414.1 MB Notification: Performance of Templates: time 0.02908/0.5153, allocations: 17.57 MB / 0.5897 GB, free: 0.918 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.643204303007224] Failed to read output from testmodel.py, exit status != 0: 0.5248130489926552 0.540295643 0.15305786000000002 Calling exit ...