Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.0009745/0.0009745, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008198/0.0008198, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8589/0.8589, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.02854/0.02854, allocations: 7.509 MB / 266.7 MB, free: 6.188 MB / 250.7 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.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.752e-05, allocations: 2.281 kB / 391.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.2273/0.2273, allocations: 114.8 MB / 0.4947 GB, free: 24.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05669/0.284, allocations: 98.61 MB / 0.591 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004954/0.2845, allocations: 7.938 kB / 0.591 GB, free: 8.359 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.2866, allocations: 1.251 MB / 0.5922 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.2889, allocations: 1.598 MB / 0.5938 GB, free: 5.5 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04685/0.3358, allocations: 31.68 MB / 0.6247 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3371, allocations: 1.433 MB / 0.6261 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3373, allocations: 89.64 kB / 0.6262 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2075/0.5447, allocations: 9.515 MB / 0.6355 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.5451, allocations: 336.2 kB / 0.6358 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.5451, allocations: 42.69 kB / 0.6358 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03319/0.5783, allocations: 24.44 MB / 0.6597 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.5785, allocations: 132.8 kB / 0.6598 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.5789, allocations: 216.5 kB / 0.66 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02769/0.6066, allocations: 14.45 MB / 0.6741 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6066, allocations: 0 / 0.6741 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6066, allocations: 4 kB / 0.6741 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6066, allocations: 1.938 kB / 0.6742 GB, free: 29.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003727/0.6103, allocations: 2.583 MB / 0.6767 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6104, allocations: 11.5 kB / 0.6767 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.6104, allocations: 89.12 kB / 0.6768 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.6108, allocations: 91.36 kB / 0.6769 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6111, allocations: 283.2 kB / 0.6771 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.6111, allocations: 29.22 kB / 0.6772 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.6112, allocations: 33.38 kB / 0.6772 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.6119, allocations: 0.7668 MB / 0.6779 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6119, allocations: 0 / 0.6779 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.6119, allocations: 14.88 kB / 0.678 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.612, allocations: 15.78 kB / 0.678 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.6126, allocations: 0.5524 MB / 0.6785 GB, free: 27.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6138, allocations: 1.711 MB / 0.6802 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.6144, allocations: 486.9 kB / 0.6806 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.6147, allocations: 317.6 kB / 0.6809 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08966/0.7044, allocations: 44.03 MB / 0.7239 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.7044, allocations: 33.97 kB / 0.724 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=79): time 2.495e-06/0.7044, allocations: 4 kB / 0.724 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=83): time 0.003442/0.7078, allocations: 2.245 MB / 0.7262 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.7079, allocations: 59.39 kB / 0.7262 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.708, allocations: 250.9 kB / 0.7265 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.7081, allocations: 41.38 kB / 0.7265 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.7081, allocations: 175.9 kB / 0.7267 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.7082, allocations: 281.6 kB / 0.7269 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.7083, allocations: 101.6 kB / 0.727 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.7084, allocations: 359.1 kB / 0.7274 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.7087, allocations: 277.8 kB / 0.7276 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.709, allocations: 406.2 kB / 0.728 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.7096, allocations: 0.726 MB / 0.7287 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7096, allocations: 1.688 kB / 0.7287 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008979/0.7105, allocations: 0.8159 MB / 0.7295 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7105, allocations: 9.938 kB / 0.7295 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7105, allocations: 4 kB / 0.7296 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.7107, allocations: 57.5 kB / 0.7296 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.7109, allocations: 101.6 kB / 0.7297 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03428/0.7452, allocations: 17 MB / 0.7463 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.7455, allocations: 35.66 kB / 0.7463 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.7455, allocations: 15.94 kB / 0.7464 GB, free: 9.969 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.7457, allocations: 190 kB / 0.7465 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.7458, allocations: 50.94 kB / 0.7466 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.747, allocations: 1.587 MB / 0.7481 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.747, allocations: 7.938 kB / 0.7481 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.747, allocations: 0.875 kB / 0.7481 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008117/0.7478, allocations: 1.183 MB / 0.7493 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.7491, allocations: 1.542 MB / 0.7508 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7491, allocations: 7.984 kB / 0.7508 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.7492, allocations: 78.39 kB / 0.7509 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.7494, allocations: 52.5 kB / 0.7509 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.7494, allocations: 8.875 kB / 0.7509 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006079/0.75, allocations: 1.319 MB / 0.7522 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.75, allocations: 4.031 kB / 0.7522 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.7512, allocations: 1.203 MB / 0.7534 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.7513, allocations: 39.44 kB / 0.7534 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.7513, allocations: 7.938 kB / 0.7535 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.7514, allocations: 23.91 kB / 0.7535 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.7515, allocations: 43.48 kB / 0.7535 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.7515, allocations: 19.92 kB / 0.7535 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001559/0.7517, allocations: 240.4 kB / 0.7538 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7517, allocations: 0 / 0.7538 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006646/0.7583, allocations: 3.576 MB / 0.7573 GB, free: 420 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01203/0.7704, allocations: 6.63 MB / 0.7637 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.7715, allocations: 0.9129 MB / 0.7646 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7715, allocations: 0 / 0.7646 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.7719, allocations: 478.8 kB / 0.7651 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.7729, allocations: 389.7 kB / 0.7655 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/0.7799, allocations: 6.348 MB / 0.7717 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.78, allocations: 250.3 kB / 0.7719 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.7803, allocations: 165.2 kB / 0.772 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7805, allocations: 171.6 kB / 0.7722 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.7805, allocations: 4 kB / 0.7722 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3083/1.089, allocations: 134.1 MB / 0.9032 GB, free: 209.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.68, allocations: 12.58 kB / 0.9032 GB, free: 209.4 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.764216408133507] Failed to read output from testmodel.py, exit status != 0: 11.836510218679905 11.847184733 11.238862194 Calling exit ...