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.0008287/0.0008287, 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.001023/0.001023, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8919/0.8919, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.03003/0.03003, allocations: 7.507 MB / 266.7 MB, free: 6.199 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.363e-06/1.363e-06, allocations: 3.938 kB / 391.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.096e-05, allocations: 3.688 kB / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2512/0.2512, allocations: 115.6 MB / 0.4955 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0655/0.3167, allocations: 98.69 MB / 0.5919 GB, free: 7.457 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.3172, allocations: 7.938 kB / 0.5919 GB, free: 7.449 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.3193, allocations: 1.24 MB / 0.5931 GB, free: 6.207 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.3219, allocations: 1.606 MB / 0.5947 GB, free: 4.594 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05405/0.3759, allocations: 31.67 MB / 0.6256 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.3776, allocations: 1.425 MB / 0.627 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3778, allocations: 93.64 kB / 0.6271 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2069/0.5847, allocations: 9.523 MB / 0.6364 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.5851, allocations: 336.5 kB / 0.6367 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.5852, allocations: 43.88 kB / 0.6367 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03241/0.6176, allocations: 24.44 MB / 0.6606 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.6178, allocations: 131.6 kB / 0.6607 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.6183, allocations: 219.3 kB / 0.6609 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03202/0.6504, allocations: 14.45 MB / 0.6751 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6504, allocations: 0 / 0.6751 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6504, allocations: 0 / 0.6751 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.6504, allocations: 2 kB / 0.6751 GB, free: 28.92 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.005382/0.6558, allocations: 2.59 MB / 0.6776 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6558, allocations: 9 kB / 0.6776 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.6559, allocations: 87.42 kB / 0.6777 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.6562, allocations: 87.39 kB / 0.6778 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.6566, allocations: 289.9 kB / 0.678 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.6567, allocations: 27.62 kB / 0.6781 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.6567, allocations: 30.78 kB / 0.6781 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.6575, allocations: 0.765 MB / 0.6788 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6575, allocations: 3 kB / 0.6788 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.6575, allocations: 16.62 kB / 0.6789 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.6576, allocations: 19.58 kB / 0.6789 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.6582, allocations: 0.5545 MB / 0.6794 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.6595, allocations: 1.699 MB / 0.6811 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.6601, allocations: 490 kB / 0.6815 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.6604, allocations: 308.2 kB / 0.6818 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0886/0.749, allocations: 44.03 MB / 0.7248 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.749, allocations: 38.69 kB / 0.7249 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=79): time 3.116e-06/0.749, allocations: 0 / 0.7249 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=83): time 0.003895/0.7529, allocations: 2.243 MB / 0.7271 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.753, allocations: 62.48 kB / 0.7271 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.7532, allocations: 256.2 kB / 0.7274 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.7532, allocations: 33.58 kB / 0.7274 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.7533, allocations: 182 kB / 0.7276 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.7534, allocations: 274.6 kB / 0.7278 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.7535, allocations: 104.2 kB / 0.7279 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.7536, allocations: 353.3 kB / 0.7283 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.7538, allocations: 284.9 kB / 0.7285 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.7542, allocations: 404.8 kB / 0.7289 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.7548, allocations: 0.7269 MB / 0.7296 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7548, allocations: 0 / 0.7296 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008397/0.7556, allocations: 0.8139 MB / 0.7304 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7556, allocations: 10.31 kB / 0.7304 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7556, allocations: 4 kB / 0.7304 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.7558, allocations: 64.59 kB / 0.7305 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.756, allocations: 99.52 kB / 0.7306 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03534/0.7914, allocations: 17.07 MB / 0.7473 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.7917, allocations: 44.73 kB / 0.7473 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.7917, allocations: 19.81 kB / 0.7473 GB, free: 8.684 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.0002391/0.792, allocations: 187 kB / 0.7475 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.792, allocations: 43.72 kB / 0.7476 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.7933, allocations: 1.583 MB / 0.7491 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.7933, allocations: 19.14 kB / 0.7491 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7933, allocations: 4 kB / 0.7491 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009411/0.7942, allocations: 1.177 MB / 0.7503 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.7956, allocations: 1.551 MB / 0.7518 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.7956, allocations: 0 / 0.7518 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.7958, allocations: 86.09 kB / 0.7519 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.7959, allocations: 47.98 kB / 0.7519 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.7959, allocations: 15.73 kB / 0.7519 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/0.7965, allocations: 1.302 MB / 0.7532 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7965, allocations: 4.156 kB / 0.7532 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.7976, allocations: 1.206 MB / 0.7544 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.7977, allocations: 43.67 kB / 0.7544 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.7977, allocations: 11.62 kB / 0.7544 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.7979, allocations: 27.47 kB / 0.7545 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.798, allocations: 43.67 kB / 0.7545 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.798, allocations: 15.81 kB / 0.7545 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001658/0.7981, allocations: 240.1 kB / 0.7547 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.7981, allocations: 4.062 kB / 0.7548 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008063/0.8062, allocations: 3.577 MB / 0.7582 GB, free: 15.13 MB / 0.5417 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.01639/0.8226, allocations: 6.635 MB / 0.7647 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.8238, allocations: 0.9172 MB / 0.7656 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8239, allocations: 4 kB / 0.7656 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.8245, allocations: 478.9 kB / 0.7661 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.8255, allocations: 383.5 kB / 0.7664 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009915/0.8354, allocations: 6.352 MB / 0.7726 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.8356, allocations: 250.3 kB / 0.7729 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004102/0.836, allocations: 160.9 kB / 0.773 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.8362, allocations: 171.5 kB / 0.7732 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/0.8362, allocations: 0 / 0.7732 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3174/1.154, allocations: 134.5 MB / 0.9046 GB, free: 210 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/12, allocations: 7.406 kB / 0.9046 GB, free: 210 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: 16.976565117016435] Failed to read output from testmodel.py, exit status != 0: 12.150876040570438 12.16264516 11.510248472 Calling exit ...