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.001242/0.001242, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001379/0.001379, allocations: 220.5 kB / 22.25 MB, free: 5.105 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.797 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.1351/0.1351, allocations: 23.92 MB / 336.3 MB, free: 10.91 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.002768/0.002768, allocations: 67.91 kB / 471.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3483, allocations: 59.88 MB / 0.5186 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00673/0.3551, allocations: 5.857 MB / 0.5243 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.3727, allocations: 12.93 MB / 0.537 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.374, allocations: 17.5 kB / 0.537 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3753, allocations: 319.8 kB / 0.5373 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.3796, allocations: 1.096 MB / 0.5383 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.3865, allocations: 1.996 MB / 0.5403 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.3895, allocations: 1.609 MB / 0.5419 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.3909, allocations: 0.8283 MB / 0.5427 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.392, allocations: 0.7748 MB / 0.5434 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3933, allocations: 0.8422 MB / 0.5443 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.3935, allocations: 149.7 kB / 0.5444 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.3982, allocations: 1.425 MB / 0.5458 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.3986, allocations: 345.9 kB / 0.5461 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007833/0.3994, allocations: 0.6286 MB / 0.5467 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.4066, allocations: 3.219 MB / 0.5499 GB, free: 6.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4066, allocations: 0 / 0.5499 GB, free: 6.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4066, allocations: 0 / 0.5499 GB, free: 6.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.06e-05/0.4067, allocations: 5.594 kB / 0.5499 GB, free: 6.152 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.003666/0.4103, allocations: 1.802 MB / 0.5516 GB, free: 4.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4104, allocations: 9.938 kB / 0.5516 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.4106, allocations: 191.2 kB / 0.5518 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.4119, allocations: 321.1 kB / 0.5521 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.4133, allocations: 0.6163 MB / 0.5527 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.4133, allocations: 99.81 kB / 0.5528 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.4136, allocations: 136.6 kB / 0.553 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.4161, allocations: 1.539 MB / 0.5545 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.4161, allocations: 1.062 kB / 0.5545 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.4162, allocations: 54.09 kB / 0.5545 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.4162, allocations: 35.64 kB / 0.5546 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002826/0.4191, allocations: 1.865 MB / 0.5564 GB, free: 2.188 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.007134/0.4262, allocations: 3.675 MB / 0.56 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.4282, allocations: 1.261 MB / 0.5612 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.4289, allocations: 499.4 kB / 0.5617 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005599/0.4345, allocations: 2.637 MB / 0.5642 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4345, allocations: 43.2 kB / 0.5643 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004115/0.435, allocations: 95.34 kB / 0.5644 GB, free: 10.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.435, allocations: 0 / 0.5644 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01743/0.4524, allocations: 4.218 MB / 0.5685 GB, free: 6.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.4525, allocations: 64.39 kB / 0.5686 GB, free: 6.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/0.4533, allocations: 0.6015 MB / 0.5691 GB, free: 5.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.4533, allocations: 45.7 kB / 0.5692 GB, free: 5.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.4538, allocations: 0.5859 MB / 0.5698 GB, free: 4.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.4541, allocations: 364.9 kB / 0.5701 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.4545, allocations: 234.8 kB / 0.5703 GB, free: 4.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4547, allocations: 398.7 kB / 0.5707 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.4554, allocations: 422.4 kB / 0.5711 GB, free: 3.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4564, allocations: 0.7862 MB / 0.5719 GB, free: 2.602 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.02298/0.4794, allocations: 4.489 MB / 0.5763 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.4794, allocations: 4 kB / 0.5763 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005376/0.4848, allocations: 1.787 MB / 0.578 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4848, allocations: 8 kB / 0.578 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.4848, allocations: 15.98 kB / 0.578 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/0.4882, allocations: 481.4 kB / 0.5785 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009792/0.4892, allocations: 295.5 kB / 0.5788 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00717/0.4963, allocations: 4.128 MB / 0.5828 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009072/0.4973, allocations: 47.98 kB / 0.5829 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.4974, allocations: 71.92 kB / 0.5829 GB, free: 6.875 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.0005342/0.4979, allocations: 273.4 kB / 0.5832 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.4981, allocations: 99.44 kB / 0.5833 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/0.5044, allocations: 1.762 MB / 0.585 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.5044, allocations: 12 kB / 0.585 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.5044, allocations: 3.938 kB / 0.585 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5044, allocations: 3.984 kB / 0.585 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007667/0.5121, allocations: 2.757 MB / 0.5877 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.5121, allocations: 4 kB / 0.5877 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.5128, allocations: 195.7 kB / 0.5879 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/0.517, allocations: 0.5373 MB / 0.5884 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.5171, allocations: 43.98 kB / 0.5885 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008061/0.5251, allocations: 5.313 MB / 0.5937 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5251, allocations: 0 / 0.5937 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007199/0.5323, allocations: 2.332 MB / 0.5959 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.5327, allocations: 87.38 kB / 0.596 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.5329, allocations: 28 kB / 0.596 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.5333, allocations: 28 kB / 0.5961 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.5336, allocations: 108.7 kB / 0.5962 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.5337, allocations: 43.98 kB / 0.5962 GB, free: 8.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005384/0.5343, allocations: 391.1 kB / 0.5966 GB, free: 8.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5343, allocations: 0 / 0.5966 GB, free: 8.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002188/0.5364, allocations: 0.5963 MB / 0.5972 GB, free: 7.754 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.008399/0.5448, allocations: 3.414 MB / 0.6005 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002502/0.5473, allocations: 1.383 MB / 0.6019 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5474, allocations: 0 / 0.6019 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.5488, allocations: 0.9705 MB / 0.6028 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5499, allocations: 217.5 kB / 0.603 GB, free: 1.652 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.5688, allocations: 9.597 MB / 0.6124 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.5693, allocations: 490.3 kB / 0.6129 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007743/0.5701, allocations: 238.3 kB / 0.6131 GB, free: 6.785 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/0.5708, allocations: 0.4953 MB / 0.6136 GB, free: 6.289 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5708, allocations: 0 / 0.6136 GB, free: 6.289 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.6498, allocations: 34.38 MB / 0.6471 GB, free: 4.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.46, allocations: 11.69 kB / 0.6471 GB, free: 4.246 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: 17.14186403498752] Failed to read output from testmodel.py, exit status != 0: 14.602912116999505 14.626019875 14.21478444 Calling exit ...