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.001249/0.001249, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001468/0.001468, allocations: 216.7 kB / 22.25 MB, free: 5.125 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.969 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.1289/0.1289, allocations: 23.85 MB / 336.3 MB, free: 11.19 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.002028/0.002028, allocations: 63.91 kB / 471.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 59.85 MB / 0.5186 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006694/0.2949, allocations: 6.646 MB / 0.5251 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.3115, allocations: 14.71 MB / 0.5394 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.3127, allocations: 22.19 kB / 0.5394 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.3137, allocations: 347.1 kB / 0.5398 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.317, allocations: 1.111 MB / 0.5409 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.3224, allocations: 2.003 MB / 0.5428 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.3247, allocations: 1.606 MB / 0.5444 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3258, allocations: 0.8175 MB / 0.5452 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009079/0.3267, allocations: 0.7815 MB / 0.5459 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.3278, allocations: 0.8416 MB / 0.5468 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.328, allocations: 149.9 kB / 0.5469 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.3327, allocations: 1.483 MB / 0.5484 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.333, allocations: 342.7 kB / 0.5487 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007968/0.3338, allocations: 0.7498 MB / 0.5494 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00611/0.34, allocations: 3.224 MB / 0.5526 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.34, allocations: 0 / 0.5526 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.34, allocations: 1.312 kB / 0.5526 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.34, allocations: 4 kB / 0.5526 GB, free: 3.336 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.003634/0.3436, allocations: 1.812 MB / 0.5543 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3437, allocations: 10.72 kB / 0.5544 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002247/0.3439, allocations: 187.1 kB / 0.5545 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.3452, allocations: 322 kB / 0.5548 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.3465, allocations: 0.6166 MB / 0.5554 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.3466, allocations: 98.56 kB / 0.5555 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.3468, allocations: 140.7 kB / 0.5557 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.3495, allocations: 1.535 MB / 0.5572 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.3496, allocations: 0 / 0.5572 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.3497, allocations: 51.38 kB / 0.5572 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.3497, allocations: 34.06 kB / 0.5572 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.3528, allocations: 1.88 MB / 0.5591 GB, free: 15.38 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.007708/0.3605, allocations: 4.613 MB / 0.5636 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.3625, allocations: 1.259 MB / 0.5648 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.3632, allocations: 491.7 kB / 0.5653 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005493/0.3687, allocations: 2.782 MB / 0.568 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3687, allocations: 39.22 kB / 0.568 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003721/0.3691, allocations: 91.34 kB / 0.5681 GB, free: 6.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.023e-06/0.3691, allocations: 0 / 0.5681 GB, free: 6.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01919/0.3883, allocations: 4.217 MB / 0.5722 GB, free: 2.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3883, allocations: 60.41 kB / 0.5723 GB, free: 2.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.3891, allocations: 0.5822 MB / 0.5729 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.3892, allocations: 41.7 kB / 0.5729 GB, free: 1.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.3896, allocations: 0.5937 MB / 0.5735 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.3899, allocations: 368.9 kB / 0.5738 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.3903, allocations: 238.8 kB / 0.5741 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.3905, allocations: 394.7 kB / 0.5744 GB, free: 284 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.3912, allocations: 426.4 kB / 0.5749 GB, free: 15.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.3922, allocations: 0.7784 MB / 0.5756 GB, free: 14.92 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.02467/0.4169, allocations: 4.493 MB / 0.58 GB, free: 10.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4169, allocations: 0 / 0.58 GB, free: 10.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006025/0.4229, allocations: 1.783 MB / 0.5817 GB, free: 8.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.423, allocations: 12 kB / 0.5818 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.423, allocations: 8 kB / 0.5818 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/0.4268, allocations: 493 kB / 0.5822 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4278, allocations: 295.5 kB / 0.5825 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.435, allocations: 4.201 MB / 0.5866 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/0.4358, allocations: 40 kB / 0.5867 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.4359, allocations: 67.98 kB / 0.5867 GB, free: 3.133 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.0005032/0.4364, allocations: 281.9 kB / 0.587 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.4366, allocations: 87.44 kB / 0.5871 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006672/0.4433, allocations: 1.762 MB / 0.5888 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-06/0.4433, allocations: 8 kB / 0.5888 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4433, allocations: 7.938 kB / 0.5888 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4433, allocations: 7.969 kB / 0.5888 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/0.4512, allocations: 2.924 MB / 0.5917 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4512, allocations: 4 kB / 0.5917 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.4519, allocations: 191.8 kB / 0.5919 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004735/0.4567, allocations: 0.541 MB / 0.5924 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.4568, allocations: 43.97 kB / 0.5924 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008108/0.4649, allocations: 5.367 MB / 0.5977 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4649, allocations: 4 kB / 0.5977 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007441/0.4723, allocations: 2.335 MB / 0.6 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.4726, allocations: 83.33 kB / 0.6 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4727, allocations: 28.03 kB / 0.6001 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.4732, allocations: 32 kB / 0.6001 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.4735, allocations: 104.7 kB / 0.6002 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.4736, allocations: 47.98 kB / 0.6002 GB, free: 4.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004957/0.474, allocations: 383.1 kB / 0.6006 GB, free: 4.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.474, allocations: 0 / 0.6006 GB, free: 4.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001839/0.4759, allocations: 0.6002 MB / 0.6012 GB, free: 3.773 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.008881/0.4848, allocations: 3.423 MB / 0.6045 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.4873, allocations: 1.39 MB / 0.6059 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4873, allocations: 4 kB / 0.6059 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.4887, allocations: 0.9592 MB / 0.6068 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4899, allocations: 210.7 kB / 0.607 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/0.5097, allocations: 9.589 MB / 0.6164 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.5105, allocations: 1.069 MB / 0.6174 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007819/0.5112, allocations: 231.1 kB / 0.6177 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/0.5119, allocations: 0.507 MB / 0.6182 GB, free: 1.723 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5119, allocations: 0 / 0.6182 GB, free: 1.723 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07757/0.5895, allocations: 33.33 MB / 0.6507 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.25, allocations: 0 / 0.6507 GB, free: 0.6562 MB / 494.1 MB " [Timeout remaining time 644] (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: 20.837722495998605] Failed to read output from testmodel.py, exit status != 0: 16.38292770300177 16.396798488 16.053911603 Calling exit ...