Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterVaporization.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.001278/0.001278, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001601/0.001601, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.777 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.1491/0.1491, allocations: 23.89 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",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.002186/0.002186, allocations: 68.19 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 59.86 MB / 0.5185 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.008401/0.3862, allocations: 5.871 MB / 0.5243 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.4058, allocations: 12.93 MB / 0.5369 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.4073, allocations: 17.53 kB / 0.5369 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.4085, allocations: 312.2 kB / 0.5372 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.4127, allocations: 1.1 MB / 0.5383 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.4192, allocations: 1.995 MB / 0.5402 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.4223, allocations: 1.61 MB / 0.5418 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.4238, allocations: 0.796 MB / 0.5426 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.425, allocations: 0.7796 MB / 0.5433 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.4262, allocations: 0.7479 MB / 0.5441 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.4264, allocations: 150.7 kB / 0.5442 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004434/0.4308, allocations: 1.391 MB / 0.5456 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.4312, allocations: 338.7 kB / 0.5459 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.4319, allocations: 0.633 MB / 0.5465 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007067/0.439, allocations: 3.22 MB / 0.5497 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.439, allocations: 0 / 0.5497 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.439, allocations: 0 / 0.5497 GB, free: 6.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.439, allocations: 0 / 0.5497 GB, free: 6.352 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004029/0.4431, allocations: 1.807 MB / 0.5514 GB, free: 5.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4431, allocations: 9.062 kB / 0.5514 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.4434, allocations: 191.3 kB / 0.5516 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.4447, allocations: 313.9 kB / 0.5519 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.446, allocations: 0.6207 MB / 0.5525 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.4461, allocations: 95.38 kB / 0.5526 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.4463, allocations: 136.9 kB / 0.5527 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.4488, allocations: 1.539 MB / 0.5542 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.4488, allocations: 7.922 kB / 0.5542 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.4489, allocations: 51.25 kB / 0.5543 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.449, allocations: 30.34 kB / 0.5543 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.4518, allocations: 1.862 MB / 0.5561 GB, free: 2.395 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.007872/0.4597, allocations: 3.687 MB / 0.5597 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.4618, allocations: 1.253 MB / 0.561 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.4625, allocations: 495.7 kB / 0.5614 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005735/0.4683, allocations: 2.637 MB / 0.564 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4683, allocations: 39.22 kB / 0.5641 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003753/0.4687, allocations: 91.34 kB / 0.5641 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/0.4687, allocations: 4 kB / 0.5641 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01879/0.4875, allocations: 4.216 MB / 0.5683 GB, free: 6.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.4875, allocations: 64.41 kB / 0.5683 GB, free: 6.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.4884, allocations: 0.6054 MB / 0.5689 GB, free: 5.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4885, allocations: 41.7 kB / 0.569 GB, free: 5.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.489, allocations: 0.5937 MB / 0.5695 GB, free: 5.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.4894, allocations: 368.9 kB / 0.5699 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.4897, allocations: 234.8 kB / 0.5701 GB, free: 4.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.49, allocations: 394.7 kB / 0.5705 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.4907, allocations: 426.4 kB / 0.5709 GB, free: 3.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4918, allocations: 0.7823 MB / 0.5717 GB, free: 2.84 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02475/0.5165, allocations: 4.489 MB / 0.576 GB, free: 14.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5165, allocations: 4 kB / 0.576 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005728/0.5223, allocations: 1.791 MB / 0.5778 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.5223, allocations: 8 kB / 0.5778 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.5223, allocations: 12 kB / 0.5778 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003667/0.526, allocations: 477 kB / 0.5783 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.527, allocations: 295.5 kB / 0.5786 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007358/0.5343, allocations: 4.153 MB / 0.5826 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/0.5353, allocations: 43.98 kB / 0.5826 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.5355, allocations: 63.98 kB / 0.5827 GB, free: 7.109 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005911/0.536, allocations: 285.3 kB / 0.583 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.5363, allocations: 95.39 kB / 0.5831 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/0.5429, allocations: 1.762 MB / 0.5848 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.5429, allocations: 11.94 kB / 0.5848 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.5429, allocations: 7.938 kB / 0.5848 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5429, allocations: 3.984 kB / 0.5848 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008046/0.551, allocations: 2.745 MB / 0.5875 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.551, allocations: 4 kB / 0.5875 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.5517, allocations: 203.7 kB / 0.5877 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004519/0.5562, allocations: 0.5257 MB / 0.5882 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.5563, allocations: 35.98 kB / 0.5882 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008129/0.5644, allocations: 5.32 MB / 0.5934 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.5645, allocations: 8.031 kB / 0.5934 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/0.5716, allocations: 2.328 MB / 0.5957 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.5719, allocations: 91.38 kB / 0.5958 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.572, allocations: 24 kB / 0.5958 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.5725, allocations: 28 kB / 0.5959 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.5728, allocations: 104.8 kB / 0.596 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/0.5728, allocations: 47.98 kB / 0.596 GB, free: 8.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005124/0.5734, allocations: 391 kB / 0.5964 GB, free: 8.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5734, allocations: 0 / 0.5964 GB, free: 8.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001864/0.5752, allocations: 0.604 MB / 0.597 GB, free: 7.984 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.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 (100): * Single equations (assignments): 97 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008734/0.584, allocations: 3.408 MB / 0.6003 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.5865, allocations: 1.394 MB / 0.6017 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5865, allocations: 1.062 kB / 0.6017 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.588, allocations: 0.9585 MB / 0.6026 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5893, allocations: 203.7 kB / 0.6028 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/0.6102, allocations: 9.601 MB / 0.6122 GB, free: 7.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.6108, allocations: 490.3 kB / 0.6126 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008673/0.6116, allocations: 234.8 kB / 0.6129 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/0.6124, allocations: 0.4992 MB / 0.6133 GB, free: 6.527 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6124, allocations: 0 / 0.6133 GB, free: 6.527 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08499/0.6974, allocations: 33.98 MB / 0.6465 GB, free: 4.891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.23, allocations: 5.453 kB / 0.6465 GB, free: 4.891 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.WaterVaporization_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.04 Chemical_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.26109038712457] Failed to read output from testmodel.py, exit status != 0: 15.376522982027382 15.393944977 14.950993007 Calling exit ...