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.000922/0.000922, 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.001067/0.001067, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9031/0.9031, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02941/0.02941, allocations: 7.512 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.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 1.392e-06/1.392e-06, allocations: 0 / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.072e-05, allocations: 2.281 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.235/0.235, allocations: 114.8 MB / 0.4947 GB, free: 24.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06759/0.3026, allocations: 98.61 MB / 0.591 GB, free: 8.391 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.3031, allocations: 11.94 kB / 0.591 GB, free: 8.379 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.3055, allocations: 1.24 MB / 0.5922 GB, free: 7.137 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.3083, allocations: 1.598 MB / 0.5938 GB, free: 5.531 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05793/0.3662, allocations: 31.68 MB / 0.6247 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.3677, allocations: 1.429 MB / 0.6261 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3679, allocations: 97.64 kB / 0.6262 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2015/0.5694, allocations: 9.512 MB / 0.6355 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.5699, allocations: 338.5 kB / 0.6358 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.5699, allocations: 42.88 kB / 0.6358 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03652/0.6064, allocations: 24.44 MB / 0.6597 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.6066, allocations: 132 kB / 0.6598 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004323/0.6071, allocations: 217.9 kB / 0.66 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0272/0.6343, allocations: 14.46 MB / 0.6742 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6343, allocations: 1.906 kB / 0.6742 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6343, allocations: 0 / 0.6742 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.6343, allocations: 0 / 0.6742 GB, free: 29.13 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.005727/0.64, allocations: 2.585 MB / 0.6767 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6401, allocations: 8.125 kB / 0.6767 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.571e-05/0.6401, allocations: 87.27 kB / 0.6768 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.6405, allocations: 90.34 kB / 0.6769 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.641, allocations: 280.2 kB / 0.6771 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.641, allocations: 35.78 kB / 0.6772 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.6411, allocations: 32.28 kB / 0.6772 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/0.6419, allocations: 0.7608 MB / 0.6779 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6419, allocations: 1.125 kB / 0.6779 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.642, allocations: 15.75 kB / 0.6779 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.642, allocations: 18.36 kB / 0.678 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.6428, allocations: 0.5515 MB / 0.6785 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.6442, allocations: 1.707 MB / 0.6802 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.6448, allocations: 484.2 kB / 0.6806 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.6451, allocations: 311.2 kB / 0.6809 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09501/0.7401, allocations: 44.04 MB / 0.7239 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.7402, allocations: 37.47 kB / 0.724 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=79): time 2.876e-06/0.7402, allocations: 4 kB / 0.724 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=83): time 0.004061/0.7442, allocations: 2.236 MB / 0.7262 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.7443, allocations: 55.41 kB / 0.7262 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.7445, allocations: 262.8 kB / 0.7265 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.7445, allocations: 37.45 kB / 0.7265 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.7446, allocations: 183.7 kB / 0.7267 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.7447, allocations: 274.6 kB / 0.7269 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.7448, allocations: 99.25 kB / 0.727 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7449, allocations: 349.9 kB / 0.7274 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.7452, allocations: 275.4 kB / 0.7276 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.7455, allocations: 413 kB / 0.728 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.7462, allocations: 0.7249 MB / 0.7287 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7462, allocations: 5.688 kB / 0.7287 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009362/0.7472, allocations: 0.8105 MB / 0.7295 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7472, allocations: 5.875 kB / 0.7295 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7472, allocations: 4 kB / 0.7295 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.7474, allocations: 62.23 kB / 0.7296 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.7476, allocations: 105.4 kB / 0.7297 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/0.7831, allocations: 17 MB / 0.7463 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.7835, allocations: 38.56 kB / 0.7463 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.7835, allocations: 19.75 kB / 0.7463 GB, free: 9.934 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.0002737/0.7838, allocations: 186.9 kB / 0.7465 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.7838, allocations: 47.7 kB / 0.7466 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.7851, allocations: 1.591 MB / 0.7481 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.7851, allocations: 19.75 kB / 0.7481 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.7852, allocations: 0 / 0.7481 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008807/0.786, allocations: 1.182 MB / 0.7493 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.7875, allocations: 1.549 MB / 0.7508 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7875, allocations: 0 / 0.7508 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.7877, allocations: 83.31 kB / 0.7509 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.7878, allocations: 48.25 kB / 0.7509 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.7879, allocations: 11.97 kB / 0.7509 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000676/0.7885, allocations: 1.306 MB / 0.7522 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7885, allocations: 3.984 kB / 0.7522 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.7896, allocations: 1.199 MB / 0.7534 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.7897, allocations: 39.73 kB / 0.7534 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.7898, allocations: 15.81 kB / 0.7535 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.7899, allocations: 31.34 kB / 0.7535 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.79, allocations: 46.58 kB / 0.7535 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.79, allocations: 15.8 kB / 0.7535 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001759/0.7902, allocations: 241.4 kB / 0.7538 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.7902, allocations: 0 / 0.7538 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008019/0.7982, allocations: 3.572 MB / 0.7573 GB, free: 388 kB / 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.01671/0.8149, allocations: 6.632 MB / 0.7637 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.8162, allocations: 0.9091 MB / 0.7646 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8163, allocations: 0 / 0.7646 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.8168, allocations: 485.3 kB / 0.7651 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8179, allocations: 384.7 kB / 0.7655 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.8283, allocations: 6.341 MB / 0.7716 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.8285, allocations: 254.2 kB / 0.7719 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004099/0.8289, allocations: 161.7 kB / 0.772 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.8291, allocations: 171 kB / 0.7722 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/0.8291, allocations: 0 / 0.7722 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/1.147, allocations: 134.7 MB / 0.9037 GB, free: 209.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.86, allocations: 5.578 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.961302348412573] Failed to read output from testmodel.py, exit status != 0: 12.015642309561372 12.027050275 11.390608963 Calling exit ...