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.001783/0.001783, 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.002205/0.002205, allocations: 213 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.547/1.547, 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 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.1437/0.1437, allocations: 23.89 MB / 337.1 MB, free: 10.95 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.002047/0.002047, allocations: 67.91 kB / 472.4 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 59.86 MB / 0.5197 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004661/0.3574, allocations: 3.904 MB / 0.5236 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008344/0.3657, allocations: 7.71 MB / 0.5311 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.3663, allocations: 8.719 kB / 0.5311 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.3669, allocations: 169.6 kB / 0.5313 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.3689, allocations: 0.7838 MB / 0.532 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.3717, allocations: 1.03 MB / 0.533 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.3731, allocations: 0.8783 MB / 0.5339 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/0.3739, allocations: 419.9 kB / 0.5343 GB, free: 112 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009203/0.3748, allocations: 458.3 kB / 0.5347 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.3757, allocations: 484.5 kB / 0.5352 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3759, allocations: 77.16 kB / 0.5353 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.3806, allocations: 0.877 MB / 0.5361 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.3809, allocations: 177.3 kB / 0.5363 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.3815, allocations: 346.7 kB / 0.5366 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.3865, allocations: 1.842 MB / 0.5384 GB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3865, allocations: 0.5156 kB / 0.5384 GB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3865, allocations: 0 / 0.5384 GB, free: 14.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.3866, allocations: 0 / 0.5384 GB, free: 14.47 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.002501/0.3891, allocations: 1.093 MB / 0.5395 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3891, allocations: 9.781 kB / 0.5395 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.3898, allocations: 153.2 kB / 0.5396 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.3906, allocations: 409.8 kB / 0.54 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.3907, allocations: 53.5 kB / 0.5401 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3909, allocations: 68.91 kB / 0.5401 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.3922, allocations: 0.758 MB / 0.5409 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3923, allocations: 0 / 0.5409 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.3923, allocations: 29.94 kB / 0.5409 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.3924, allocations: 21.19 kB / 0.5409 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.3938, allocations: 0.8658 MB / 0.5418 GB, free: 12.78 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.003674/0.3975, allocations: 1.761 MB / 0.5435 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3991, allocations: 0.8075 MB / 0.5443 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.3995, allocations: 250.1 kB / 0.5445 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003902/0.4034, allocations: 1.539 MB / 0.546 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.4035, allocations: 41.84 kB / 0.5461 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.4035, allocations: 0 / 0.5461 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01858/0.4221, allocations: 2.658 MB / 0.5487 GB, free: 9.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.4221, allocations: 58.25 kB / 0.5487 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.4227, allocations: 396 kB / 0.5491 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.4228, allocations: 40.36 kB / 0.5491 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.4231, allocations: 370.1 kB / 0.5495 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.4233, allocations: 207.3 kB / 0.5497 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.4236, allocations: 143.3 kB / 0.5498 GB, free: 8.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4238, allocations: 362.4 kB / 0.5502 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.4241, allocations: 205.9 kB / 0.5504 GB, free: 7.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.4248, allocations: 462.6 kB / 0.5508 GB, free: 7.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4259, allocations: 0.7217 MB / 0.5515 GB, free: 6.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4259, allocations: 2.312 kB / 0.5515 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005354/0.4313, allocations: 1.127 MB / 0.5526 GB, free: 6.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.4313, allocations: 9.906 kB / 0.5526 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4313, allocations: 8.219 kB / 0.5526 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/0.4356, allocations: 444.6 kB / 0.5531 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.4362, allocations: 162.9 kB / 0.5532 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00857/0.4447, allocations: 4.353 MB / 0.5575 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.4455, allocations: 33.7 kB / 0.5575 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.4456, allocations: 40.56 kB / 0.5575 GB, free: 2.215 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.0004552/0.446, allocations: 207.4 kB / 0.5577 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.4462, allocations: 50.83 kB / 0.5578 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/0.4526, allocations: 1.082 MB / 0.5588 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4526, allocations: 8 kB / 0.5588 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.4526, allocations: 4 kB / 0.5588 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4526, allocations: 0 / 0.5588 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/0.4599, allocations: 1.616 MB / 0.5604 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.4599, allocations: 11.94 kB / 0.5604 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4603, allocations: 87.89 kB / 0.5605 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/0.4658, allocations: 0.5099 MB / 0.561 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.4659, allocations: 19.98 kB / 0.561 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009323/0.4752, allocations: 5.517 MB / 0.5664 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4752, allocations: 3.938 kB / 0.5664 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006704/0.4819, allocations: 1.399 MB / 0.5678 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4821, allocations: 51.64 kB / 0.5678 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.4822, allocations: 16 kB / 0.5679 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4826, allocations: 16 kB / 0.5679 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.4828, allocations: 64.44 kB / 0.5679 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.4828, allocations: 27.92 kB / 0.568 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.4832, allocations: 251.2 kB / 0.5682 GB, free: 6.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4832, allocations: 0 / 0.5682 GB, free: 6.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001699/0.4849, allocations: 399.1 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.0009864/0.4859, allocations: 467.1 kB / 0.569 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.4877, allocations: 0.8655 MB / 0.5699 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4877, allocations: 4 kB / 0.5699 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.4889, allocations: 0.7022 MB / 0.5706 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.4897, allocations: 150.8 kB / 0.5707 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4921, allocations: 1.324 MB / 0.572 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.4925, allocations: 301.5 kB / 0.5723 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004396/0.4929, allocations: 128.7 kB / 0.5724 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.4931, allocations: 94.03 kB / 0.5725 GB, free: 2.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4931, allocations: 0 / 0.5725 GB, free: 2.418 MB / 414.1 MB Notification: Performance of Templates: time 0.02902/0.5221, allocations: 17.58 MB / 0.5897 GB, free: 0.9805 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 gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.788275595012237] Failed to read output from testmodel.py, exit status != 0: 0.5314705460041296 0.545594169 0.155877498 Calling exit ...