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.001673/0.001673, 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.002095/0.002095, allocations: 217.1 kB / 22.25 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.604/1.604, allocations: 230.6 MB / 256 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.1448/0.1448, allocations: 23.88 MB / 336.3 MB, free: 10.98 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [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.002257/0.002257, allocations: 71.89 kB / 471.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3483, allocations: 59.86 MB / 0.5185 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005682/0.354, allocations: 3.91 MB / 0.5223 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3651, allocations: 7.717 MB / 0.5299 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008909/0.366, allocations: 10.25 kB / 0.5299 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.3667, allocations: 163 kB / 0.53 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.3697, allocations: 0.7823 MB / 0.5308 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.3731, allocations: 1.023 MB / 0.5318 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.3748, allocations: 0.8852 MB / 0.5327 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007758/0.3756, allocations: 412.1 kB / 0.5331 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000778/0.3764, allocations: 458 kB / 0.5335 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.3771, allocations: 427.7 kB / 0.5339 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.3773, allocations: 76.69 kB / 0.534 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.3806, allocations: 0.8575 MB / 0.5348 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.3809, allocations: 183.1 kB / 0.535 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.3813, allocations: 345.2 kB / 0.5353 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.386, allocations: 1.833 MB / 0.5371 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.386, allocations: 2.219 kB / 0.5371 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.386, allocations: 0 / 0.5371 GB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.707e-05/0.386, allocations: 0 / 0.5371 GB, free: 14.33 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.002986/0.389, allocations: 1.1 MB / 0.5382 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.3891, allocations: 10.17 kB / 0.5382 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.3893, allocations: 111.8 kB / 0.5383 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/0.39, allocations: 153.3 kB / 0.5384 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.391, allocations: 402.5 kB / 0.5388 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.3911, allocations: 52.66 kB / 0.5389 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.3913, allocations: 65.52 kB / 0.5389 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3927, allocations: 0.7618 MB / 0.5397 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3927, allocations: 0 / 0.5397 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.3928, allocations: 26.78 kB / 0.5397 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.3928, allocations: 15.84 kB / 0.5397 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.3944, allocations: 0.8626 MB / 0.5406 GB, free: 12.57 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.004025/0.3984, allocations: 1.871 MB / 0.5424 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.4, allocations: 0.8096 MB / 0.5432 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.4006, allocations: 255.9 kB / 0.5434 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003917/0.4045, allocations: 1.528 MB / 0.5449 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4045, allocations: 37.72 kB / 0.545 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.204e-06/0.4045, allocations: 0 / 0.545 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0152/0.4197, allocations: 2.667 MB / 0.5476 GB, free: 9.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.4198, allocations: 57.81 kB / 0.5476 GB, free: 8.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.4204, allocations: 424.8 kB / 0.548 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.4204, allocations: 35.92 kB / 0.5481 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.4208, allocations: 373.9 kB / 0.5484 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.421, allocations: 207.2 kB / 0.5486 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.4212, allocations: 147.5 kB / 0.5488 GB, free: 8.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4214, allocations: 367.2 kB / 0.5491 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.4217, allocations: 205.8 kB / 0.5493 GB, free: 7.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.4223, allocations: 458.2 kB / 0.5497 GB, free: 7.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.4234, allocations: 0.7178 MB / 0.5504 GB, free: 6.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4234, allocations: 2.656 kB / 0.5504 GB, free: 6.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004679/0.4281, allocations: 1.13 MB / 0.5515 GB, free: 6.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.4281, allocations: 8.25 kB / 0.5516 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4282, allocations: 8.25 kB / 0.5516 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/0.4316, allocations: 452.8 kB / 0.552 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.4322, allocations: 154.5 kB / 0.5521 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007924/0.4401, allocations: 4.399 MB / 0.5564 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.4408, allocations: 29.06 kB / 0.5565 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.4409, allocations: 40.3 kB / 0.5565 GB, free: 1.93 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.0004316/0.4413, allocations: 206.5 kB / 0.5567 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4415, allocations: 53.61 kB / 0.5568 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/0.4468, allocations: 1.089 MB / 0.5578 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4468, allocations: 4 kB / 0.5578 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.4468, allocations: 4 kB / 0.5578 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4468, allocations: 4.031 kB / 0.5578 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/0.4531, allocations: 1.709 MB / 0.5595 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.4531, allocations: 4 kB / 0.5595 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.4535, allocations: 87.91 kB / 0.5596 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004378/0.4579, allocations: 0.506 MB / 0.5601 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/0.458, allocations: 20 kB / 0.5601 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00892/0.4669, allocations: 5.593 MB / 0.5656 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4669, allocations: 0 / 0.5656 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/0.4725, allocations: 1.399 MB / 0.5669 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.4727, allocations: 55.66 kB / 0.567 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/0.4728, allocations: 12.11 kB / 0.567 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.4731, allocations: 19.94 kB / 0.567 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4733, allocations: 64.27 kB / 0.5671 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.4734, allocations: 27.98 kB / 0.5671 GB, free: 6.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003309/0.4737, allocations: 271.2 kB / 0.5674 GB, free: 6.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4737, allocations: 0 / 0.5674 GB, free: 6.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001496/0.4752, allocations: 407 kB / 0.5677 GB, free: 6.164 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.00692/0.4821, allocations: 2.291 MB / 0.57 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.484, allocations: 0.8763 MB / 0.5708 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.484, allocations: 0.875 kB / 0.5708 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.4851, allocations: 0.6941 MB / 0.5715 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.4861, allocations: 143.8 kB / 0.5717 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.5005, allocations: 6.101 MB / 0.5776 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.5009, allocations: 301.6 kB / 0.5779 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005305/0.5015, allocations: 132.4 kB / 0.578 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.5019, allocations: 277.8 kB / 0.5783 GB, free: 10.86 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5019, allocations: 3.938 kB / 0.5783 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06752/0.5694, allocations: 23.26 MB / 0.601 GB, free: 3.883 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.47, allocations: 4 kB / 0.601 GB, free: 3.879 MB / 446.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.493613705039024] Failed to read output from testmodel.py, exit status != 0: 14.607610517647117 14.636082655 14.244125692 Calling exit ...