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.001784/0.001784, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.002262/0.002262, allocations: 214.5 kB / 22.25 MB, free: 5.105 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.498/1.498, 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.06642/0.06642, allocations: 9.142 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.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.001934/0.001934, allocations: 71.91 kB / 446.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.103, allocations: 54.94 MB / 0.4897 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3227/0.4257, allocations: 115.8 MB / 0.6029 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1086/0.5343, allocations: 98.67 MB / 0.6992 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.5349, allocations: 11.88 kB / 0.6992 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.538, allocations: 1.227 MB / 0.7004 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.5417, allocations: 1.571 MB / 0.7019 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3421/0.8838, allocations: 31.17 MB / 0.7324 GB, free: 21.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.8854, allocations: 1.416 MB / 0.7338 GB, free: 21.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.8856, allocations: 78.45 kB / 0.7338 GB, free: 21.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01458/0.9002, allocations: 9.205 MB / 0.7428 GB, free: 21.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.9007, allocations: 379.1 kB / 0.7432 GB, free: 21.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.9008, allocations: 42.72 kB / 0.7432 GB, free: 21.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04029/0.9411, allocations: 24.24 MB / 0.7669 GB, free: 21.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.9413, allocations: 127.8 kB / 0.767 GB, free: 21.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005959/0.9419, allocations: 254.9 kB / 0.7673 GB, free: 21.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03606/0.978, allocations: 12.29 MB / 0.7793 GB, free: 20.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.978, allocations: 0 / 0.7793 GB, free: 20.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.978, allocations: 0 / 0.7793 GB, free: 20.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.978, allocations: 0 / 0.7793 GB, free: 20.32 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.007294/0.9853, allocations: 2.589 MB / 0.7818 GB, free: 18.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9853, allocations: 10.38 kB / 0.7818 GB, free: 18.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.9855, allocations: 86.86 kB / 0.7819 GB, free: 18.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.9861, allocations: 86.17 kB / 0.782 GB, free: 18.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.9867, allocations: 285 kB / 0.7823 GB, free: 18.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.9867, allocations: 31.47 kB / 0.7823 GB, free: 18.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.9868, allocations: 35.11 kB / 0.7823 GB, free: 18.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.9881, allocations: 0.7587 MB / 0.7831 GB, free: 18.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.9881, allocations: 0 / 0.7831 GB, free: 18.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.9882, allocations: 17.19 kB / 0.7831 GB, free: 18.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.9882, allocations: 14.19 kB / 0.7831 GB, free: 18.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.9895, allocations: 0.5611 MB / 0.7836 GB, free: 17.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.9917, allocations: 1.709 MB / 0.7853 GB, free: 16.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.9928, allocations: 487.8 kB / 0.7858 GB, free: 16.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.9933, allocations: 311.1 kB / 0.7861 GB, free: 16.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1918/1.185, allocations: 44.04 MB / 0.8291 GB, free: 14.56 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.185, allocations: 38.66 kB / 0.8291 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/1.185, allocations: 4 kB / 0.8291 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of matching and sorting (n=83): time 0.00623/1.191, allocations: 2.236 MB / 0.8313 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.191, allocations: 57.94 kB / 0.8314 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/1.192, allocations: 255 kB / 0.8316 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/1.192, allocations: 37.45 kB / 0.8316 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/1.192, allocations: 190.1 kB / 0.8318 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.192, allocations: 279.3 kB / 0.8321 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.192, allocations: 97.33 kB / 0.8322 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.192, allocations: 363.7 kB / 0.8325 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/1.193, allocations: 275.8 kB / 0.8328 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/1.194, allocations: 417.8 kB / 0.8332 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.195, allocations: 0.7217 MB / 0.8339 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.195, allocations: 0 / 0.8339 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001507/1.196, allocations: 0.8014 MB / 0.8347 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.196, allocations: 8 kB / 0.8347 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.196, allocations: 4 kB / 0.8347 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/1.196, allocations: 64.86 kB / 0.8347 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/1.197, allocations: 102.8 kB / 0.8348 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07006/1.267, allocations: 17.06 MB / 0.8515 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/1.267, allocations: 32.66 kB / 0.8515 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/1.267, allocations: 27.92 kB / 0.8516 GB, free: 9.582 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.0003134/1.268, allocations: 186.8 kB / 0.8517 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.268, allocations: 43.72 kB / 0.8518 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/1.27, allocations: 1.588 MB / 0.8533 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.27, allocations: 12.23 kB / 0.8533 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.27, allocations: 4 kB / 0.8533 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001561/1.272, allocations: 1.174 MB / 0.8545 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/1.274, allocations: 1.56 MB / 0.856 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.274, allocations: 0 / 0.856 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/1.274, allocations: 82.75 kB / 0.8561 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/1.275, allocations: 40.66 kB / 0.8561 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/1.275, allocations: 11.75 kB / 0.8561 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/1.276, allocations: 1.317 MB / 0.8574 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.276, allocations: 0 / 0.8574 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.278, allocations: 1.213 MB / 0.8586 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/1.278, allocations: 39.81 kB / 0.8587 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/1.278, allocations: 19.34 kB / 0.8587 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.278, allocations: 24.27 kB / 0.8587 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.278, allocations: 43.05 kB / 0.8587 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.278, allocations: 19.17 kB / 0.8588 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000281/1.279, allocations: 243.9 kB / 0.859 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.279, allocations: 0 / 0.859 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01079/1.29, allocations: 3.571 MB / 0.8625 GB, free: 24 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.02241/1.312, allocations: 6.242 MB / 0.8686 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.314, allocations: 0.9288 MB / 0.8695 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.314, allocations: 0 / 0.8695 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009096/1.315, allocations: 474.4 kB / 0.8699 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.317, allocations: 378.4 kB / 0.8703 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.331, allocations: 6.425 MB / 0.8766 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/1.332, allocations: 250.3 kB / 0.8768 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000483/1.332, allocations: 162.6 kB / 0.877 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.332, allocations: 169 kB / 0.8771 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/1.332, allocations: 0.9844 kB / 0.8771 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4543/1.787, allocations: 134.5 MB / 1.008 GB, free: 247.2 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/18.39, allocations: 9 kB / 1.008 GB, free: 247.2 MB / 0.7013 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 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.16981410700828] Failed to read output from testmodel.py, exit status != 0: 18.584287987090647 18.606497242 17.62398185 Calling exit ...