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.001314/0.001314, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001415/0.001415, allocations: 213.1 kB / 22.24 MB, free: 5.262 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.785 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.04874/0.04874, allocations: 9.147 MB / 321.6 MB, free: 10.2 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.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 0.001917/0.001917, allocations: 71.89 kB / 446.6 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09956, allocations: 54.93 MB / 0.4897 GB, free: 9.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3332/0.4327, allocations: 115 MB / 0.602 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1133/0.5461, allocations: 98.61 MB / 0.6983 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.5466, allocations: 7.938 kB / 0.6983 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.5499, allocations: 1.23 MB / 0.6995 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.5538, allocations: 1.563 MB / 0.701 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3394/0.8932, allocations: 31.17 MB / 0.7315 GB, free: 22.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00209/0.8953, allocations: 1.421 MB / 0.7329 GB, free: 22.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.8955, allocations: 78.91 kB / 0.7329 GB, free: 22.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/0.9104, allocations: 9.207 MB / 0.7419 GB, free: 21.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.9111, allocations: 378.2 kB / 0.7423 GB, free: 21.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.9112, allocations: 41.53 kB / 0.7423 GB, free: 21.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03919/0.9504, allocations: 24.24 MB / 0.766 GB, free: 21.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.9507, allocations: 125.6 kB / 0.7661 GB, free: 21.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.9512, allocations: 256.5 kB / 0.7664 GB, free: 21.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03275/0.984, allocations: 12.29 MB / 0.7784 GB, free: 21.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.984, allocations: 0 / 0.7784 GB, free: 21.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.984, allocations: 2.812 kB / 0.7784 GB, free: 21.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.984, allocations: 0 / 0.7784 GB, free: 21.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.006175/0.9902, allocations: 2.595 MB / 0.7809 GB, free: 19.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9902, allocations: 10.78 kB / 0.7809 GB, free: 19.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.753e-05/0.9903, allocations: 82.48 kB / 0.781 GB, free: 19.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.9909, allocations: 87.98 kB / 0.7811 GB, free: 19.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.9914, allocations: 285.2 kB / 0.7813 GB, free: 19.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.9914, allocations: 33.66 kB / 0.7814 GB, free: 19.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.9915, allocations: 31.88 kB / 0.7814 GB, free: 19.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.9926, allocations: 0.7661 MB / 0.7822 GB, free: 19.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.9926, allocations: 0 / 0.7822 GB, free: 19.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.9926, allocations: 11.84 kB / 0.7822 GB, free: 19.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.9927, allocations: 17.59 kB / 0.7822 GB, free: 19.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.9938, allocations: 0.5564 MB / 0.7827 GB, free: 18.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.9956, allocations: 1.707 MB / 0.7844 GB, free: 17.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.9966, allocations: 491.7 kB / 0.7849 GB, free: 17.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.9971, allocations: 313.3 kB / 0.7852 GB, free: 17.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1942/1.191, allocations: 44.04 MB / 0.8282 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/1.191, allocations: 53.8 kB / 0.8282 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.757e-06/1.191, allocations: 0 / 0.8282 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006449/1.198, allocations: 2.227 MB / 0.8304 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.198, allocations: 67.09 kB / 0.8305 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/1.198, allocations: 256.5 kB / 0.8307 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/1.198, allocations: 29.64 kB / 0.8307 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.198, allocations: 197.4 kB / 0.8309 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.199, allocations: 276.4 kB / 0.8312 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/1.199, allocations: 95.73 kB / 0.8313 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.199, allocations: 360.8 kB / 0.8316 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/1.199, allocations: 278.6 kB / 0.8319 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/1.2, allocations: 410.7 kB / 0.8323 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/1.201, allocations: 0.729 MB / 0.833 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/1.201, allocations: 4 kB / 0.833 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001554/1.203, allocations: 0.8028 MB / 0.8338 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.203, allocations: 11.98 kB / 0.8338 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.203, allocations: 0 / 0.8338 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/1.203, allocations: 61.77 kB / 0.8338 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/1.204, allocations: 102.8 kB / 0.8339 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07084/1.274, allocations: 16.98 MB / 0.8505 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/1.275, allocations: 36.03 kB / 0.8506 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/1.275, allocations: 25.69 kB / 0.8506 GB, free: 10.88 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.0003599/1.275, allocations: 187.3 kB / 0.8508 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.275, allocations: 45.72 kB / 0.8508 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/1.278, allocations: 1.588 MB / 0.8524 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.278, allocations: 12.67 kB / 0.8524 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.278, allocations: 4 kB / 0.8524 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/1.279, allocations: 1.175 MB / 0.8535 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/1.282, allocations: 1.55 MB / 0.855 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.282, allocations: 0 / 0.855 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/1.282, allocations: 86.25 kB / 0.8551 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/1.282, allocations: 46.55 kB / 0.8552 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/1.282, allocations: 11.62 kB / 0.8552 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/1.283, allocations: 1.314 MB / 0.8565 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.283, allocations: 160 / 0.8565 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/1.285, allocations: 1.208 MB / 0.8576 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.285, allocations: 45.31 kB / 0.8577 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/1.286, allocations: 11.62 kB / 0.8577 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.286, allocations: 23.47 kB / 0.8577 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.286, allocations: 46.67 kB / 0.8578 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.286, allocations: 19.92 kB / 0.8578 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002766/1.286, allocations: 240.6 kB / 0.858 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/1.286, allocations: 0 / 0.858 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009681/1.296, allocations: 3.579 MB / 0.8615 GB, free: 1.32 MB / 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.02183/1.318, allocations: 6.226 MB / 0.8676 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.32, allocations: 0.9222 MB / 0.8685 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.32, allocations: 4 kB / 0.8685 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009058/1.321, allocations: 480.1 kB / 0.8689 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.323, allocations: 377.2 kB / 0.8693 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.336, allocations: 6.409 MB / 0.8756 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/1.336, allocations: 252.4 kB / 0.8758 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004944/1.337, allocations: 164.9 kB / 0.876 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/1.337, allocations: 173.1 kB / 0.8761 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of SimCode: time 1.362e-06/1.337, allocations: 0 / 0.8761 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.436/1.773, allocations: 134.1 MB / 1.007 GB, free: 247.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/18.74, allocations: 9.391 kB / 1.007 GB, free: 247.3 MB / 0.7012 GB " [Timeout remaining time 641] (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: 26.400749911088496] Failed to read output from testmodel.py, exit status != 0: 18.936424165964127 18.95718793 17.969286289 Calling exit ...