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.001317/0.001317, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001554/0.001554, allocations: 218.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 207.6 MB / 233 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05207/0.05207, allocations: 9.16 MB / 294.4 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003657/0.003657, allocations: 64.2 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09896, allocations: 50.76 MB / 461.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3423/0.4412, allocations: 130.3 MB / 0.5783 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.122/0.5632, allocations: 111.5 MB / 0.6872 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.5638, allocations: 7.938 kB / 0.6872 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.5672, allocations: 1.547 MB / 0.6887 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.5713, allocations: 1.829 MB / 0.6905 GB, free: 3.043 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07887/0.6502, allocations: 31.37 MB / 0.7211 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.6522, allocations: 1.421 MB / 0.7225 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.6525, allocations: 93.89 kB / 0.7226 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01729/0.6698, allocations: 9.364 MB / 0.7317 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.6705, allocations: 394.4 kB / 0.7321 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.6706, allocations: 40 kB / 0.7321 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3001/0.9706, allocations: 36.36 MB / 0.7676 GB, free: 46.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.9708, allocations: 116.6 kB / 0.7678 GB, free: 46.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.9713, allocations: 312.3 kB / 0.7681 GB, free: 46.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03931/1.011, allocations: 14.13 MB / 0.7818 GB, free: 45.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.011, allocations: 0 / 0.7818 GB, free: 45.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/1.011, allocations: 4.875 kB / 0.7819 GB, free: 45.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.011, allocations: 0 / 0.7819 GB, free: 45.84 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.006312/1.017, allocations: 2.599 MB / 0.7844 GB, free: 44.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.017, allocations: 14.17 kB / 0.7844 GB, free: 44.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/1.017, allocations: 88.53 kB / 0.7845 GB, free: 44.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/1.018, allocations: 93.36 kB / 0.7846 GB, free: 44.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/1.018, allocations: 278.5 kB / 0.7848 GB, free: 44.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/1.018, allocations: 28.34 kB / 0.7849 GB, free: 44.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/1.018, allocations: 35.02 kB / 0.7849 GB, free: 44.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/1.019, allocations: 0.6124 MB / 0.7855 GB, free: 44.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.019, allocations: 3.844 kB / 0.7855 GB, free: 44.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/1.019, allocations: 14.95 kB / 0.7855 GB, free: 44.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/1.019, allocations: 21.7 kB / 0.7855 GB, free: 44.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.021, allocations: 0.5582 MB / 0.7861 GB, free: 44.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/1.023, allocations: 2.523 MB / 0.7886 GB, free: 42.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.024, allocations: 494.8 kB / 0.789 GB, free: 42.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/1.024, allocations: 312.8 kB / 0.7893 GB, free: 42.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2011/1.225, allocations: 43.91 MB / 0.8322 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.225, allocations: 39.22 kB / 0.8322 GB, free: 15.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.464e-06/1.225, allocations: 0 / 0.8322 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005796/1.231, allocations: 2.239 MB / 0.8344 GB, free: 13.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/1.231, allocations: 59.39 kB / 0.8345 GB, free: 13.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.231, allocations: 247 kB / 0.8347 GB, free: 13.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/1.231, allocations: 37.5 kB / 0.8348 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/1.231, allocations: 188.5 kB / 0.8349 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/1.231, allocations: 281.4 kB / 0.8352 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.232, allocations: 100.1 kB / 0.8353 GB, free: 13.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/1.232, allocations: 350.1 kB / 0.8356 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/1.232, allocations: 285.7 kB / 0.8359 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/1.233, allocations: 405.8 kB / 0.8363 GB, free: 12.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/1.234, allocations: 0.7236 MB / 0.837 GB, free: 11.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.234, allocations: 2.406 kB / 0.837 GB, free: 11.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001368/1.235, allocations: 0.8062 MB / 0.8378 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.235, allocations: 13.97 kB / 0.8378 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.235, allocations: 4 kB / 0.8378 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/1.235, allocations: 60.44 kB / 0.8379 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.236, allocations: 98.91 kB / 0.838 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06806/1.304, allocations: 17.09 MB / 0.8546 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/1.304, allocations: 31.78 kB / 0.8547 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/1.304, allocations: 12 kB / 0.8547 GB, free: 10.49 MB / 0.5606 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.0003169/1.304, allocations: 195.5 kB / 0.8549 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/1.305, allocations: 43.72 kB / 0.8549 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/1.307, allocations: 1.584 MB / 0.8565 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/1.307, allocations: 10.33 kB / 0.8565 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.307, allocations: 0 / 0.8565 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/1.308, allocations: 1.181 MB / 0.8576 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/1.311, allocations: 1.609 MB / 0.8592 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.311, allocations: 0 / 0.8592 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/1.311, allocations: 88.94 kB / 0.8593 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/1.311, allocations: 36.44 kB / 0.8593 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/1.311, allocations: 15.86 kB / 0.8593 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.312, allocations: 1.317 MB / 0.8606 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.312, allocations: 0 / 0.8606 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/1.314, allocations: 1.219 MB / 0.8618 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.315, allocations: 38 kB / 0.8618 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/1.315, allocations: 8.312 kB / 0.8618 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/1.315, allocations: 30.16 kB / 0.8619 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.315, allocations: 43.55 kB / 0.8619 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/1.315, allocations: 22.17 kB / 0.8619 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002769/1.315, allocations: 243.9 kB / 0.8622 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.315, allocations: 0 / 0.8622 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009633/1.325, allocations: 3.575 MB / 0.8657 GB, free: 0.8867 MB / 0.5606 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.02283/1.348, allocations: 6.241 MB / 0.8718 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.35, allocations: 0.9231 MB / 0.8727 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.35, allocations: 3.094 kB / 0.8727 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/1.351, allocations: 482.3 kB / 0.8731 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.353, allocations: 394.5 kB / 0.8735 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/1.369, allocations: 6.386 MB / 0.8797 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.369, allocations: 0.8526 MB / 0.8806 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005826/1.37, allocations: 170.1 kB / 0.8807 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/1.37, allocations: 168.5 kB / 0.8809 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/1.37, allocations: 0 / 0.8809 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4301/1.8, allocations: 133.2 MB / 1.011 GB, free: 241.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/20.74, allocations: 4.938 kB / 1.011 GB, free: 241.5 MB / 0.67 GB " [Timeout remaining time 639] (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: 26.22588212100527] Failed to read output from testmodel.py, exit status != 0: 20.9384327450025 20.962271933 19.947155136 Calling exit ...