Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.0009539/0.0009539, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001122/0.001122, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9064/0.9064, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02842/0.02842, allocations: 7.514 MB / 266.7 MB, free: 6.191 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.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 391.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.111e-05, allocations: 5.094 kB / 391.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.228/0.2281, allocations: 115.6 MB / 0.4955 GB, free: 7.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2905/0.5185, allocations: 98.67 MB / 0.5919 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005186/0.5191, allocations: 14 kB / 0.5919 GB, free: 500 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.5217, allocations: 1.244 MB / 0.5931 GB, free: 492 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.5244, allocations: 1.599 MB / 0.5947 GB, free: 476 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05543/0.5799, allocations: 31.68 MB / 0.6256 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.5818, allocations: 1.428 MB / 0.627 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.582, allocations: 77.83 kB / 0.6271 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.5939, allocations: 9.53 MB / 0.6364 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005554/0.5945, allocations: 337.5 kB / 0.6367 GB, free: 9.984 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.5946, allocations: 46.28 kB / 0.6367 GB, free: 9.984 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0395/0.6341, allocations: 24.44 MB / 0.6606 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.6343, allocations: 130.4 kB / 0.6607 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.6348, allocations: 218 kB / 0.6609 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03555/0.6704, allocations: 14.45 MB / 0.675 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.6704, allocations: 2.062 kB / 0.675 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6704, allocations: 0 / 0.675 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.6704, allocations: 0 / 0.675 GB, free: 5.125 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.005558/0.676, allocations: 2.587 MB / 0.6776 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.676, allocations: 12.56 kB / 0.6776 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.6761, allocations: 85.55 kB / 0.6777 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/0.6765, allocations: 95.56 kB / 0.6778 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.6769, allocations: 275 kB / 0.678 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.6769, allocations: 29.09 kB / 0.678 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.677, allocations: 35.81 kB / 0.6781 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6781, allocations: 0.7612 MB / 0.6788 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.6781, allocations: 4 kB / 0.6788 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.6782, allocations: 14.19 kB / 0.6788 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.6782, allocations: 16.47 kB / 0.6789 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.6789, allocations: 0.5594 MB / 0.6794 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.6804, allocations: 1.708 MB / 0.6811 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.6811, allocations: 485.6 kB / 0.6815 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.6814, allocations: 319.2 kB / 0.6818 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09633/0.7777, allocations: 44.04 MB / 0.7248 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.7777, allocations: 42.84 kB / 0.7249 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=79): time 3.406e-06/0.7777, allocations: 3.984 kB / 0.7249 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83): time 0.00356/0.7813, allocations: 2.236 MB / 0.7271 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.7813, allocations: 59.41 kB / 0.7271 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.7815, allocations: 257.8 kB / 0.7274 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7815, allocations: 36.33 kB / 0.7274 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.7816, allocations: 189.4 kB / 0.7276 GB, free: 464 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.7817, allocations: 282.5 kB / 0.7279 GB, free: 184 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.7818, allocations: 94.17 kB / 0.728 GB, free: 84 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.7819, allocations: 350.8 kB / 0.7283 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.7822, allocations: 277.3 kB / 0.7286 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.7826, allocations: 409 kB / 0.7289 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.7832, allocations: 0.7295 MB / 0.7297 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7832, allocations: 4 kB / 0.7297 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008755/0.7841, allocations: 0.8085 MB / 0.7304 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7841, allocations: 7.938 kB / 0.7305 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7841, allocations: 4 kB / 0.7305 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.7843, allocations: 69.33 kB / 0.7305 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.7845, allocations: 98.94 kB / 0.7306 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03394/0.8184, allocations: 17.06 MB / 0.7473 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.8187, allocations: 27.97 kB / 0.7473 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.8187, allocations: 20.06 kB / 0.7473 GB, free: 11.7 MB / 0.573 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.0002147/0.8189, allocations: 206.4 kB / 0.7475 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.819, allocations: 43.72 kB / 0.7476 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.8203, allocations: 1.588 MB / 0.7491 GB, free: 9.801 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.8203, allocations: 9.703 kB / 0.7491 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8203, allocations: 7.875 kB / 0.7491 GB, free: 9.785 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008443/0.8211, allocations: 1.172 MB / 0.7503 GB, free: 8.527 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.8225, allocations: 1.547 MB / 0.7518 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8225, allocations: 0 / 0.7518 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.8227, allocations: 83.59 kB / 0.7519 GB, free: 6.859 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.8228, allocations: 48.83 kB / 0.7519 GB, free: 6.809 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.8228, allocations: 8 kB / 0.7519 GB, free: 6.801 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008573/0.8237, allocations: 1.322 MB / 0.7532 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8237, allocations: 0 / 0.7532 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8248, allocations: 1.209 MB / 0.7544 GB, free: 4.141 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.8248, allocations: 47.73 kB / 0.7544 GB, free: 4.094 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.8248, allocations: 8 kB / 0.7544 GB, free: 4.086 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.825, allocations: 27.97 kB / 0.7545 GB, free: 4.059 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.8251, allocations: 43.92 kB / 0.7545 GB, free: 4.016 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.8251, allocations: 15.98 kB / 0.7545 GB, free: 4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000163/0.8252, allocations: 239.1 kB / 0.7548 GB, free: 3.766 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8252, allocations: 0 / 0.7548 GB, free: 3.766 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006621/0.8319, allocations: 3.576 MB / 0.7582 GB, free: 184 kB / 0.573 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.01192/0.8438, allocations: 6.632 MB / 0.7647 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.8449, allocations: 0.9242 MB / 0.7656 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8449, allocations: 0 / 0.7656 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.8453, allocations: 479 kB / 0.7661 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.8463, allocations: 369.6 kB / 0.7664 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/0.8553, allocations: 6.368 MB / 0.7727 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.8556, allocations: 246.3 kB / 0.7729 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004578/0.856, allocations: 166.1 kB / 0.773 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.8562, allocations: 175.7 kB / 0.7732 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of SimCode: time 7.71e-07/0.8562, allocations: 0 / 0.7732 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.288/1.144, allocations: 135.1 MB / 0.9051 GB, free: 218.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.99, allocations: 4.062 kB / 0.9051 GB, free: 218.6 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph_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_R134a_ASHRAE_TestModel_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.100781317800283] Failed to read output from testmodel.py, exit status != 0: 12.143877164460719 12.152116305 11.479488244 Calling exit ...