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.001804/0.001804, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002203/0.002203, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.515/1.515, allocations: 207.6 MB / 233 MB, free: 9.984 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.05357/0.05357, allocations: 9.144 MB / 294.4 MB, free: 12.7 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.002289/0.002289, allocations: 68.17 kB / 411.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08977, allocations: 50.76 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.4091/0.4988, allocations: 129.4 MB / 0.5774 GB, free: 236 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1251/0.6239, allocations: 111.5 MB / 0.6863 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.6246, allocations: 7.938 kB / 0.6863 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.6284, allocations: 1.602 MB / 0.6878 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.6333, allocations: 1.868 MB / 0.6897 GB, free: 3.883 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.08709/0.7204, allocations: 31.55 MB / 0.7205 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.7227, allocations: 1.441 MB / 0.7219 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.7229, allocations: 85.89 kB / 0.722 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.7241, allocations: 0.615 MB / 0.7226 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.7247, allocations: 406.5 kB / 0.723 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.7248, allocations: 40 kB / 0.723 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3589/1.084, allocations: 36.37 MB / 0.7585 GB, free: 44.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/1.084, allocations: 126 kB / 0.7586 GB, free: 44.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006881/1.085, allocations: 308.1 kB / 0.7589 GB, free: 44.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04352/1.128, allocations: 14 MB / 0.7726 GB, free: 43.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.128, allocations: 0 / 0.7726 GB, free: 43.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/1.128, allocations: 4.859 kB / 0.7726 GB, free: 43.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.128, allocations: 0 / 0.7726 GB, free: 43.68 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.008491/1.137, allocations: 2.606 MB / 0.7752 GB, free: 42.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.137, allocations: 14.64 kB / 0.7752 GB, free: 42.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.725e-05/1.137, allocations: 82.39 kB / 0.7752 GB, free: 42.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006242/1.138, allocations: 89.58 kB / 0.7753 GB, free: 42.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/1.138, allocations: 279.7 kB / 0.7756 GB, free: 42.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.138, allocations: 33.16 kB / 0.7756 GB, free: 42.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/1.138, allocations: 33.12 kB / 0.7757 GB, free: 42.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.139, allocations: 0.6069 MB / 0.7763 GB, free: 41.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.139, allocations: 4.031 kB / 0.7763 GB, free: 41.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/1.139, allocations: 14.16 kB / 0.7763 GB, free: 41.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/1.139, allocations: 26.05 kB / 0.7763 GB, free: 41.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/1.14, allocations: 0.5549 MB / 0.7768 GB, free: 41.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/1.143, allocations: 2.529 MB / 0.7793 GB, free: 40.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.144, allocations: 491.5 kB / 0.7798 GB, free: 40.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/1.144, allocations: 318.2 kB / 0.7801 GB, free: 40.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1882/1.332, allocations: 43.9 MB / 0.823 GB, free: 20.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/1.332, allocations: 34.72 kB / 0.823 GB, free: 20.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.657e-06/1.332, allocations: 4 kB / 0.823 GB, free: 20.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.006354/1.339, allocations: 2.227 MB / 0.8252 GB, free: 19.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.339, allocations: 60.94 kB / 0.8252 GB, free: 18.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/1.339, allocations: 258.5 kB / 0.8255 GB, free: 18.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/1.339, allocations: 33.64 kB / 0.8255 GB, free: 18.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/1.339, allocations: 187.3 kB / 0.8257 GB, free: 18.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/1.339, allocations: 280.5 kB / 0.8259 GB, free: 18.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.34, allocations: 100.1 kB / 0.826 GB, free: 18.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.34, allocations: 354.2 kB / 0.8264 GB, free: 17.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/1.34, allocations: 277.2 kB / 0.8266 GB, free: 17.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/1.341, allocations: 408.9 kB / 0.827 GB, free: 17.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.342, allocations: 0.7219 MB / 0.8277 GB, free: 16.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.342, allocations: 6.062 kB / 0.8277 GB, free: 16.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001348/1.343, allocations: 0.804 MB / 0.8285 GB, free: 16.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.343, allocations: 5.719 kB / 0.8285 GB, free: 16.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.343, allocations: 5.875 kB / 0.8285 GB, free: 16.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/1.343, allocations: 68.2 kB / 0.8286 GB, free: 16.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/1.344, allocations: 96.84 kB / 0.8287 GB, free: 16.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06446/1.408, allocations: 16.44 MB / 0.8447 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/1.409, allocations: 29.44 kB / 0.8448 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/1.409, allocations: 15.98 kB / 0.8448 GB, free: 300 kB / 0.545 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.0002928/1.409, allocations: 184.8 kB / 0.845 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.409, allocations: 47.78 kB / 0.845 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.411, allocations: 1.592 MB / 0.8466 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.411, allocations: 14.64 kB / 0.8466 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.411, allocations: 0 / 0.8466 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/1.413, allocations: 1.176 MB / 0.8477 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/1.415, allocations: 1.604 MB / 0.8493 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.415, allocations: 3.938 kB / 0.8493 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/1.416, allocations: 83.58 kB / 0.8494 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/1.416, allocations: 44.61 kB / 0.8494 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/1.416, allocations: 11.78 kB / 0.8494 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.417, allocations: 1.311 MB / 0.8507 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.417, allocations: 32 / 0.8507 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.419, allocations: 1.217 MB / 0.8519 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/1.419, allocations: 43.67 kB / 0.8519 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.419, allocations: 15.88 kB / 0.852 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/1.42, allocations: 19.23 kB / 0.852 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.42, allocations: 56.12 kB / 0.852 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/1.42, allocations: 11.81 kB / 0.852 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003128/1.42, allocations: 245.8 kB / 0.8523 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.42, allocations: 0 / 0.8523 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01198/1.432, allocations: 3.575 MB / 0.8558 GB, free: 6.688 MB / 0.5606 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.02377/1.456, allocations: 6.132 MB / 0.8618 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.458, allocations: 0.9264 MB / 0.8627 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.458, allocations: 0.9844 kB / 0.8627 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/1.459, allocations: 472.5 kB / 0.8631 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.461, allocations: 423.9 kB / 0.8635 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.478, allocations: 6.398 MB / 0.8698 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.478, allocations: 0.8526 MB / 0.8706 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005649/1.479, allocations: 161.2 kB / 0.8708 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.479, allocations: 170 kB / 0.8709 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/1.479, allocations: 4 kB / 0.8709 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4831/1.962, allocations: 133 MB / 1.001 GB, free: 243.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.32/20.28, allocations: 3.875 kB / 1.001 GB, free: 243.5 MB / 0.67 GB " [Timeout remaining time 640] (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: 24.445627494998917] Failed to read output from testmodel.py, exit status != 0: 20.482599718998244 20.495143244 19.364014137 Calling exit ...