Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001811/0.001811, allocations: 110.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.002109/0.002109, allocations: 215.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.626/1.626, allocations: 207.6 MB / 229.8 MB, free: 11.39 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.05242/0.05242, allocations: 9.159 MB / 290.8 MB, free: 13.88 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.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",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.002223/0.002223, allocations: 73.58 kB / 405.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08899, allocations: 50.73 MB / 456.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.4306/0.5196, allocations: 129.1 MB / 0.572 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1238/0.6434, allocations: 111.4 MB / 0.6808 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.6441, allocations: 11.94 kB / 0.6808 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.6477, allocations: 1.601 MB / 0.6824 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.6523, allocations: 1.86 MB / 0.6842 GB, free: 5.621 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.08088/0.7332, allocations: 31.34 MB / 0.7148 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.7353, allocations: 1.418 MB / 0.7162 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.7355, allocations: 85.72 kB / 0.7163 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.7367, allocations: 0.6111 MB / 0.7169 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.7373, allocations: 402.3 kB / 0.7173 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.7373, allocations: 44 kB / 0.7173 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3691/1.106, allocations: 35.44 MB / 0.7519 GB, free: 46.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/1.107, allocations: 121.2 kB / 0.752 GB, free: 46.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/1.107, allocations: 303.9 kB / 0.7523 GB, free: 46.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04167/1.149, allocations: 13.97 MB / 0.766 GB, free: 45.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.149, allocations: 0.9375 kB / 0.766 GB, free: 45.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.645e-06/1.149, allocations: 3.75 kB / 0.766 GB, free: 45.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.259e-05/1.149, allocations: 4 kB / 0.766 GB, free: 45.59 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.007278/1.156, allocations: 2.675 MB / 0.7686 GB, free: 44.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.156, allocations: 11.5 kB / 0.7686 GB, free: 44.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/1.156, allocations: 85.14 kB / 0.7687 GB, free: 44.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/1.157, allocations: 96.86 kB / 0.7688 GB, free: 44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/1.157, allocations: 333.7 kB / 0.7691 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/1.157, allocations: 32.53 kB / 0.7691 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/1.157, allocations: 34.31 kB / 0.7691 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/1.159, allocations: 0.6018 MB / 0.7697 GB, free: 43.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/1.159, allocations: 6.328 kB / 0.7697 GB, free: 43.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/1.159, allocations: 11.5 kB / 0.7697 GB, free: 43.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.159, allocations: 18.92 kB / 0.7698 GB, free: 43.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/1.16, allocations: 0.5508 MB / 0.7703 GB, free: 43.67 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/1.162, allocations: 2.546 MB / 0.7728 GB, free: 41.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.163, allocations: 482.2 kB / 0.7732 GB, free: 41.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/1.164, allocations: 308.5 kB / 0.7735 GB, free: 41.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2542/1.418, allocations: 139 MB / 0.9093 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/1.418, allocations: 39.3 kB / 0.9093 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.595e-06/1.418, allocations: 0 / 0.9093 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.005646/1.424, allocations: 2.333 MB / 0.9116 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/1.424, allocations: 58.3 kB / 0.9116 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/1.424, allocations: 262.2 kB / 0.9119 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/1.424, allocations: 29.58 kB / 0.9119 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/1.424, allocations: 183 kB / 0.9121 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.424, allocations: 280.9 kB / 0.9124 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/1.424, allocations: 104.3 kB / 0.9125 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.424, allocations: 356.3 kB / 0.9128 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/1.425, allocations: 269.2 kB / 0.913 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/1.425, allocations: 391.9 kB / 0.9134 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/1.426, allocations: 0.7074 MB / 0.9141 GB, free: 13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.426, allocations: 1.859 kB / 0.9141 GB, free: 13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001307/1.427, allocations: 0.7859 MB / 0.9149 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.427, allocations: 6.5 kB / 0.9149 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.428, allocations: 8 kB / 0.9149 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/1.428, allocations: 61.36 kB / 0.915 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/1.428, allocations: 97.66 kB / 0.915 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07233/1.5, allocations: 16.62 MB / 0.9313 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/1.501, allocations: 27.48 kB / 0.9313 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/1.501, allocations: 23.05 kB / 0.9313 GB, free: 12.14 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.0003754/1.501, allocations: 190.2 kB / 0.9315 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.502, allocations: 39.77 kB / 0.9315 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/1.504, allocations: 1.552 MB / 0.9331 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/1.504, allocations: 15.61 kB / 0.9331 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.504, allocations: 5.109 kB / 0.9331 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001558/1.505, allocations: 1.132 MB / 0.9342 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.508, allocations: 1.595 MB / 0.9357 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.508, allocations: 0 / 0.9357 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/1.508, allocations: 78.33 kB / 0.9358 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/1.508, allocations: 48.27 kB / 0.9359 GB, free: 8.625 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/1.508, allocations: 10.56 kB / 0.9359 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/1.509, allocations: 1.426 MB / 0.9373 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.509, allocations: 0 / 0.9373 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.511, allocations: 1.184 MB / 0.9384 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.511, allocations: 120.8 kB / 0.9385 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/1.512, allocations: 7.75 kB / 0.9385 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.512, allocations: 28.92 kB / 0.9386 GB, free: 6.156 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.512, allocations: 43.69 kB / 0.9386 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/1.512, allocations: 15.94 kB / 0.9386 GB, free: 6.109 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002674/1.512, allocations: 240.9 kB / 0.9389 GB, free: 5.918 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.512, allocations: 0 / 0.9389 GB, free: 5.918 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01018/1.522, allocations: 3.579 MB / 0.9424 GB, free: 2.441 MB / 0.67 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.0222/1.545, allocations: 6.128 MB / 0.9483 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002136/1.547, allocations: 0.8962 MB / 0.9492 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.547, allocations: 4.562 kB / 0.9492 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008859/1.548, allocations: 469.1 kB / 0.9497 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.55, allocations: 415.1 kB / 0.9501 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.567, allocations: 6.322 MB / 0.9562 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/1.567, allocations: 0.8486 MB / 0.9571 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004976/1.568, allocations: 163.1 kB / 0.9572 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/1.568, allocations: 173.4 kB / 0.9574 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/1.568, allocations: 0 / 0.9574 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4462/2.014, allocations: 132.4 MB / 1.087 GB, free: 271.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/19.15, allocations: 8 kB / 1.087 GB, free: 271.9 MB / 0.7012 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.489491040818393] Failed to read output from testmodel.py, exit status != 0: 19.325678687077016 19.334883437 18.183762565 Calling exit ...