Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00132/0.00132, 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.001547/0.001547, allocations: 213.2 kB / 22.24 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1495/0.1495, allocations: 23.99 MB / 336.4 MB, free: 10.9 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_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.002222/0.002222, allocations: 63.91 kB / 471.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3519, allocations: 59.9 MB / 0.5187 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006859/0.3587, allocations: 5.873 MB / 0.5245 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.3753, allocations: 12.92 MB / 0.5371 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.3764, allocations: 17.69 kB / 0.5371 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.3775, allocations: 320.4 kB / 0.5374 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003855/0.3813, allocations: 1.091 MB / 0.5385 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006574/0.3879, allocations: 2 MB / 0.5404 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.3909, allocations: 1.617 MB / 0.542 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.3922, allocations: 0.7975 MB / 0.5428 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.3932, allocations: 0.7747 MB / 0.5435 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3944, allocations: 0.749 MB / 0.5443 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.3947, allocations: 154.3 kB / 0.5444 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.4003, allocations: 1.386 MB / 0.5458 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.4007, allocations: 344 kB / 0.5461 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009762/0.4017, allocations: 0.6327 MB / 0.5467 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009982/0.4117, allocations: 3.218 MB / 0.5499 GB, free: 6.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4117, allocations: 0 / 0.5499 GB, free: 6.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4117, allocations: 0 / 0.5499 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.4117, allocations: 0 / 0.5499 GB, free: 6.289 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.00399/0.4157, allocations: 1.803 MB / 0.5516 GB, free: 5.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4157, allocations: 9.594 kB / 0.5516 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/0.416, allocations: 187.5 kB / 0.5518 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.4174, allocations: 321 kB / 0.5521 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.4188, allocations: 0.6215 MB / 0.5527 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.4189, allocations: 98.03 kB / 0.5528 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.4191, allocations: 138 kB / 0.5529 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.4217, allocations: 1.543 MB / 0.5545 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.4217, allocations: 0 / 0.5545 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4219, allocations: 55 kB / 0.5545 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.4219, allocations: 30.25 kB / 0.5545 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.4248, allocations: 1.859 MB / 0.5564 GB, free: 2.332 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.007876/0.4327, allocations: 3.69 MB / 0.56 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.4349, allocations: 1.26 MB / 0.5612 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.4357, allocations: 487.7 kB / 0.5616 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006042/0.4417, allocations: 2.634 MB / 0.5642 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.4418, allocations: 43.22 kB / 0.5643 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004533/0.4422, allocations: 91.33 kB / 0.5643 GB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.005e-06/0.4422, allocations: 0 / 0.5643 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01904/0.4612, allocations: 4.222 MB / 0.5685 GB, free: 6.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4613, allocations: 68.41 kB / 0.5685 GB, free: 6.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.4621, allocations: 0.6015 MB / 0.5691 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.539e-05/0.4622, allocations: 41.7 kB / 0.5692 GB, free: 5.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.4627, allocations: 0.5898 MB / 0.5697 GB, free: 5.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.4631, allocations: 364.9 kB / 0.5701 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.4634, allocations: 238.8 kB / 0.5703 GB, free: 4.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.4637, allocations: 398.7 kB / 0.5707 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/0.4645, allocations: 418.4 kB / 0.5711 GB, free: 3.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.4657, allocations: 0.7862 MB / 0.5719 GB, free: 2.684 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.0257/0.4914, allocations: 4.493 MB / 0.5763 GB, free: 14.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.4914, allocations: 4 kB / 0.5763 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005999/0.4974, allocations: 1.787 MB / 0.578 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.4974, allocations: 8 kB / 0.578 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.4974, allocations: 12 kB / 0.578 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003694/0.5011, allocations: 477.2 kB / 0.5785 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5022, allocations: 291.5 kB / 0.5788 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007698/0.5099, allocations: 4.147 MB / 0.5828 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/0.5108, allocations: 43.94 kB / 0.5828 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.5109, allocations: 71.98 kB / 0.5829 GB, free: 6.949 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.0005268/0.5115, allocations: 277.4 kB / 0.5832 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.5117, allocations: 91.39 kB / 0.5833 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006891/0.5186, allocations: 1.762 MB / 0.585 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5186, allocations: 8 kB / 0.585 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5186, allocations: 11.92 kB / 0.585 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.5186, allocations: 3.984 kB / 0.585 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008512/0.5271, allocations: 2.741 MB / 0.5877 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.5271, allocations: 4 kB / 0.5877 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.5279, allocations: 195.7 kB / 0.5879 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/0.5328, allocations: 0.5333 MB / 0.5884 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.533, allocations: 35.98 kB / 0.5884 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008997/0.542, allocations: 5.328 MB / 0.5936 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.542, allocations: 4.031 kB / 0.5936 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007669/0.5496, allocations: 2.324 MB / 0.5959 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.55, allocations: 83.42 kB / 0.596 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5501, allocations: 24 kB / 0.596 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.5506, allocations: 27.98 kB / 0.596 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.5509, allocations: 108.6 kB / 0.5961 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.551, allocations: 51.97 kB / 0.5962 GB, free: 8.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.5516, allocations: 387.1 kB / 0.5966 GB, free: 8.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5516, allocations: 3.828 kB / 0.5966 GB, free: 8.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002098/0.5537, allocations: 0.6002 MB / 0.5971 GB, free: 7.84 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.009085/0.5627, allocations: 3.419 MB / 0.6005 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.5653, allocations: 1.387 MB / 0.6018 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5654, allocations: 0 / 0.6018 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.5669, allocations: 0.9628 MB / 0.6028 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5681, allocations: 215.1 kB / 0.603 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.5889, allocations: 9.593 MB / 0.6124 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.5895, allocations: 490.3 kB / 0.6128 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008765/0.5904, allocations: 234.3 kB / 0.613 GB, free: 6.883 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/0.5911, allocations: 0.4992 MB / 0.6135 GB, free: 6.383 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5911, allocations: 0 / 0.6135 GB, free: 6.383 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08623/0.6774, allocations: 33.98 MB / 0.6467 GB, free: 4.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.29, allocations: 9.969 kB / 0.6467 GB, free: 4.738 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.187675390858203] Failed to read output from testmodel.py, exit status != 0: 15.437288933899254 15.461288102 15.044525002 Calling exit ...