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.00179/0.00179, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.00219/0.00219, allocations: 220.2 kB / 22.25 MB, free: 5.215 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.462/1.462, allocations: 207.6 MB / 233 MB, free: 10 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.0523/0.0523, allocations: 9.151 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.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.002292/0.002292, allocations: 67.94 kB / 411.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09549, allocations: 50.76 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.409/0.5045, allocations: 129.3 MB / 0.5773 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.124/0.6285, allocations: 111.4 MB / 0.6861 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.629, allocations: 7.938 kB / 0.6861 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.6324, allocations: 1.551 MB / 0.6876 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.6365, allocations: 1.837 MB / 0.6894 GB, free: 4.172 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.08434/0.7209, allocations: 31.25 MB / 0.7199 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.7231, allocations: 1.418 MB / 0.7213 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.7233, allocations: 93.91 kB / 0.7214 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02032/0.7436, allocations: 11 MB / 0.7321 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.7443, allocations: 398.4 kB / 0.7325 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.128e-05/0.7444, allocations: 40 kB / 0.7325 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4084/1.153, allocations: 35.9 MB / 0.7676 GB, free: 47.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/1.153, allocations: 122.1 kB / 0.7677 GB, free: 47.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/1.154, allocations: 302.7 kB / 0.768 GB, free: 47.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04355/1.197, allocations: 14.01 MB / 0.7817 GB, free: 47.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.197, allocations: 3.5 kB / 0.7817 GB, free: 47.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/1.197, allocations: 0 / 0.7817 GB, free: 47.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.519e-05/1.197, allocations: 0 / 0.7817 GB, free: 47.27 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.008087/1.205, allocations: 2.601 MB / 0.7842 GB, free: 45.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.205, allocations: 14.77 kB / 0.7842 GB, free: 45.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.1e-05/1.205, allocations: 86.14 kB / 0.7843 GB, free: 45.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/1.206, allocations: 90.2 kB / 0.7844 GB, free: 45.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/1.207, allocations: 283.2 kB / 0.7847 GB, free: 45.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/1.207, allocations: 37.14 kB / 0.7847 GB, free: 45.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/1.207, allocations: 32.5 kB / 0.7847 GB, free: 45.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.208, allocations: 0.6106 MB / 0.7853 GB, free: 45.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.208, allocations: 0 / 0.7853 GB, free: 45.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/1.208, allocations: 13.28 kB / 0.7854 GB, free: 45.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/1.208, allocations: 23.55 kB / 0.7854 GB, free: 45.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/1.209, allocations: 0.5571 MB / 0.7859 GB, free: 45.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/1.211, allocations: 2.446 MB / 0.7883 GB, free: 43.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/1.212, allocations: 467.8 kB / 0.7888 GB, free: 43.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/1.213, allocations: 318.7 kB / 0.7891 GB, free: 43.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1896/1.402, allocations: 43.9 MB / 0.8319 GB, free: 17.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.402, allocations: 37.31 kB / 0.832 GB, free: 17.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=77): time 2.685e-06/1.402, allocations: 0 / 0.832 GB, free: 17.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.005329/1.408, allocations: 2.251 MB / 0.8342 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/1.408, allocations: 55.41 kB / 0.8342 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/1.408, allocations: 263.8 kB / 0.8345 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/1.408, allocations: 29.64 kB / 0.8345 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/1.408, allocations: 196.1 kB / 0.8347 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.408, allocations: 276.8 kB / 0.835 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.408, allocations: 97.81 kB / 0.835 GB, free: 14.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/1.408, allocations: 356.1 kB / 0.8354 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/1.409, allocations: 284.6 kB / 0.8357 GB, free: 14.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/1.409, allocations: 406.1 kB / 0.836 GB, free: 13.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/1.41, allocations: 0.7091 MB / 0.8367 GB, free: 13.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.41, allocations: 4.844 kB / 0.8367 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001223/1.411, allocations: 0.8171 MB / 0.8375 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.411, allocations: 16.53 kB / 0.8376 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.411, allocations: 4 kB / 0.8376 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/1.412, allocations: 55.09 kB / 0.8376 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/1.412, allocations: 147.9 kB / 0.8378 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06595/1.478, allocations: 18.23 MB / 0.8556 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/1.479, allocations: 31.66 kB / 0.8556 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/1.479, allocations: 19.94 kB / 0.8556 GB, free: 10.8 MB / 0.5606 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.0003126/1.479, allocations: 189.7 kB / 0.8558 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/1.479, allocations: 47.66 kB / 0.8558 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/1.481, allocations: 1.736 MB / 0.8575 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.481, allocations: 16.73 kB / 0.8575 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.481, allocations: 0 / 0.8575 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/1.483, allocations: 1.328 MB / 0.8588 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/1.486, allocations: 1.758 MB / 0.8606 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.486, allocations: 2.062 kB / 0.8606 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/1.486, allocations: 81.38 kB / 0.8606 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003722/1.487, allocations: 172.2 kB / 0.8608 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/1.487, allocations: 9.562 kB / 0.8608 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.489, allocations: 2.47 MB / 0.8632 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.489, allocations: 0 / 0.8632 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/1.491, allocations: 1.418 MB / 0.8646 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/1.492, allocations: 49.88 kB / 0.8646 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/1.492, allocations: 9.672 kB / 0.8647 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/1.492, allocations: 22.17 kB / 0.8647 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.492, allocations: 51.47 kB / 0.8647 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/1.492, allocations: 15.92 kB / 0.8647 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000286/1.492, allocations: 219.8 kB / 0.865 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.492, allocations: 4 kB / 0.865 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01105/1.504, allocations: 3.567 MB / 0.8684 GB, free: 15.56 MB / 0.5762 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.02576/1.529, allocations: 6.22 MB / 0.8745 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002653/1.532, allocations: 1.026 MB / 0.8755 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.532, allocations: 0 / 0.8755 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008404/1.533, allocations: 495.3 kB / 0.876 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.535, allocations: 402 kB / 0.8764 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.553, allocations: 6.342 MB / 0.8826 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/1.554, allocations: 0.8576 MB / 0.8834 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005285/1.554, allocations: 139.2 kB / 0.8835 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/1.555, allocations: 172.2 kB / 0.8837 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of SimCode: time 1.523e-06/1.555, allocations: 0 / 0.8837 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4919/2.046, allocations: 133.9 MB / 1.014 GB, free: 241.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/20.35, allocations: 9.172 kB / 1.014 GB, free: 241.6 MB / 0.67 GB " [Timeout remaining time 639] (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: 27.70820303400251] Failed to read output from testmodel.py, exit status != 0: 20.56017614200391 20.583612936 19.382487368 Calling exit ...