Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.0008435/0.0008435, 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.0008966/0.0008966, 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.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.03078/0.03078, allocations: 7.527 MB / 266.7 MB, free: 6.18 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.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 3.938 kB / 391.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.985e-05, allocations: 2.281 kB / 391.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.2638/0.2638, allocations: 114.7 MB / 0.4947 GB, free: 24.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06882/0.3326, allocations: 98.61 MB / 0.591 GB, free: 8.375 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006058/0.3332, allocations: 7.938 kB / 0.591 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.3355, allocations: 1.244 MB / 0.5922 GB, free: 7.121 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.3381, allocations: 1.602 MB / 0.5938 GB, free: 5.512 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06086/0.399, allocations: 31.67 MB / 0.6247 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.4004, allocations: 1.436 MB / 0.6261 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.4006, allocations: 89.58 kB / 0.6262 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2464/0.647, allocations: 9.513 MB / 0.6355 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.6475, allocations: 343 kB / 0.6358 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.6475, allocations: 42.5 kB / 0.6358 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04233/0.6899, allocations: 24.44 MB / 0.6597 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.6901, allocations: 132.1 kB / 0.6598 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.6906, allocations: 217.8 kB / 0.66 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03876/0.7294, allocations: 14.46 MB / 0.6742 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7294, allocations: 1.812 kB / 0.6742 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7294, allocations: 0 / 0.6742 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.7294, allocations: 0 / 0.6742 GB, free: 29.29 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.007063/0.7365, allocations: 2.583 MB / 0.6767 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.7365, allocations: 14.97 kB / 0.6767 GB, free: 27.83 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.954e-05/0.7366, allocations: 84.45 kB / 0.6768 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.737, allocations: 93.47 kB / 0.6769 GB, free: 27.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.7374, allocations: 280.1 kB / 0.6771 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.7375, allocations: 29.28 kB / 0.6772 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.7375, allocations: 32.16 kB / 0.6772 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/0.7384, allocations: 0.7667 MB / 0.6779 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.7384, allocations: 2.094 kB / 0.6779 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.7384, allocations: 12.56 kB / 0.678 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.7384, allocations: 15.91 kB / 0.678 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/0.7392, allocations: 0.555 MB / 0.6785 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.7409, allocations: 1.707 MB / 0.6802 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.7418, allocations: 483.2 kB / 0.6806 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.7421, allocations: 313.8 kB / 0.6809 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09117/0.8333, allocations: 44.03 MB / 0.7239 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.8333, allocations: 39.38 kB / 0.724 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=79): time 2.786e-06/0.8333, allocations: 0 / 0.724 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=83): time 0.00378/0.8371, allocations: 2.253 MB / 0.7262 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.8371, allocations: 59.28 kB / 0.7262 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.8374, allocations: 255.2 kB / 0.7265 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.8374, allocations: 29.64 kB / 0.7265 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.8375, allocations: 184.3 kB / 0.7267 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.8376, allocations: 273.8 kB / 0.7269 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.8377, allocations: 104.9 kB / 0.727 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8378, allocations: 349.9 kB / 0.7274 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.8381, allocations: 279.1 kB / 0.7276 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.8385, allocations: 413.2 kB / 0.728 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.8392, allocations: 0.7245 MB / 0.7287 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8392, allocations: 1.688 kB / 0.7287 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009625/0.8402, allocations: 0.8114 MB / 0.7295 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.8402, allocations: 9.875 kB / 0.7295 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.8402, allocations: 4 kB / 0.7295 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.8404, allocations: 64.2 kB / 0.7296 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.8407, allocations: 94.94 kB / 0.7297 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03539/0.8761, allocations: 17 MB / 0.7463 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.8764, allocations: 36.28 kB / 0.7463 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.8765, allocations: 19.94 kB / 0.7464 GB, free: 10.05 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.0002605/0.8767, allocations: 185.5 kB / 0.7465 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.8768, allocations: 47.7 kB / 0.7466 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.8784, allocations: 1.586 MB / 0.7481 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.8784, allocations: 27.72 kB / 0.7482 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8784, allocations: 0 / 0.7482 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009033/0.8793, allocations: 1.172 MB / 0.7493 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.8808, allocations: 1.55 MB / 0.7508 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.8808, allocations: 4.031 kB / 0.7508 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.881, allocations: 82.94 kB / 0.7509 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.8811, allocations: 40.45 kB / 0.7509 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.8812, allocations: 15.73 kB / 0.7509 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/0.8819, allocations: 1.309 MB / 0.7522 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.882, allocations: 0 / 0.7522 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.8831, allocations: 1.207 MB / 0.7534 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.8832, allocations: 39.7 kB / 0.7534 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.8832, allocations: 11.69 kB / 0.7535 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.8834, allocations: 35.53 kB / 0.7535 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.8834, allocations: 43.67 kB / 0.7535 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.8835, allocations: 11.88 kB / 0.7535 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001792/0.8836, allocations: 247.1 kB / 0.7538 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.8836, allocations: 0 / 0.7538 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009609/0.8932, allocations: 3.573 MB / 0.7573 GB, free: 0.4922 MB / 0.5261 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.01729/0.9105, allocations: 6.629 MB / 0.7637 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.912, allocations: 0.909 MB / 0.7646 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.912, allocations: 4 kB / 0.7646 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.9125, allocations: 476.4 kB / 0.7651 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.9137, allocations: 388.6 kB / 0.7655 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.9257, allocations: 6.348 MB / 0.7717 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.9259, allocations: 254.2 kB / 0.7719 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.9263, allocations: 158.2 kB / 0.772 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.9264, allocations: 172.1 kB / 0.7722 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of SimCode: time 1.283e-06/0.9264, allocations: 0 / 0.7722 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3502/1.277, allocations: 134.7 MB / 0.9037 GB, free: 209.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/12.02, allocations: 5.891 kB / 0.9037 GB, free: 209.6 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel_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_R134aTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.07918080035597] Failed to read output from testmodel.py, exit status != 0: 12.167544255033135 12.174189904 11.44324588 Calling exit ...