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.00141/0.00141, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001466/0.001466, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1787/0.1787, allocations: 23.84 MB / 332.7 MB, free: 12.37 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.001977/0.001977, allocations: 66.41 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3856, allocations: 59.82 MB / 0.5135 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006637/0.3922, allocations: 6.596 MB / 0.5199 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.4095, allocations: 14.66 MB / 0.5342 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.4108, allocations: 25.31 kB / 0.5343 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4121, allocations: 353 kB / 0.5346 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.4174, allocations: 1.104 MB / 0.5357 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007947/0.4253, allocations: 1.971 MB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.4289, allocations: 1.613 MB / 0.5392 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.4312, allocations: 0.8159 MB / 0.54 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.4337, allocations: 0.7786 MB / 0.5407 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.4354, allocations: 0.8457 MB / 0.5416 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.4356, allocations: 158 kB / 0.5417 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.4424, allocations: 1.475 MB / 0.5431 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006205/0.443, allocations: 348.5 kB / 0.5435 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.4445, allocations: 0.7483 MB / 0.5442 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4548, allocations: 3.223 MB / 0.5474 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4548, allocations: 0 / 0.5474 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4548, allocations: 0 / 0.5474 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.13e-05/0.4549, allocations: 3.469 kB / 0.5474 GB, free: 3.16 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.004436/0.4593, allocations: 1.882 MB / 0.5492 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4593, allocations: 9.125 kB / 0.5492 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.4596, allocations: 191.7 kB / 0.5494 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.461, allocations: 314 kB / 0.5497 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.4623, allocations: 0.6911 MB / 0.5504 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.4624, allocations: 95.03 kB / 0.5505 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.4626, allocations: 140.2 kB / 0.5506 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.4653, allocations: 1.528 MB / 0.5521 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.4653, allocations: 0 / 0.5521 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.4654, allocations: 50.19 kB / 0.5521 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.4654, allocations: 30.91 kB / 0.5522 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.4685, allocations: 1.858 MB / 0.554 GB, free: 15.03 MB / 414.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.00771/0.4762, allocations: 4.659 MB / 0.5585 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.4783, allocations: 1.252 MB / 0.5597 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008207/0.4791, allocations: 484.8 kB / 0.5602 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006887/0.486, allocations: 4.615 MB / 0.5647 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.486, allocations: 39.22 kB / 0.5647 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004857/0.4865, allocations: 99.33 kB / 0.5648 GB, free: 5.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/0.4865, allocations: 0 / 0.5648 GB, free: 5.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02017/0.5067, allocations: 4.332 MB / 0.5691 GB, free: 1.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.5067, allocations: 64.41 kB / 0.5691 GB, free: 1.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.5076, allocations: 0.5861 MB / 0.5697 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.5077, allocations: 45.64 kB / 0.5698 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.5082, allocations: 0.5937 MB / 0.5703 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.5085, allocations: 360.9 kB / 0.5707 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.5089, allocations: 238.8 kB / 0.5709 GB, free: 15.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.5091, allocations: 394.7 kB / 0.5713 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007522/0.5098, allocations: 414.4 kB / 0.5717 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.511, allocations: 0.7784 MB / 0.5724 GB, free: 13.61 MB / 430.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.02556/0.5365, allocations: 4.537 MB / 0.5769 GB, free: 8.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.5365, allocations: 12 kB / 0.5769 GB, free: 8.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005999/0.5425, allocations: 1.771 MB / 0.5786 GB, free: 7.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.5426, allocations: 15.94 kB / 0.5786 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.5426, allocations: 12 kB / 0.5786 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/0.5464, allocations: 477.3 kB / 0.5791 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.5476, allocations: 295.5 kB / 0.5794 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0084/0.556, allocations: 4.398 MB / 0.5837 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.5571, allocations: 43.98 kB / 0.5837 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.5573, allocations: 71.98 kB / 0.5838 GB, free: 1.508 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.0006676/0.5579, allocations: 285.4 kB / 0.584 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.5582, allocations: 87.44 kB / 0.5841 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006897/0.5651, allocations: 1.742 MB / 0.5858 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.5651, allocations: 12 kB / 0.5858 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5651, allocations: 7.938 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.5651, allocations: 3.984 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008918/0.574, allocations: 2.929 MB / 0.5887 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.5741, allocations: 4 kB / 0.5887 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.5749, allocations: 204 kB / 0.5889 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004735/0.5796, allocations: 0.537 MB / 0.5894 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.5798, allocations: 39.98 kB / 0.5895 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009022/0.5889, allocations: 5.685 MB / 0.595 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5889, allocations: 4.031 kB / 0.595 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007705/0.5966, allocations: 2.312 MB / 0.5973 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.597, allocations: 164.5 kB / 0.5974 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.5971, allocations: 24 kB / 0.5975 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.5976, allocations: 24 kB / 0.5975 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.5979, allocations: 108.7 kB / 0.5976 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.598, allocations: 43.98 kB / 0.5976 GB, free: 2.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.5986, allocations: 387.1 kB / 0.598 GB, free: 2.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5986, allocations: 0 / 0.598 GB, free: 2.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002495/0.6011, allocations: 0.6002 MB / 0.5986 GB, free: 1.691 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.009649/0.6108, allocations: 3.4 MB / 0.6019 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.6136, allocations: 1.379 MB / 0.6033 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.6136, allocations: 4 kB / 0.6033 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.6153, allocations: 0.9549 MB / 0.6042 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.617, allocations: 214.9 kB / 0.6044 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.6392, allocations: 9.558 MB / 0.6137 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.64, allocations: 1.069 MB / 0.6148 GB, free: 452 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009032/0.6409, allocations: 230.8 kB / 0.615 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/0.6416, allocations: 0.4993 MB / 0.6155 GB, free: 15.71 MB / 478.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6416, allocations: 0 / 0.6155 GB, free: 15.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.752, allocations: 32.26 MB / 0.647 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/16.86, allocations: 18.97 kB / 0.647 GB, free: 15.7 MB / 0.4981 GB " [Timeout remaining time 643] (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: 22.068530455988366] Failed to read output from testmodel.py, exit status != 0: 16.972747851992608 16.988303582 16.530143674 Calling exit ...