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.001268/0.001268, 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.001424/0.001424, allocations: 210.5 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.75 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.04966/0.04966, allocations: 9.146 MB / 321.6 MB, free: 10.3 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.001931/0.001931, allocations: 63.89 kB / 446.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 54.95 MB / 0.4897 GB, free: 9.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3352/0.4428, allocations: 115 MB / 0.602 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.106/0.5488, allocations: 98.61 MB / 0.6983 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000823/0.5497, allocations: 7.938 kB / 0.6983 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.5531, allocations: 1.23 MB / 0.6995 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.5569, allocations: 1.571 MB / 0.701 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3661/0.9231, allocations: 31.16 MB / 0.7315 GB, free: 22.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.925, allocations: 1.418 MB / 0.7329 GB, free: 22.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.9253, allocations: 82.36 kB / 0.7329 GB, free: 22.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01628/0.9416, allocations: 9.203 MB / 0.7419 GB, free: 22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.9422, allocations: 376.5 kB / 0.7423 GB, free: 21.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.524e-05/0.9423, allocations: 42.28 kB / 0.7423 GB, free: 21.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04379/0.9861, allocations: 24.25 MB / 0.766 GB, free: 21.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.9864, allocations: 125.6 kB / 0.7661 GB, free: 21.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006737/0.9871, allocations: 252.3 kB / 0.7664 GB, free: 21.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03683/1.024, allocations: 12.29 MB / 0.7784 GB, free: 21.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.024, allocations: 3.344 kB / 0.7784 GB, free: 21.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/1.024, allocations: 0 / 0.7784 GB, free: 21.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.024, allocations: 0 / 0.7784 GB, free: 21.29 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.007261/1.031, allocations: 2.591 MB / 0.7809 GB, free: 19.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.031, allocations: 17.5 kB / 0.7809 GB, free: 19.69 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.658e-05/1.031, allocations: 84.19 kB / 0.781 GB, free: 19.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/1.032, allocations: 89.8 kB / 0.7811 GB, free: 19.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/1.032, allocations: 279.6 kB / 0.7814 GB, free: 19.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/1.032, allocations: 30.06 kB / 0.7814 GB, free: 19.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/1.032, allocations: 34.19 kB / 0.7814 GB, free: 19.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.034, allocations: 0.7637 MB / 0.7822 GB, free: 19.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.034, allocations: 6.625 kB / 0.7822 GB, free: 19.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/1.034, allocations: 13.94 kB / 0.7822 GB, free: 19.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/1.034, allocations: 12.05 kB / 0.7822 GB, free: 19.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.035, allocations: 0.5581 MB / 0.7827 GB, free: 18.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/1.037, allocations: 1.705 MB / 0.7844 GB, free: 17.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/1.038, allocations: 496 kB / 0.7849 GB, free: 17.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/1.038, allocations: 320.3 kB / 0.7852 GB, free: 17.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/1.229, allocations: 44.04 MB / 0.8282 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/1.23, allocations: 42.41 kB / 0.8282 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.935e-06/1.23, allocations: 0 / 0.8282 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005724/1.235, allocations: 2.244 MB / 0.8304 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.235, allocations: 59.16 kB / 0.8305 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/1.236, allocations: 250.9 kB / 0.8307 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/1.236, allocations: 36.64 kB / 0.8307 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.236, allocations: 184.2 kB / 0.8309 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.236, allocations: 284.5 kB / 0.8312 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.236, allocations: 100.9 kB / 0.8313 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.236, allocations: 357.5 kB / 0.8316 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/1.237, allocations: 282.4 kB / 0.8319 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/1.237, allocations: 406.5 kB / 0.8323 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.238, allocations: 0.721 MB / 0.833 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.238, allocations: 0 / 0.833 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001422/1.24, allocations: 0.8134 MB / 0.8338 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.24, allocations: 8.766 kB / 0.8338 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.24, allocations: 4 kB / 0.8338 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/1.24, allocations: 66.61 kB / 0.8339 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/1.24, allocations: 97.5 kB / 0.834 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06792/1.308, allocations: 16.99 MB / 0.8505 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/1.309, allocations: 27.78 kB / 0.8506 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/1.309, allocations: 23.92 kB / 0.8506 GB, free: 10.89 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.0003108/1.309, allocations: 194.6 kB / 0.8508 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/1.309, allocations: 43.72 kB / 0.8508 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/1.311, allocations: 1.583 MB / 0.8524 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.311, allocations: 14.64 kB / 0.8524 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.311, allocations: 1.094 kB / 0.8524 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/1.313, allocations: 1.175 MB / 0.8535 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.315, allocations: 1.55 MB / 0.855 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.315, allocations: 3.984 kB / 0.855 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/1.315, allocations: 74.95 kB / 0.8551 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/1.316, allocations: 44.69 kB / 0.8552 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/1.316, allocations: 9.625 kB / 0.8552 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/1.317, allocations: 1.319 MB / 0.8565 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.317, allocations: 0 / 0.8565 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.319, allocations: 1.213 MB / 0.8576 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/1.319, allocations: 43.44 kB / 0.8577 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/1.319, allocations: 7.875 kB / 0.8577 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/1.319, allocations: 31.97 kB / 0.8577 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.319, allocations: 46.73 kB / 0.8578 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/1.319, allocations: 11.98 kB / 0.8578 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002666/1.319, allocations: 246.9 kB / 0.858 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.319, allocations: 5.031 kB / 0.858 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01062/1.33, allocations: 3.573 MB / 0.8615 GB, free: 1.324 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.0231/1.353, allocations: 6.23 MB / 0.8676 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001924/1.355, allocations: 0.9257 MB / 0.8685 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.355, allocations: 0 / 0.8685 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/1.356, allocations: 481.7 kB / 0.869 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.358, allocations: 374.3 kB / 0.8693 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/1.372, allocations: 6.423 MB / 0.8756 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.373, allocations: 248.5 kB / 0.8758 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004927/1.373, allocations: 167.2 kB / 0.876 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.373, allocations: 164.9 kB / 0.8761 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/1.373, allocations: 2.062 kB / 0.8761 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4787/1.852, allocations: 134.1 MB / 1.007 GB, free: 247.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/19.06, allocations: 3.047 kB / 1.007 GB, free: 247.2 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 & 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: 24.368032346945256] Failed to read output from testmodel.py, exit status != 0: 19.250506283249706 19.264646478 18.23782849 Calling exit ...