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.001343/0.001343, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001915/0.001915, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1357/0.1357, allocations: 23.86 MB / 337 MB, free: 11.22 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.002101/0.002101, allocations: 75.02 kB / 472.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3057, allocations: 59.85 MB / 0.5198 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004714/0.3104, allocations: 4.331 MB / 0.524 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008379/0.3188, allocations: 8.768 MB / 0.5326 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000764/0.3196, allocations: 16.12 kB / 0.5326 GB, free: 400 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.3202, allocations: 181.1 kB / 0.5328 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.3225, allocations: 0.7969 MB / 0.5335 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.3255, allocations: 1.025 MB / 0.5345 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.327, allocations: 0.8899 MB / 0.5354 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/0.3276, allocations: 421.8 kB / 0.5358 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.3282, allocations: 457.7 kB / 0.5362 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006722/0.3289, allocations: 475.6 kB / 0.5367 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.329, allocations: 77.56 kB / 0.5368 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.3319, allocations: 0.9132 MB / 0.5377 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3321, allocations: 182.2 kB / 0.5378 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.3325, allocations: 414.3 kB / 0.5382 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.3357, allocations: 1.835 MB / 0.54 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3357, allocations: 1.469 kB / 0.54 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3357, allocations: 0 / 0.54 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.3358, allocations: 0 / 0.54 GB, free: 12.83 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.00214/0.3379, allocations: 1.106 MB / 0.5411 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3379, allocations: 9.625 kB / 0.5411 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/0.3386, allocations: 152.8 kB / 0.5413 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.3394, allocations: 402 kB / 0.5416 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.3394, allocations: 49.88 kB / 0.5417 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.3396, allocations: 73.12 kB / 0.5418 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3408, allocations: 0.7538 MB / 0.5425 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3408, allocations: 0.5156 kB / 0.5425 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.3409, allocations: 29.78 kB / 0.5425 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.341, allocations: 16.25 kB / 0.5425 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.3424, allocations: 0.8714 MB / 0.5434 GB, free: 11.15 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.003983/0.3464, allocations: 2.311 MB / 0.5457 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.3479, allocations: 0.8223 MB / 0.5465 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.3484, allocations: 263.2 kB / 0.5467 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00374/0.3521, allocations: 1.597 MB / 0.5483 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3521, allocations: 44.39 kB / 0.5483 GB, free: 8.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.482e-06/0.3521, allocations: 0 / 0.5483 GB, free: 8.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01606/0.3682, allocations: 2.66 MB / 0.5509 GB, free: 6.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3683, allocations: 57.41 kB / 0.551 GB, free: 6.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.3688, allocations: 405.9 kB / 0.5514 GB, free: 6.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.3689, allocations: 39.77 kB / 0.5514 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.3691, allocations: 375 kB / 0.5517 GB, free: 6.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.3693, allocations: 209.6 kB / 0.5519 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.3695, allocations: 140.4 kB / 0.5521 GB, free: 6.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3697, allocations: 378.3 kB / 0.5524 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.3701, allocations: 202 kB / 0.5526 GB, free: 5.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.3706, allocations: 463.8 kB / 0.5531 GB, free: 5.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3717, allocations: 0.7219 MB / 0.5538 GB, free: 4.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3717, allocations: 3.344 kB / 0.5538 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004794/0.3765, allocations: 1.129 MB / 0.5549 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3765, allocations: 8.719 kB / 0.5549 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3765, allocations: 8.438 kB / 0.5549 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/0.3802, allocations: 444.7 kB / 0.5553 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.3807, allocations: 162.1 kB / 0.5555 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.3883, allocations: 4.436 MB / 0.5598 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.389, allocations: 26 kB / 0.5598 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.3891, allocations: 44.89 kB / 0.5599 GB, free: 15.8 MB / 414.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.0003718/0.3894, allocations: 210.3 kB / 0.5601 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3896, allocations: 56.44 kB / 0.5601 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005439/0.395, allocations: 1.083 MB / 0.5612 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.395, allocations: 4 kB / 0.5612 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.395, allocations: 4 kB / 0.5612 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.395, allocations: 3.984 kB / 0.5612 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006779/0.4018, allocations: 1.787 MB / 0.5629 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4018, allocations: 0 / 0.5629 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.4022, allocations: 91.84 kB / 0.563 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004797/0.407, allocations: 0.506 MB / 0.5635 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/0.4071, allocations: 28 kB / 0.5636 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008668/0.4157, allocations: 5.644 MB / 0.5691 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.4157, allocations: 7.969 kB / 0.5691 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/0.4217, allocations: 1.399 MB / 0.5704 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.422, allocations: 55.7 kB / 0.5705 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.4221, allocations: 20.03 kB / 0.5705 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.4224, allocations: 12 kB / 0.5705 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.4226, allocations: 68.31 kB / 0.5706 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4226, allocations: 23.94 kB / 0.5706 GB, free: 4.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003335/0.423, allocations: 271.1 kB / 0.5709 GB, free: 4.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.423, allocations: 4 kB / 0.5709 GB, free: 4.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00153/0.4245, allocations: 403.1 kB / 0.5713 GB, free: 4.047 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.0009257/0.4254, allocations: 461.9 kB / 0.5717 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.4271, allocations: 0.8655 MB / 0.5725 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4271, allocations: 0 / 0.5725 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4283, allocations: 0.7061 MB / 0.5732 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.4291, allocations: 140.2 kB / 0.5734 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.4315, allocations: 1.379 MB / 0.5747 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.432, allocations: 0.8991 MB / 0.5756 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.4323, allocations: 129 kB / 0.5757 GB, free: 15.34 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4323, allocations: 0 / 0.5757 GB, free: 15.34 MB / 430.1 MB Notification: Performance of Templates: time 0.0231/0.4554, allocations: 17.58 MB / 0.5929 GB, free: 13.81 MB / 446.1 MB " [Timeout remaining time 660] 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: 8.958005983149633] Failed to read output from testmodel.py, exit status != 0: 0.46450793487019837 0.47893032199999996 0.13995964400000002 Calling exit ...