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.001979/0.001979, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001755/0.001755, allocations: 220.8 kB / 22.25 MB, free: 5.102 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.824 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.1609/0.1609, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.002079/0.002079, allocations: 59.91 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4333, allocations: 59.86 MB / 0.519 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005481/0.4387, allocations: 3.906 MB / 0.5228 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009753/0.4485, allocations: 7.708 MB / 0.5303 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000998/0.4495, allocations: 9.781 kB / 0.5304 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008772/0.4504, allocations: 173.2 kB / 0.5305 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.4532, allocations: 0.78 MB / 0.5313 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003748/0.4569, allocations: 1.027 MB / 0.5323 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.4587, allocations: 0.8779 MB / 0.5331 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.4593, allocations: 427.8 kB / 0.5335 GB, free: 200 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.4599, allocations: 454.6 kB / 0.534 GB, free: 32 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.4607, allocations: 488.2 kB / 0.5344 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.4608, allocations: 80.75 kB / 0.5345 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.4641, allocations: 0.8732 MB / 0.5354 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.4643, allocations: 181.7 kB / 0.5355 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.4649, allocations: 345.2 kB / 0.5359 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.4704, allocations: 1.834 MB / 0.5377 GB, free: 14.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4704, allocations: 0.6094 kB / 0.5377 GB, free: 14.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4704, allocations: 3.938 kB / 0.5377 GB, free: 14.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.4705, allocations: 5.375 kB / 0.5377 GB, free: 14.55 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.002504/0.473, allocations: 1.092 MB / 0.5387 GB, free: 13.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.473, allocations: 10.44 kB / 0.5388 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.4738, allocations: 154.8 kB / 0.5389 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4748, allocations: 407.1 kB / 0.5393 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.4749, allocations: 49.97 kB / 0.5393 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4751, allocations: 69.39 kB / 0.5394 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4766, allocations: 0.7577 MB / 0.5401 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.4766, allocations: 0 / 0.5401 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.4767, allocations: 29.69 kB / 0.5402 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.4767, allocations: 16.12 kB / 0.5402 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.4782, allocations: 0.8596 MB / 0.541 GB, free: 12.88 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.004532/0.4828, allocations: 1.769 MB / 0.5428 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.4846, allocations: 0.8178 MB / 0.5436 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.4851, allocations: 255.5 kB / 0.5438 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003879/0.489, allocations: 1.516 MB / 0.5453 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.489, allocations: 40.66 kB / 0.5453 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.875e-06/0.489, allocations: 4 kB / 0.5453 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01488/0.5039, allocations: 2.655 MB / 0.5479 GB, free: 9.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.504, allocations: 58.38 kB / 0.548 GB, free: 9.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.5045, allocations: 395.8 kB / 0.5483 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.5046, allocations: 32.02 kB / 0.5484 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.5049, allocations: 374.4 kB / 0.5487 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.5051, allocations: 215.2 kB / 0.5489 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.5053, allocations: 147.9 kB / 0.5491 GB, free: 8.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.5055, allocations: 362.2 kB / 0.5494 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.5059, allocations: 202.3 kB / 0.5496 GB, free: 7.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.5065, allocations: 462.5 kB / 0.5501 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.5076, allocations: 0.7208 MB / 0.5508 GB, free: 6.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5076, allocations: 2.375 kB / 0.5508 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004507/0.5121, allocations: 1.129 MB / 0.5519 GB, free: 6.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5121, allocations: 11.06 kB / 0.5519 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.5122, allocations: 8.25 kB / 0.5519 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003383/0.5155, allocations: 447.9 kB / 0.5523 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.5161, allocations: 159 kB / 0.5525 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/0.524, allocations: 4.358 MB / 0.5567 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.5248, allocations: 25.25 kB / 0.5567 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.5249, allocations: 40.25 kB / 0.5568 GB, free: 2.27 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.0004326/0.5253, allocations: 211.1 kB / 0.557 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.5255, allocations: 50.36 kB / 0.557 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005225/0.5307, allocations: 1.079 MB / 0.5581 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5307, allocations: 4 kB / 0.5581 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.5307, allocations: 8 kB / 0.5581 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.5307, allocations: 11.92 kB / 0.5581 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/0.5371, allocations: 1.616 MB / 0.5597 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5371, allocations: 0 / 0.5597 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.5375, allocations: 95.83 kB / 0.5598 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004342/0.5418, allocations: 0.5099 MB / 0.5603 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/0.5419, allocations: 19.98 kB / 0.5603 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009224/0.5512, allocations: 5.517 MB / 0.5657 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.5512, allocations: 7.969 kB / 0.5657 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/0.5569, allocations: 1.403 MB / 0.5671 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.5573, allocations: 51.64 kB / 0.5671 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.5575, allocations: 12 kB / 0.5671 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.5579, allocations: 16 kB / 0.5671 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.5581, allocations: 64.52 kB / 0.5672 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.997e-05/0.5582, allocations: 27.98 kB / 0.5672 GB, free: 7.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004397/0.5586, allocations: 251.1 kB / 0.5675 GB, free: 6.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5586, allocations: 0 / 0.5675 GB, free: 6.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00233/0.561, allocations: 399.1 kB / 0.5678 GB, free: 6.574 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.001427/0.5624, allocations: 470.9 kB / 0.5683 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.5645, allocations: 0.8693 MB / 0.5691 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5645, allocations: 64 / 0.5691 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.5658, allocations: 0.6982 MB / 0.5698 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5668, allocations: 138.5 kB / 0.57 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.5698, allocations: 1.339 MB / 0.5713 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.5702, allocations: 297.5 kB / 0.5715 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006455/0.5709, allocations: 124.7 kB / 0.5717 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5711, allocations: 98.33 kB / 0.5718 GB, free: 2.418 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5711, allocations: 4 kB / 0.5718 GB, free: 2.414 MB / 414.1 MB Notification: Performance of Templates: time 0.03294/0.6041, allocations: 17.58 MB / 0.5889 GB, free: 0.9727 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.113884718157351] Failed to read output from testmodel.py, exit status != 0: 0.6149275042116642 0.636634819 0.161673321 Calling exit ...