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.002009/0.002009, allocations: 108.1 kB / 16.46 MB, free: 6.453 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.002061/0.002061, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 207.6 MB / 229.8 MB, free: 11.4 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05419/0.05419, allocations: 9.156 MB / 290.8 MB, free: 13.89 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 73.27 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08648, allocations: 50.72 MB / 456.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3483/0.4348, allocations: 129.1 MB / 0.572 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1185/0.5532, allocations: 111.3 MB / 0.6807 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.554, allocations: 7.938 kB / 0.6807 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003971/0.558, allocations: 1.559 MB / 0.6822 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.5627, allocations: 1.822 MB / 0.684 GB, free: 5.957 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.08507/0.6477, allocations: 31.16 MB / 0.7144 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.6508, allocations: 1.406 MB / 0.7158 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.6511, allocations: 81.72 kB / 0.7159 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01826/0.6694, allocations: 9.157 MB / 0.7248 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.67, allocations: 394.5 kB / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.6701, allocations: 40 kB / 0.7252 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3466/1.017, allocations: 35.43 MB / 0.7598 GB, free: 48.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/1.017, allocations: 125.8 kB / 0.76 GB, free: 48.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/1.017, allocations: 305.6 kB / 0.7603 GB, free: 48.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03678/1.054, allocations: 14.1 MB / 0.774 GB, free: 48.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.054, allocations: 0 / 0.774 GB, free: 48.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/1.054, allocations: 0 / 0.774 GB, free: 48.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.054, allocations: 0 / 0.774 GB, free: 48.12 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.005958/1.06, allocations: 2.671 MB / 0.7766 GB, free: 46.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.06, allocations: 10.59 kB / 0.7766 GB, free: 46.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.364e-05/1.06, allocations: 85.69 kB / 0.7767 GB, free: 46.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/1.061, allocations: 94.12 kB / 0.7768 GB, free: 46.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/1.061, allocations: 338.6 kB / 0.7771 GB, free: 46.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/1.061, allocations: 35.09 kB / 0.7772 GB, free: 46.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/1.061, allocations: 29.84 kB / 0.7772 GB, free: 46.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.063, allocations: 0.6021 MB / 0.7778 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.063, allocations: 2.281 kB / 0.7778 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/1.063, allocations: 14.47 kB / 0.7778 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/1.063, allocations: 20.89 kB / 0.7778 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/1.064, allocations: 0.5491 MB / 0.7784 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/1.066, allocations: 2.555 MB / 0.7809 GB, free: 44.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.067, allocations: 476.1 kB / 0.7813 GB, free: 44.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/1.067, allocations: 307.5 kB / 0.7816 GB, free: 44.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2509/1.318, allocations: 139 MB / 0.9173 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/1.318, allocations: 34.84 kB / 0.9174 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 4.368e-06/1.318, allocations: 1.828 kB / 0.9174 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.006391/1.325, allocations: 2.337 MB / 0.9196 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.325, allocations: 55.41 kB / 0.9197 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/1.325, allocations: 251.3 kB / 0.9199 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/1.325, allocations: 39.25 kB / 0.92 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/1.325, allocations: 190.9 kB / 0.9201 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/1.325, allocations: 271.5 kB / 0.9204 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/1.326, allocations: 104.1 kB / 0.9205 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.326, allocations: 361.6 kB / 0.9209 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.326, allocations: 274.2 kB / 0.9211 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/1.327, allocations: 396 kB / 0.9215 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.328, allocations: 0.6969 MB / 0.9222 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.328, allocations: 4 kB / 0.9222 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001587/1.33, allocations: 0.7848 MB / 0.9229 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.33, allocations: 7.984 kB / 0.9229 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.33, allocations: 4 kB / 0.923 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/1.33, allocations: 61.66 kB / 0.923 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/1.33, allocations: 97.16 kB / 0.9231 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07482/1.405, allocations: 17.21 MB / 0.9399 GB, free: 7.559 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/1.406, allocations: 35.58 kB / 0.9399 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/1.406, allocations: 15.94 kB / 0.94 GB, free: 7.523 MB / 0.67 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.0003554/1.406, allocations: 191.2 kB / 0.9401 GB, free: 7.371 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.406, allocations: 39.77 kB / 0.9402 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.409, allocations: 1.549 MB / 0.9417 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.409, allocations: 13.36 kB / 0.9417 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.409, allocations: 4 kB / 0.9417 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/1.41, allocations: 1.139 MB / 0.9428 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/1.413, allocations: 1.588 MB / 0.9444 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.413, allocations: 0 / 0.9444 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.413, allocations: 82.31 kB / 0.9444 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/1.413, allocations: 48.45 kB / 0.9445 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/1.413, allocations: 7.938 kB / 0.9445 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/1.415, allocations: 1.43 MB / 0.9459 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.415, allocations: 5.859 kB / 0.9459 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/1.417, allocations: 1.18 MB / 0.9471 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/1.417, allocations: 116.8 kB / 0.9472 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/1.417, allocations: 11.5 kB / 0.9472 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/1.418, allocations: 19.92 kB / 0.9472 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.418, allocations: 50.41 kB / 0.9472 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.418, allocations: 15.3 kB / 0.9473 GB, free: 1.484 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002969/1.418, allocations: 247.2 kB / 0.9475 GB, free: 1.289 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/1.418, allocations: 0 / 0.9475 GB, free: 1.289 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01142/1.429, allocations: 3.579 MB / 0.951 GB, free: 13.81 MB / 0.6856 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.02304/1.452, allocations: 6.204 MB / 0.957 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002157/1.455, allocations: 0.9032 MB / 0.9579 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.455, allocations: 1.422 kB / 0.9579 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009846/1.456, allocations: 473.8 kB / 0.9584 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.458, allocations: 383.3 kB / 0.9587 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/1.476, allocations: 6.324 MB / 0.9649 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/1.476, allocations: 0.8486 MB / 0.9658 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004907/1.477, allocations: 157 kB / 0.9659 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.477, allocations: 168.3 kB / 0.9661 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.477, allocations: 1.875 kB / 0.9661 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3903/1.867, allocations: 132.2 MB / 1.095 GB, free: 243.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/19.19, allocations: 15.91 kB / 1.095 GB, free: 243.5 MB / 0.6856 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.962768800091] Failed to read output from testmodel.py, exit status != 0: 19.37675177771598 19.395915682 18.337779125 Calling exit ...