Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.001747/0.001747, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002302/0.002302, allocations: 211.6 kB / 22.24 MB, free: 5.242 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05041/0.05041, allocations: 9.149 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.91 kB / 446.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.1008, allocations: 54.95 MB / 0.4897 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02115/0.1219, allocations: 17.21 MB / 0.5065 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008174/0.1301, allocations: 6.574 MB / 0.5129 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1303, allocations: 4 kB / 0.5129 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000972/0.1312, allocations: 375 kB / 0.5133 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006615/0.1319, allocations: 282.4 kB / 0.5136 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2095/0.3414, allocations: 4.374 MB / 0.5178 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.3418, allocations: 362.8 kB / 0.5182 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.448e-05/0.3418, allocations: 15.09 kB / 0.5182 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.3421, allocations: 166.9 kB / 0.5183 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3422, allocations: 77.09 kB / 0.5184 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.3422, allocations: 5.312 kB / 0.5184 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008924/0.3511, allocations: 4.777 MB / 0.5231 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.3512, allocations: 11.06 kB / 0.5231 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3514, allocations: 77.42 kB / 0.5232 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006688/0.3581, allocations: 2.604 MB / 0.5257 GB, free: 8.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3581, allocations: 0.5625 kB / 0.5257 GB, free: 8.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3581, allocations: 1.906 kB / 0.5257 GB, free: 8.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3581, allocations: 5.203 kB / 0.5257 GB, free: 8.293 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001767/0.3599, allocations: 0.6889 MB / 0.5264 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3599, allocations: 9.406 kB / 0.5264 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.36, allocations: 55.2 kB / 0.5265 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.36, allocations: 17.48 kB / 0.5265 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.3601, allocations: 126.8 kB / 0.5266 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3601, allocations: 1.094 kB / 0.5266 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.3601, allocations: 5.125 kB / 0.5266 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3603, allocations: 186.1 kB / 0.5268 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3603, allocations: 0.6094 kB / 0.5268 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.3603, allocations: 0 / 0.5268 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3604, allocations: 13.77 kB / 0.5268 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3605, allocations: 152.1 kB / 0.5269 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3608, allocations: 284.4 kB / 0.5272 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3609, allocations: 160.2 kB / 0.5274 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.361, allocations: 156.7 kB / 0.5275 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03801/0.399, allocations: 9.232 MB / 0.5365 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3991, allocations: 31.5 kB / 0.5366 GB, free: 5.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.903e-06/0.3991, allocations: 1.469 kB / 0.5366 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007004/0.3998, allocations: 0.5743 MB / 0.5371 GB, free: 5.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3998, allocations: 52.62 kB / 0.5372 GB, free: 5.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.3999, allocations: 105.2 kB / 0.5373 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.3999, allocations: 26.73 kB / 0.5373 GB, free: 5.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.3999, allocations: 81.45 kB / 0.5374 GB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.4, allocations: 208.8 kB / 0.5376 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.4, allocations: 51.91 kB / 0.5376 GB, free: 5.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.4001, allocations: 334.8 kB / 0.5379 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4002, allocations: 149 kB / 0.5381 GB, free: 5.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.4003, allocations: 146.6 kB / 0.5382 GB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.4006, allocations: 365.2 kB / 0.5386 GB, free: 4.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4006, allocations: 0 / 0.5386 GB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003267/0.4009, allocations: 395.9 kB / 0.5389 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4009, allocations: 8.516 kB / 0.539 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4009, allocations: 0 / 0.539 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.401, allocations: 1.219 kB / 0.539 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.401, allocations: 0 / 0.539 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.401, allocations: 5.125 kB / 0.539 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.401, allocations: 20.41 kB / 0.539 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4011, allocations: 1.094 kB / 0.539 GB, free: 4.828 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.4011, allocations: 130.5 kB / 0.5391 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.4012, allocations: 18.83 kB / 0.5391 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.4017, allocations: 0.7359 MB / 0.5398 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4017, allocations: 10.23 kB / 0.5399 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4017, allocations: 0.875 kB / 0.5399 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4017, allocations: 1.078 kB / 0.5399 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.4019, allocations: 272.4 kB / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4019, allocations: 0 / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.4019, allocations: 1.969 kB / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4019, allocations: 0 / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4019, allocations: 0.5625 kB / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4019, allocations: 0 / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4019, allocations: 2.5 kB / 0.5401 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4021, allocations: 346.5 kB / 0.5404 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.4022, allocations: 27.14 kB / 0.5405 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4022, allocations: 9.547 kB / 0.5405 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.4023, allocations: 0 / 0.5405 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.4023, allocations: 11.11 kB / 0.5405 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4023, allocations: 0 / 0.5405 GB, free: 4.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.4023, allocations: 114.1 kB / 0.5406 GB, free: 3.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4023, allocations: 0 / 0.5406 GB, free: 3.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002469/0.4048, allocations: 0.7087 MB / 0.5413 GB, free: 3.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003961/0.4088, allocations: 1.804 MB / 0.5431 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.4091, allocations: 274.6 kB / 0.5433 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4091, allocations: 0 / 0.5433 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.4092, allocations: 119.8 kB / 0.5434 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4103, allocations: 231 kB / 0.5437 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.4132, allocations: 2.68 MB / 0.5463 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.4132, allocations: 130.6 kB / 0.5464 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.4134, allocations: 9.359 kB / 0.5464 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.4134, allocations: 53.95 kB / 0.5465 GB, free: 1.121 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4134, allocations: 0 / 0.5465 GB, free: 1.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06926/0.4827, allocations: 29.77 MB / 0.5755 GB, free: 5.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.87, allocations: 10.42 kB / 0.5755 GB, free: 5.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.401373975910246] Failed to read output from testmodel.py, exit status != 0: 11.99469113489613 12.0188621 11.65627343 Calling exit ...