Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001742/0.001742, allocations: 106.9 kB / 16.45 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.002176/0.002176, 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.578/1.578, 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.05206/0.05206, allocations: 9.147 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.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",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.002222/0.002222, allocations: 71.55 kB / 405.9 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09374, allocations: 50.72 MB / 456.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.411/0.5048, allocations: 129 MB / 0.5719 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1249/0.6297, allocations: 111.3 MB / 0.6806 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.6302, allocations: 7.938 kB / 0.6806 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003531/0.6337, allocations: 1.554 MB / 0.6821 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.6381, allocations: 1.824 MB / 0.6839 GB, free: 6.164 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.09365/0.7317, allocations: 31.05 MB / 0.7142 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.7343, allocations: 1.406 MB / 0.7156 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.7346, allocations: 89.7 kB / 0.7157 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02132/0.7559, allocations: 10.7 MB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.7566, allocations: 398.4 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.7567, allocations: 40 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3868/1.144, allocations: 34.96 MB / 0.7607 GB, free: 49.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/1.144, allocations: 124.9 kB / 0.7608 GB, free: 49.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/1.144, allocations: 307.9 kB / 0.7611 GB, free: 49.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03966/1.184, allocations: 13.97 MB / 0.7747 GB, free: 48.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.184, allocations: 0 / 0.7747 GB, free: 48.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/1.184, allocations: 1.859 kB / 0.7747 GB, free: 48.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.302e-05/1.184, allocations: 0 / 0.7747 GB, free: 48.72 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.01047/1.195, allocations: 2.673 MB / 0.7774 GB, free: 47.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.195, allocations: 12.73 kB / 0.7774 GB, free: 47.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.771e-05/1.195, allocations: 86.11 kB / 0.7774 GB, free: 47.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007398/1.195, allocations: 92.47 kB / 0.7775 GB, free: 47.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/1.196, allocations: 343.1 kB / 0.7779 GB, free: 46.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/1.196, allocations: 28.06 kB / 0.7779 GB, free: 46.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/1.196, allocations: 35.38 kB / 0.7779 GB, free: 46.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.197, allocations: 0.5998 MB / 0.7785 GB, free: 46.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/1.197, allocations: 2.625 kB / 0.7785 GB, free: 46.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/1.197, allocations: 15.19 kB / 0.7785 GB, free: 46.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/1.197, allocations: 15.83 kB / 0.7785 GB, free: 46.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.199, allocations: 0.5544 MB / 0.7791 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/1.201, allocations: 2.461 MB / 0.7815 GB, free: 45.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.202, allocations: 461.2 kB / 0.7819 GB, free: 45.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/1.203, allocations: 309.4 kB / 0.7822 GB, free: 45.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2566/1.459, allocations: 139 MB / 0.9179 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.459, allocations: 36.5 kB / 0.918 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=77): time 4.558e-06/1.459, allocations: 7.984 kB / 0.918 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.006528/1.466, allocations: 2.349 MB / 0.9203 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.466, allocations: 59.41 kB / 0.9203 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/1.466, allocations: 261 kB / 0.9206 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/1.466, allocations: 29.58 kB / 0.9206 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/1.466, allocations: 196.1 kB / 0.9208 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/1.467, allocations: 276.8 kB / 0.9211 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.467, allocations: 97.05 kB / 0.9212 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.467, allocations: 355.8 kB / 0.9215 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/1.467, allocations: 280.7 kB / 0.9218 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/1.468, allocations: 393.7 kB / 0.9221 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.469, allocations: 0.6914 MB / 0.9228 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.469, allocations: 0 / 0.9228 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00165/1.471, allocations: 0.8009 MB / 0.9236 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.471, allocations: 11.98 kB / 0.9236 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.471, allocations: 0 / 0.9236 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/1.471, allocations: 57.44 kB / 0.9237 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/1.472, allocations: 144.3 kB / 0.9238 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07499/1.547, allocations: 18.43 MB / 0.9418 GB, free: 6.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/1.548, allocations: 19.92 kB / 0.9418 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/1.548, allocations: 25.55 kB / 0.9418 GB, free: 6.473 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0003872/1.548, allocations: 194.1 kB / 0.942 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.548, allocations: 50.09 kB / 0.9421 GB, free: 6.27 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/1.551, allocations: 1.693 MB / 0.9437 GB, free: 5.082 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.551, allocations: 19.28 kB / 0.9438 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.551, allocations: 0 / 0.9438 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001714/1.552, allocations: 1.287 MB / 0.945 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/1.555, allocations: 1.734 MB / 0.9467 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.555, allocations: 0 / 0.9467 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/1.555, allocations: 78.41 kB / 0.9468 GB, free: 2.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/1.556, allocations: 167.4 kB / 0.9469 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/1.556, allocations: 12.34 kB / 0.9469 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/1.558, allocations: 2.564 MB / 0.9495 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.558, allocations: 2.688 kB / 0.9495 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.56, allocations: 1.369 MB / 0.9508 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/1.56, allocations: 126.6 kB / 0.9509 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/1.561, allocations: 10.58 kB / 0.9509 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.561, allocations: 28.28 kB / 0.9509 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.561, allocations: 42.19 kB / 0.951 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/1.561, allocations: 16.73 kB / 0.951 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002811/1.561, allocations: 222.4 kB / 0.9512 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.561, allocations: 0 / 0.9512 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01102/1.572, allocations: 3.573 MB / 0.9547 GB, free: 11.15 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02517/1.598, allocations: 6.189 MB / 0.9607 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003177/1.601, allocations: 0.9945 MB / 0.9617 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.601, allocations: 0 / 0.9617 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.602, allocations: 497.4 kB / 0.9622 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.604, allocations: 401.5 kB / 0.9626 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.216/1.82, allocations: 6.261 MB / 0.9687 GB, free: 345 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.821, allocations: 0.8509 MB / 0.9695 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004975/1.821, allocations: 141.1 kB / 0.9697 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/1.821, allocations: 167.8 kB / 0.9698 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.292e-06/1.821, allocations: 1.062 kB / 0.9698 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1896/2.011, allocations: 133.3 MB / 1.1 GB, free: 239.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/19.26, allocations: 3.906 kB / 1.1 GB, free: 239.7 MB / 0.6856 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel_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_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.65248492686078] Failed to read output from testmodel.py, exit status != 0: 19.448545042891055 19.458529112 18.272138778 Calling exit ...