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.001401/0.001401, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002018/0.002018, allocations: 215.7 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.789 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.1685/0.1685, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002071/0.002071, allocations: 71.89 kB / 471.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 59.85 MB / 0.5185 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00669/0.3636, allocations: 5.874 MB / 0.5243 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3805, allocations: 12.92 MB / 0.5369 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.382, allocations: 21.31 kB / 0.5369 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3832, allocations: 316.6 kB / 0.5372 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.3873, allocations: 1.094 MB / 0.5383 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.3938, allocations: 1.997 MB / 0.5402 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.3965, allocations: 1.609 MB / 0.5418 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.3978, allocations: 0.8202 MB / 0.5426 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.399, allocations: 0.7788 MB / 0.5434 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.4005, allocations: 0.8424 MB / 0.5442 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.4007, allocations: 153.3 kB / 0.5443 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005038/0.4058, allocations: 1.428 MB / 0.5457 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.4062, allocations: 344 kB / 0.5461 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009181/0.4071, allocations: 0.6273 MB / 0.5467 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009356/0.4165, allocations: 3.221 MB / 0.5498 GB, free: 6.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4165, allocations: 0 / 0.5498 GB, free: 6.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4165, allocations: 1.438 kB / 0.5498 GB, free: 6.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.472e-05/0.4165, allocations: 4 kB / 0.5498 GB, free: 6.188 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.003901/0.4204, allocations: 1.802 MB / 0.5516 GB, free: 4.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4204, allocations: 9.875 kB / 0.5516 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.4207, allocations: 187 kB / 0.5518 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.4221, allocations: 322.2 kB / 0.5521 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.4235, allocations: 0.6211 MB / 0.5527 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.4236, allocations: 95.44 kB / 0.5528 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.4238, allocations: 140.3 kB / 0.5529 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.4264, allocations: 1.536 MB / 0.5544 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.4265, allocations: 3.938 kB / 0.5544 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.4266, allocations: 51 kB / 0.5545 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.4266, allocations: 30.25 kB / 0.5545 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.4296, allocations: 1.858 MB / 0.5563 GB, free: 2.238 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.007723/0.4374, allocations: 3.686 MB / 0.5599 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.4394, allocations: 1.255 MB / 0.5611 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.4402, allocations: 495.7 kB / 0.5616 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006078/0.4462, allocations: 2.637 MB / 0.5642 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4463, allocations: 39.22 kB / 0.5642 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004433/0.4467, allocations: 91.34 kB / 0.5643 GB, free: 10.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.4467, allocations: 4 kB / 0.5643 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01743/0.4641, allocations: 4.223 MB / 0.5684 GB, free: 6.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.4642, allocations: 60.41 kB / 0.5685 GB, free: 6.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.465, allocations: 0.6015 MB / 0.5691 GB, free: 5.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.4652, allocations: 45.69 kB / 0.5691 GB, free: 5.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.4656, allocations: 0.5898 MB / 0.5697 GB, free: 5.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.4659, allocations: 360.9 kB / 0.57 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.4663, allocations: 242.8 kB / 0.5703 GB, free: 4.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4665, allocations: 394.7 kB / 0.5706 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/0.4672, allocations: 422.4 kB / 0.571 GB, free: 3.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.4682, allocations: 0.7862 MB / 0.5718 GB, free: 2.672 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.02367/0.4919, allocations: 4.481 MB / 0.5762 GB, free: 14.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4919, allocations: 4 kB / 0.5762 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005538/0.4974, allocations: 1.795 MB / 0.5779 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.4975, allocations: 14.75 kB / 0.578 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.4975, allocations: 12 kB / 0.578 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.5009, allocations: 477.3 kB / 0.5784 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.502, allocations: 295.6 kB / 0.5787 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007223/0.5092, allocations: 4.147 MB / 0.5828 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.5103, allocations: 40 kB / 0.5828 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.5104, allocations: 71.97 kB / 0.5829 GB, free: 6.941 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.0005993/0.511, allocations: 277.3 kB / 0.5831 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.5112, allocations: 95.45 kB / 0.5832 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.5175, allocations: 1.754 MB / 0.5849 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.5175, allocations: 15.94 kB / 0.5849 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.5175, allocations: 3.938 kB / 0.5849 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.5176, allocations: 3.984 kB / 0.585 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007985/0.5256, allocations: 2.749 MB / 0.5876 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.5256, allocations: 4 kB / 0.5876 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.5263, allocations: 191.8 kB / 0.5878 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.5306, allocations: 0.5369 MB / 0.5883 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.5308, allocations: 51.97 kB / 0.5884 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007878/0.5387, allocations: 5.305 MB / 0.5936 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5387, allocations: 0 / 0.5936 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006997/0.5457, allocations: 2.332 MB / 0.5959 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.5461, allocations: 87.38 kB / 0.5959 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5463, allocations: 23.98 kB / 0.596 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.5468, allocations: 32 kB / 0.596 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.547, allocations: 108.7 kB / 0.5961 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5471, allocations: 47.98 kB / 0.5961 GB, free: 8.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.5476, allocations: 387.1 kB / 0.5965 GB, free: 8.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5476, allocations: 0 / 0.5965 GB, free: 8.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002012/0.5496, allocations: 0.6079 MB / 0.5971 GB, free: 7.82 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.008615/0.5582, allocations: 3.418 MB / 0.6004 GB, free: 4.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.561, allocations: 1.387 MB / 0.6018 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.561, allocations: 0 / 0.6018 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.5625, allocations: 0.9589 MB / 0.6027 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5638, allocations: 214.6 kB / 0.6029 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.5839, allocations: 9.601 MB / 0.6123 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.5845, allocations: 486.3 kB / 0.6128 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008935/0.5854, allocations: 234.7 kB / 0.613 GB, free: 6.859 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/0.5861, allocations: 0.5031 MB / 0.6135 GB, free: 6.355 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5861, allocations: 0 / 0.6135 GB, free: 6.355 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08422/0.6703, allocations: 34.38 MB / 0.6471 GB, free: 4.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.24, allocations: 10.09 kB / 0.6471 GB, free: 4.316 MB / 494.1 MB " [Timeout remaining time 646] (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: 17.032405082980404] Failed to read output from testmodel.py, exit status != 0: 14.372774340008618 14.387682185 13.968037992 Calling exit ...