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.001359/0.001359, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001509/0.001509, allocations: 213.7 kB / 22.25 MB, free: 5.262 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.785 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.04946/0.04946, allocations: 9.144 MB / 321.6 MB, free: 10.21 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.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 0.001912/0.001912, allocations: 67.91 kB / 446.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1009, allocations: 54.94 MB / 0.4897 GB, free: 9.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3539/0.4548, allocations: 115.8 MB / 0.6028 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1087/0.5635, allocations: 98.68 MB / 0.6992 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.5641, allocations: 7.938 kB / 0.6992 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.5674, allocations: 1.23 MB / 0.7004 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.5712, allocations: 1.567 MB / 0.7019 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3921/0.9633, allocations: 31.17 MB / 0.7324 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.9652, allocations: 1.416 MB / 0.7338 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.9654, allocations: 79.58 kB / 0.7338 GB, free: 21.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.981, allocations: 9.203 MB / 0.7428 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.9816, allocations: 370.8 kB / 0.7432 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.9816, allocations: 42.38 kB / 0.7432 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04829/1.03, allocations: 24.25 MB / 0.7669 GB, free: 21.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/1.03, allocations: 128.5 kB / 0.767 GB, free: 21.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006437/1.031, allocations: 246.9 kB / 0.7673 GB, free: 21.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03878/1.07, allocations: 12.3 MB / 0.7793 GB, free: 20.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.07, allocations: 1.203 kB / 0.7793 GB, free: 20.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.315e-06/1.07, allocations: 0 / 0.7793 GB, free: 20.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.07, allocations: 0 / 0.7793 GB, free: 20.45 MB / 0.545 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.008717/1.078, allocations: 2.588 MB / 0.7818 GB, free: 18.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.078, allocations: 11.19 kB / 0.7818 GB, free: 18.85 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/1.079, allocations: 85.05 kB / 0.7819 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/1.08, allocations: 88.5 kB / 0.782 GB, free: 18.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/1.08, allocations: 282.4 kB / 0.7823 GB, free: 18.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/1.08, allocations: 37.31 kB / 0.7823 GB, free: 18.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/1.08, allocations: 31.69 kB / 0.7823 GB, free: 18.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.082, allocations: 0.7612 MB / 0.7831 GB, free: 18.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.082, allocations: 0.875 kB / 0.7831 GB, free: 18.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/1.082, allocations: 13.38 kB / 0.7831 GB, free: 18.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/1.082, allocations: 22.91 kB / 0.7831 GB, free: 18.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/1.084, allocations: 0.551 MB / 0.7836 GB, free: 18.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/1.087, allocations: 1.712 MB / 0.7853 GB, free: 17.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.088, allocations: 486.4 kB / 0.7858 GB, free: 17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/1.088, allocations: 316.2 kB / 0.7861 GB, free: 16.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1898/1.278, allocations: 44.03 MB / 0.8291 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/1.278, allocations: 43.66 kB / 0.8291 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/1.278, allocations: 4 kB / 0.8291 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005579/1.283, allocations: 2.241 MB / 0.8313 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.284, allocations: 55.41 kB / 0.8314 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/1.284, allocations: 254.9 kB / 0.8316 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/1.284, allocations: 33.58 kB / 0.8316 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.284, allocations: 188.5 kB / 0.8318 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/1.284, allocations: 285.4 kB / 0.8321 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.284, allocations: 96.8 kB / 0.8322 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.284, allocations: 353.6 kB / 0.8325 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/1.285, allocations: 284.7 kB / 0.8328 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/1.285, allocations: 406.3 kB / 0.8332 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.286, allocations: 0.7307 MB / 0.8339 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.286, allocations: 0.6562 kB / 0.8339 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00138/1.288, allocations: 0.8062 MB / 0.8347 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.288, allocations: 8 kB / 0.8347 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.288, allocations: 4 kB / 0.8347 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/1.288, allocations: 61.7 kB / 0.8347 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/1.289, allocations: 103.1 kB / 0.8348 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06694/1.355, allocations: 17.06 MB / 0.8515 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/1.356, allocations: 30.91 kB / 0.8515 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/1.356, allocations: 20.44 kB / 0.8516 GB, free: 9.703 MB / 0.5919 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.0002908/1.356, allocations: 198.9 kB / 0.8517 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/1.356, allocations: 43.72 kB / 0.8518 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/1.358, allocations: 1.585 MB / 0.8533 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.358, allocations: 14.92 kB / 0.8534 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.358, allocations: 0 / 0.8534 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/1.36, allocations: 1.177 MB / 0.8545 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/1.362, allocations: 1.547 MB / 0.856 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.362, allocations: 0 / 0.856 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/1.362, allocations: 84.94 kB / 0.8561 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/1.363, allocations: 52.45 kB / 0.8561 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/1.363, allocations: 3.812 kB / 0.8561 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/1.364, allocations: 1.318 MB / 0.8574 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.364, allocations: 2.812 kB / 0.8574 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/1.366, allocations: 1.218 MB / 0.8586 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/1.366, allocations: 40.27 kB / 0.8587 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/1.366, allocations: 11.62 kB / 0.8587 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/1.366, allocations: 27.09 kB / 0.8587 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.366, allocations: 42.55 kB / 0.8587 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/1.366, allocations: 14.42 kB / 0.8588 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000311/1.367, allocations: 242.9 kB / 0.859 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/1.367, allocations: 0 / 0.859 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01239/1.379, allocations: 3.575 MB / 0.8625 GB, free: 144 kB / 0.5919 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.02191/1.401, allocations: 6.247 MB / 0.8686 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.403, allocations: 0.9222 MB / 0.8695 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.403, allocations: 0.6562 kB / 0.8695 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008185/1.404, allocations: 480.5 kB / 0.8699 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.406, allocations: 384.3 kB / 0.8703 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.419, allocations: 6.414 MB / 0.8766 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/1.419, allocations: 246.3 kB / 0.8768 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004983/1.42, allocations: 168.8 kB / 0.877 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.42, allocations: 170.7 kB / 0.8771 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/1.42, allocations: 0.7656 kB / 0.8771 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4943/1.914, allocations: 134.5 MB / 1.008 GB, free: 247.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/19.09, allocations: 7.266 kB / 1.008 GB, free: 247.1 MB / 0.7012 GB " [Timeout remaining time 641] (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: 24.45808634813875] Failed to read output from testmodel.py, exit status != 0: 19.28261713311076 19.295625602 18.223240493 Calling exit ...