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.001017/0.001017, 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.001024/0.001024, 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.9023/0.9023, allocations: 177.2 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.02893/0.02893, allocations: 7.517 MB / 266.7 MB, free: 6.207 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.583e-06/1.583e-06, allocations: 0 / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.489e-05, allocations: 5.234 kB / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2104/0.2104, allocations: 115.6 MB / 0.4955 GB, free: 23.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05864/0.2691, allocations: 98.68 MB / 0.5919 GB, free: 7.348 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.2695, allocations: 7.938 kB / 0.5919 GB, free: 7.34 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.2718, allocations: 1.24 MB / 0.5931 GB, free: 6.098 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.2741, allocations: 1.614 MB / 0.5947 GB, free: 4.477 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05109/0.3252, allocations: 31.66 MB / 0.6256 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3271, allocations: 1.425 MB / 0.627 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.3273, allocations: 101.7 kB / 0.6271 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.206/0.5334, allocations: 9.515 MB / 0.6364 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.5338, allocations: 338.5 kB / 0.6367 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.5339, allocations: 42.31 kB / 0.6367 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.035/0.5689, allocations: 24.45 MB / 0.6606 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.5691, allocations: 128.7 kB / 0.6607 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.5695, allocations: 216.3 kB / 0.6609 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02468/0.5942, allocations: 14.45 MB / 0.6751 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5942, allocations: 2.594 kB / 0.6751 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5942, allocations: 0 / 0.6751 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.5942, allocations: 0 / 0.6751 GB, free: 28.78 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.004793/0.599, allocations: 2.587 MB / 0.6776 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.599, allocations: 7.375 kB / 0.6776 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/0.5991, allocations: 88.31 kB / 0.6777 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.5995, allocations: 91.55 kB / 0.6778 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.5999, allocations: 281.9 kB / 0.678 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.5999, allocations: 34.25 kB / 0.6781 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.5999, allocations: 31.44 kB / 0.6781 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.6007, allocations: 0.7579 MB / 0.6788 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.6007, allocations: 3 kB / 0.6788 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.6008, allocations: 14.22 kB / 0.6789 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.6008, allocations: 19.02 kB / 0.6789 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.6015, allocations: 0.5563 MB / 0.6794 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.6028, allocations: 1.7 MB / 0.6811 GB, free: 26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.6036, allocations: 493.1 kB / 0.6815 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.6039, allocations: 308.4 kB / 0.6818 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09314/0.697, allocations: 44.03 MB / 0.7248 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.6971, allocations: 41.95 kB / 0.7249 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=79): time 2.876e-06/0.6971, allocations: 4 kB / 0.7249 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=83): time 0.003725/0.7008, allocations: 2.236 MB / 0.7271 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.7008, allocations: 55.41 kB / 0.7271 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.701, allocations: 259.7 kB / 0.7274 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.7011, allocations: 29.58 kB / 0.7274 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.7011, allocations: 190.4 kB / 0.7276 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.7012, allocations: 272.5 kB / 0.7278 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.7013, allocations: 99.31 kB / 0.7279 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.7014, allocations: 358 kB / 0.7283 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.7019, allocations: 275.5 kB / 0.7285 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.7023, allocations: 408.3 kB / 0.7289 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.7029, allocations: 0.7223 MB / 0.7296 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7029, allocations: 5.688 kB / 0.7296 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008198/0.7037, allocations: 0.8066 MB / 0.7304 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7037, allocations: 6.438 kB / 0.7304 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.7037, allocations: 7.984 kB / 0.7304 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.7039, allocations: 60.09 kB / 0.7305 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.7041, allocations: 102 kB / 0.7306 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03511/0.7392, allocations: 17.09 MB / 0.7473 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.7396, allocations: 28.48 kB / 0.7473 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.7396, allocations: 23.67 kB / 0.7473 GB, free: 8.363 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.0002822/0.7399, allocations: 191.8 kB / 0.7475 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.74, allocations: 43.72 kB / 0.7476 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.7413, allocations: 1.587 MB / 0.7491 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.7413, allocations: 19.91 kB / 0.7491 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7413, allocations: 0 / 0.7491 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008668/0.7422, allocations: 1.177 MB / 0.7503 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.7436, allocations: 1.548 MB / 0.7518 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7436, allocations: 0 / 0.7518 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.7438, allocations: 86 kB / 0.7519 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.7439, allocations: 40.58 kB / 0.7519 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.744, allocations: 19.72 kB / 0.7519 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009656/0.7449, allocations: 1.306 MB / 0.7532 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7449, allocations: 0 / 0.7532 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.7461, allocations: 1.21 MB / 0.7544 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.7461, allocations: 39.69 kB / 0.7544 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.7462, allocations: 23.67 kB / 0.7544 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.7463, allocations: 23.48 kB / 0.7545 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.7464, allocations: 50.47 kB / 0.7545 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.7464, allocations: 11.94 kB / 0.7545 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001605/0.7466, allocations: 241.3 kB / 0.7548 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7466, allocations: 0 / 0.7548 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007777/0.7543, allocations: 3.571 MB / 0.7582 GB, free: 14.8 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.01203/0.7664, allocations: 6.637 MB / 0.7647 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.7675, allocations: 0.9187 MB / 0.7656 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7675, allocations: 0 / 0.7656 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.768, allocations: 481.4 kB / 0.7661 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.769, allocations: 379.8 kB / 0.7664 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/0.7767, allocations: 6.355 MB / 0.7726 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.7769, allocations: 246.3 kB / 0.7729 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.7772, allocations: 166.3 kB / 0.773 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.7773, allocations: 171.4 kB / 0.7732 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of SimCode: time 1.543e-06/0.7773, allocations: 0 / 0.7732 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/1.089, allocations: 135.1 MB / 0.9051 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.51, allocations: 3.984 kB / 0.9051 GB, free: 209.9 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 & /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: 17.467424468137324] Failed to read output from testmodel.py, exit status != 0: 11.663536394014955 11.67281349 11.077101879 Calling exit ...