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.001449/0.001449, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001801/0.001801, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.793 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.1546/0.1546, allocations: 23.88 MB / 336.3 MB, free: 10.94 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.002361/0.002361, allocations: 63.91 kB / 471.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4135, allocations: 59.86 MB / 0.519 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005316/0.4188, allocations: 3.912 MB / 0.5228 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008496/0.4273, allocations: 7.706 MB / 0.5304 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.4277, allocations: 13.25 kB / 0.5304 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.4282, allocations: 165.8 kB / 0.5305 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.4298, allocations: 0.7829 MB / 0.5313 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.4321, allocations: 1.019 MB / 0.5323 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.4332, allocations: 0.8936 MB / 0.5332 GB, free: 364 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.4337, allocations: 415.4 kB / 0.5336 GB, free: 168 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.4342, allocations: 454.3 kB / 0.534 GB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.4349, allocations: 429.1 kB / 0.5344 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.435, allocations: 77.03 kB / 0.5345 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.4373, allocations: 0.8564 MB / 0.5353 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.4375, allocations: 181.1 kB / 0.5355 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.4378, allocations: 342.2 kB / 0.5358 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.4406, allocations: 1.838 MB / 0.5376 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4406, allocations: 4 kB / 0.5376 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4406, allocations: 1.094 kB / 0.5376 GB, free: 14.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4406, allocations: 0 / 0.5376 GB, free: 14.6 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.001947/0.4425, allocations: 1.097 MB / 0.5387 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4426, allocations: 9.625 kB / 0.5387 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/0.4432, allocations: 152.2 kB / 0.5388 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008309/0.444, allocations: 407 kB / 0.5392 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.444, allocations: 53.22 kB / 0.5393 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4442, allocations: 69.23 kB / 0.5393 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.4454, allocations: 0.7575 MB / 0.5401 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4454, allocations: 5.125 kB / 0.5401 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.4455, allocations: 25 kB / 0.5401 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4455, allocations: 15.81 kB / 0.5401 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.447, allocations: 0.8671 MB / 0.541 GB, free: 12.91 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.003451/0.4504, allocations: 1.761 MB / 0.5427 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.452, allocations: 0.8075 MB / 0.5435 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.4524, allocations: 255.9 kB / 0.5437 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/0.4559, allocations: 1.523 MB / 0.5452 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.456, allocations: 45.47 kB / 0.5452 GB, free: 10.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.456, allocations: 0 / 0.5452 GB, free: 10.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01419/0.4701, allocations: 2.648 MB / 0.5478 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4702, allocations: 58.31 kB / 0.5479 GB, free: 9.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.4707, allocations: 391.2 kB / 0.5483 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.4708, allocations: 43.66 kB / 0.5483 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.471, allocations: 379.7 kB / 0.5487 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.4712, allocations: 206.3 kB / 0.5489 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.4715, allocations: 143.7 kB / 0.549 GB, free: 8.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4717, allocations: 362.4 kB / 0.5493 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.472, allocations: 206.9 kB / 0.5495 GB, free: 7.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.4726, allocations: 461.5 kB / 0.55 GB, free: 7.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.4737, allocations: 0.7177 MB / 0.5507 GB, free: 6.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4737, allocations: 2.219 kB / 0.5507 GB, free: 6.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004259/0.4779, allocations: 1.128 MB / 0.5518 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.478, allocations: 16.17 kB / 0.5518 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.478, allocations: 7.906 kB / 0.5518 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/0.4813, allocations: 440.9 kB / 0.5522 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.4817, allocations: 158.4 kB / 0.5524 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/0.4889, allocations: 4.354 MB / 0.5566 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.4895, allocations: 25.09 kB / 0.5567 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.4895, allocations: 45.27 kB / 0.5567 GB, free: 2.375 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.0003353/0.4899, allocations: 206 kB / 0.5569 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.49, allocations: 51.53 kB / 0.5569 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/0.4951, allocations: 1.097 MB / 0.558 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.4951, allocations: 7.984 kB / 0.558 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4951, allocations: 8 kB / 0.558 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4951, allocations: 0 / 0.558 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/0.501, allocations: 1.624 MB / 0.5596 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.501, allocations: 4 kB / 0.5596 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.5013, allocations: 87.89 kB / 0.5597 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/0.5057, allocations: 0.506 MB / 0.5602 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.5057, allocations: 23.98 kB / 0.5602 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/0.5141, allocations: 5.517 MB / 0.5656 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5141, allocations: 3.938 kB / 0.5656 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/0.5197, allocations: 1.395 MB / 0.567 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.5199, allocations: 51.64 kB / 0.567 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.52, allocations: 16 kB / 0.567 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.5203, allocations: 12 kB / 0.5671 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.5204, allocations: 68.33 kB / 0.5671 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.5205, allocations: 20 kB / 0.5671 GB, free: 7.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.5208, allocations: 255.2 kB / 0.5674 GB, free: 7.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5208, allocations: 0 / 0.5674 GB, free: 7.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001483/0.5223, allocations: 399.1 kB / 0.5678 GB, free: 6.652 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.0008539/0.5232, allocations: 479.2 kB / 0.5682 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.5248, allocations: 0.8656 MB / 0.5691 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5248, allocations: 0 / 0.5691 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.5258, allocations: 0.7021 MB / 0.5697 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.5266, allocations: 150.9 kB / 0.5699 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.5289, allocations: 1.324 MB / 0.5712 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.5292, allocations: 297.5 kB / 0.5715 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.5296, allocations: 124.7 kB / 0.5716 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.5298, allocations: 106.3 kB / 0.5717 GB, free: 2.484 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5298, allocations: 0 / 0.5717 GB, free: 2.484 MB / 414.1 MB Notification: Performance of Templates: time 0.02968/0.5595, allocations: 17.34 MB / 0.5886 GB, free: 1.285 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: 5.73458556458354] Failed to read output from testmodel.py, exit status != 0: 0.5684591829776764 0.583626585 0.139975935 Calling exit ...