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.001546/0.001546, 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.001771/0.001771, 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1538/0.1538, allocations: 23.87 MB / 337.1 MB, free: 11.04 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.002021/0.002021, allocations: 67.89 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4129, allocations: 59.87 MB / 0.5197 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005222/0.4181, allocations: 3.91 MB / 0.5236 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008999/0.4271, allocations: 7.705 MB / 0.5311 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007524/0.4279, allocations: 13.81 kB / 0.5311 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.4285, allocations: 169.8 kB / 0.5313 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.4308, allocations: 0.7799 MB / 0.532 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.4339, allocations: 1.027 MB / 0.533 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.4354, allocations: 0.8855 MB / 0.5339 GB, free: 244 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/0.436, allocations: 423.9 kB / 0.5343 GB, free: 40 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.4367, allocations: 454.6 kB / 0.5347 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006857/0.4374, allocations: 479.7 kB / 0.5352 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.4375, allocations: 77.19 kB / 0.5353 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.4406, allocations: 0.8808 MB / 0.5361 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.4408, allocations: 181.9 kB / 0.5363 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.4412, allocations: 345.3 kB / 0.5366 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.4473, allocations: 1.835 MB / 0.5384 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.4473, allocations: 0 / 0.5384 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.4473, allocations: 2 kB / 0.5384 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.4473, allocations: 0 / 0.5384 GB, free: 14.41 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.00292/0.4502, allocations: 1.099 MB / 0.5395 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4503, allocations: 9.625 kB / 0.5395 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.4511, allocations: 153 kB / 0.5396 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.4521, allocations: 406.6 kB / 0.54 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.4521, allocations: 49.16 kB / 0.5401 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.4523, allocations: 69.8 kB / 0.5401 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.4539, allocations: 0.7649 MB / 0.5409 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4539, allocations: 1.375 kB / 0.5409 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.454, allocations: 25.75 kB / 0.5409 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.454, allocations: 18.97 kB / 0.5409 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.4557, allocations: 0.8627 MB / 0.5418 GB, free: 12.71 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.004092/0.4598, allocations: 1.762 MB / 0.5435 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.4615, allocations: 0.8071 MB / 0.5443 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.462, allocations: 255.3 kB / 0.5445 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004197/0.4662, allocations: 1.527 MB / 0.546 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4662, allocations: 41.78 kB / 0.5461 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.4662, allocations: 0 / 0.5461 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0181/0.4843, allocations: 2.656 MB / 0.5487 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.4844, allocations: 61.28 kB / 0.5487 GB, free: 9.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.4849, allocations: 392.4 kB / 0.5491 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/0.485, allocations: 35.95 kB / 0.5491 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.4853, allocations: 374.7 kB / 0.5495 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.4855, allocations: 210.5 kB / 0.5497 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.4857, allocations: 140.4 kB / 0.5498 GB, free: 8.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4859, allocations: 366.2 kB / 0.5502 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.4863, allocations: 205.6 kB / 0.5504 GB, free: 7.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.4869, allocations: 466.9 kB / 0.5508 GB, free: 7.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.488, allocations: 0.7175 MB / 0.5515 GB, free: 6.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.488, allocations: 2.312 kB / 0.5515 GB, free: 6.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005218/0.4932, allocations: 1.133 MB / 0.5526 GB, free: 6.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4932, allocations: 11.09 kB / 0.5526 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4932, allocations: 8.938 kB / 0.5526 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/0.4973, allocations: 436.3 kB / 0.5531 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.4979, allocations: 158.1 kB / 0.5532 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00796/0.5058, allocations: 4.357 MB / 0.5575 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.5065, allocations: 25.06 kB / 0.5575 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.5066, allocations: 40.84 kB / 0.5575 GB, free: 2.172 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.0003635/0.507, allocations: 214.4 kB / 0.5577 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5071, allocations: 56.14 kB / 0.5578 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/0.5131, allocations: 1.086 MB / 0.5588 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5132, allocations: 4 kB / 0.5588 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.5132, allocations: 4 kB / 0.5588 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5132, allocations: 3.984 kB / 0.5588 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006969/0.5201, allocations: 1.612 MB / 0.5604 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5202, allocations: 0 / 0.5604 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.5205, allocations: 96.11 kB / 0.5605 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005444/0.526, allocations: 0.5097 MB / 0.561 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.77e-05/0.5261, allocations: 23.98 kB / 0.561 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00903/0.5351, allocations: 5.505 MB / 0.5664 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.5351, allocations: 16.03 kB / 0.5664 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00641/0.5415, allocations: 1.395 MB / 0.5678 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.5418, allocations: 51.78 kB / 0.5678 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.5419, allocations: 16 kB / 0.5679 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.5422, allocations: 16 kB / 0.5679 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.5424, allocations: 64.31 kB / 0.5679 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.5425, allocations: 27.98 kB / 0.568 GB, free: 7.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.5429, allocations: 243.2 kB / 0.5682 GB, free: 6.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5429, allocations: 4.109 kB / 0.5682 GB, free: 6.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001627/0.5445, allocations: 399 kB / 0.5686 GB, free: 6.578 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.0009581/0.5454, allocations: 483 kB / 0.569 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5472, allocations: 0.8694 MB / 0.5699 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5472, allocations: 0 / 0.5699 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.5484, allocations: 0.6982 MB / 0.5706 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.5492, allocations: 148.9 kB / 0.5707 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.5515, allocations: 1.328 MB / 0.572 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.5519, allocations: 297.5 kB / 0.5723 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.5523, allocations: 128.3 kB / 0.5724 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.5525, allocations: 102 kB / 0.5725 GB, free: 2.406 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5525, allocations: 0 / 0.5725 GB, free: 2.406 MB / 414.1 MB Notification: Performance of Templates: time 0.02998/0.5825, allocations: 17.57 MB / 0.5897 GB, free: 0.9688 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6740524459892185] Failed to read output from testmodel.py, exit status != 0: 0.5926067340042209 0.606559845 0.156015266 Calling exit ...