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.001323/0.001323, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001506/0.001506, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.957 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.1397/0.1397, allocations: 23.9 MB / 336.3 MB, free: 11.14 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.002315/0.002315, allocations: 68.17 kB / 471.7 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.329, allocations: 59.88 MB / 0.5191 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004657/0.3336, allocations: 4.324 MB / 0.5233 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009326/0.343, allocations: 8.772 MB / 0.5319 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.3438, allocations: 9.312 kB / 0.5319 GB, free: 412 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.3444, allocations: 182.5 kB / 0.5321 GB, free: 308 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.3471, allocations: 0.7974 MB / 0.5329 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.3508, allocations: 1.03 MB / 0.5339 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3526, allocations: 0.8821 MB / 0.5347 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.3533, allocations: 421.2 kB / 0.5351 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007162/0.3541, allocations: 457 kB / 0.5356 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007599/0.3548, allocations: 482.3 kB / 0.536 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3549, allocations: 76.75 kB / 0.5361 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.3581, allocations: 0.9076 MB / 0.537 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.3583, allocations: 177.7 kB / 0.5372 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.3588, allocations: 413.9 kB / 0.5376 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.3626, allocations: 1.84 MB / 0.5394 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3626, allocations: 0 / 0.5394 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3626, allocations: 1.281 kB / 0.5394 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3626, allocations: 3.938 kB / 0.5394 GB, free: 12.84 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.002144/0.3648, allocations: 1.097 MB / 0.5404 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3648, allocations: 8.25 kB / 0.5404 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006459/0.3655, allocations: 153.2 kB / 0.5406 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.3663, allocations: 407.1 kB / 0.541 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/0.3663, allocations: 48.47 kB / 0.541 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3664, allocations: 69.69 kB / 0.5411 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.3677, allocations: 0.7623 MB / 0.5418 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3677, allocations: 0 / 0.5418 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.3678, allocations: 29.77 kB / 0.5419 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3678, allocations: 15.69 kB / 0.5419 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3693, allocations: 0.8688 MB / 0.5427 GB, free: 11.16 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.004072/0.3734, allocations: 2.315 MB / 0.545 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3749, allocations: 0.8145 MB / 0.5458 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.3753, allocations: 259.1 kB / 0.546 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003744/0.3791, allocations: 1.606 MB / 0.5476 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3791, allocations: 40.5 kB / 0.5476 GB, free: 8.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.923e-06/0.3791, allocations: 0 / 0.5476 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01651/0.3956, allocations: 2.66 MB / 0.5502 GB, free: 6.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3957, allocations: 57.59 kB / 0.5503 GB, free: 6.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.3963, allocations: 403.6 kB / 0.5507 GB, free: 6.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.3964, allocations: 34.58 kB / 0.5507 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.3966, allocations: 374.6 kB / 0.5511 GB, free: 6.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.3969, allocations: 210.1 kB / 0.5513 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3971, allocations: 148.6 kB / 0.5514 GB, free: 6.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3973, allocations: 366 kB / 0.5518 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.3977, allocations: 206.4 kB / 0.552 GB, free: 5.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.3983, allocations: 460 kB / 0.5524 GB, free: 5.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3995, allocations: 0.718 MB / 0.5531 GB, free: 4.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3995, allocations: 2.188 kB / 0.5531 GB, free: 4.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004852/0.4043, allocations: 1.134 MB / 0.5542 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.4044, allocations: 8.281 kB / 0.5542 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4044, allocations: 8.188 kB / 0.5542 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/0.4081, allocations: 443.8 kB / 0.5546 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.4087, allocations: 163.5 kB / 0.5548 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008473/0.4172, allocations: 4.457 MB / 0.5591 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.4179, allocations: 23.88 kB / 0.5592 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.418, allocations: 40.97 kB / 0.5592 GB, free: 15.79 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.0004349/0.4184, allocations: 207.2 kB / 0.5594 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.4186, allocations: 56.62 kB / 0.5595 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/0.4244, allocations: 1.089 MB / 0.5605 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4244, allocations: 4 kB / 0.5605 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4244, allocations: 4 kB / 0.5605 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.4244, allocations: 4.031 kB / 0.5605 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/0.4313, allocations: 1.783 MB / 0.5623 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4313, allocations: 0 / 0.5623 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.4317, allocations: 91.89 kB / 0.5624 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004634/0.4364, allocations: 0.5099 MB / 0.5629 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.4365, allocations: 23.98 kB / 0.5629 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009262/0.4457, allocations: 5.648 MB / 0.5684 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4457, allocations: 4.031 kB / 0.5684 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006196/0.4519, allocations: 1.395 MB / 0.5698 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.4522, allocations: 59.66 kB / 0.5698 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.4523, allocations: 12 kB / 0.5698 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.4527, allocations: 12 kB / 0.5698 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.4529, allocations: 72.27 kB / 0.5699 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.4529, allocations: 23.98 kB / 0.5699 GB, free: 4.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003712/0.4533, allocations: 267.2 kB / 0.5702 GB, free: 4.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4533, allocations: 0 / 0.5702 GB, free: 4.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001714/0.455, allocations: 403.1 kB / 0.5706 GB, free: 3.91 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.001193/0.4562, allocations: 470.4 kB / 0.571 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.4581, allocations: 0.8616 MB / 0.5719 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4581, allocations: 7.938 kB / 0.5719 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.4594, allocations: 0.7022 MB / 0.5726 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.4604, allocations: 148.4 kB / 0.5727 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.463, allocations: 1.331 MB / 0.574 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.4637, allocations: 0.8952 MB / 0.5749 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.4642, allocations: 136.7 kB / 0.575 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4644, allocations: 97.81 kB / 0.5751 GB, free: 15.13 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4644, allocations: 3.938 kB / 0.5751 GB, free: 15.13 MB / 430.1 MB Notification: Performance of Templates: time 0.0307/0.4951, allocations: 16.92 MB / 0.5916 GB, free: 14.27 MB / 446.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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.64693455491215] Failed to read output from testmodel.py, exit status != 0: 0.5046625938266516 0.5190254959999999 0.15314323200000002 Calling exit ...