Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.001372/0.001372, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001527/0.001527, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.531/1.531, 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.07599/0.07599, 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.EthanolTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2",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.002196/0.002196, allocations: 72.83 kB / 405.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08805, allocations: 50.73 MB / 456.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.508/0.596, allocations: 196.7 MB / 0.638 GB, free: 5.152 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5589/1.155, allocations: 142 MB / 0.7767 GB, free: 268 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/1.156, allocations: 16.53 kB / 0.7767 GB, free: 264 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003266/1.159, allocations: 1.617 MB / 0.7783 GB, free: 260 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00463/1.164, allocations: 1.911 MB / 0.7801 GB, free: 244 kB / 0.545 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.1157/1.28, allocations: 40.59 MB / 0.8198 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002886/1.282, allocations: 1.929 MB / 0.8217 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/1.283, allocations: 142.3 kB / 0.8218 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/1.284, allocations: 0.847 MB / 0.8226 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007233/1.285, allocations: 0.5461 MB / 0.8232 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/1.285, allocations: 63 kB / 0.8232 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09945/1.385, allocations: 44.82 MB / 0.867 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/1.385, allocations: 178.1 kB / 0.8672 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009001/1.386, allocations: 417.9 kB / 0.8676 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.06577/1.452, allocations: 18.87 MB / 0.886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.452, allocations: 0 / 0.886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/1.452, allocations: 0 / 0.886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.452, allocations: 0 / 0.886 GB, free: 7.609 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.009286/1.461, allocations: 3.5 MB / 0.8894 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.461, allocations: 8.031 kB / 0.8894 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/1.461, allocations: 110.5 kB / 0.8895 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/1.462, allocations: 123.5 kB / 0.8896 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/1.463, allocations: 403.8 kB / 0.89 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/1.463, allocations: 44.98 kB / 0.8901 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/1.463, allocations: 47.94 kB / 0.8901 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/1.465, allocations: 0.823 MB / 0.8909 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.465, allocations: 7.953 kB / 0.8909 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/1.465, allocations: 20 kB / 0.8909 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/1.465, allocations: 31.98 kB / 0.891 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.467, allocations: 0.7457 MB / 0.8917 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/1.471, allocations: 3.424 MB / 0.895 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/1.473, allocations: 0.6426 MB / 0.8957 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/1.474, allocations: 439.9 kB / 0.8961 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7257/2.199, allocations: 185.3 MB / 1.077 GB, free: 125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/2.199, allocations: 47.16 kB / 1.077 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=109): time 2.795e-06/2.199, allocations: 0 / 1.077 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117): time 0.009309/2.209, allocations: 3.414 MB / 1.08 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/2.209, allocations: 59.33 kB / 1.08 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/2.209, allocations: 315.1 kB / 1.081 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/2.209, allocations: 34.55 kB / 1.081 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/2.209, allocations: 234.1 kB / 1.081 GB, free: 124 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/2.21, allocations: 403.5 kB / 1.081 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/2.21, allocations: 140.8 kB / 1.082 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001053/2.21, allocations: 366.7 kB / 1.082 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/2.211, allocations: 397.7 kB / 1.082 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/2.211, allocations: 0.5348 MB / 1.083 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/2.213, allocations: 0.9766 MB / 1.084 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/2.213, allocations: 0 / 1.084 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002012/2.215, allocations: 1.134 MB / 1.085 GB, free: 123 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/2.215, allocations: 6.031 kB / 1.085 GB, free: 123 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/2.215, allocations: 3.594 kB / 1.085 GB, free: 123 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/2.215, allocations: 106.7 kB / 1.085 GB, free: 123 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/2.216, allocations: 206.1 kB / 1.085 GB, free: 123 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1351/2.351, allocations: 35.3 MB / 1.12 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/2.352, allocations: 50.45 kB / 1.12 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/2.352, allocations: 25.05 kB / 1.12 GB, free: 109.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003705/2.352, allocations: 220.5 kB / 1.12 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/2.352, allocations: 60.91 kB / 1.12 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/2.355, allocations: 2.374 MB / 1.122 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/2.355, allocations: 18.61 kB / 1.122 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/2.355, allocations: 7.938 kB / 1.122 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001849/2.357, allocations: 1.636 MB / 1.124 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/2.36, allocations: 2.454 MB / 1.126 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/2.36, allocations: 0.7031 kB / 1.126 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/2.361, allocations: 120.1 kB / 1.126 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/2.361, allocations: 200.3 kB / 1.127 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/2.361, allocations: 12.94 kB / 1.127 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/2.363, allocations: 3.984 MB / 1.131 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/2.363, allocations: 4 kB / 1.131 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/2.366, allocations: 1.963 MB / 1.132 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/2.366, allocations: 137.8 kB / 1.133 GB, free: 101 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/2.366, allocations: 22.75 kB / 1.133 GB, free: 101 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/2.366, allocations: 28.62 kB / 1.133 GB, free: 101 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/2.367, allocations: 64.09 kB / 1.133 GB, free: 100.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/2.367, allocations: 18.5 kB / 1.133 GB, free: 100.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002818/2.367, allocations: 258.6 kB / 1.133 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/2.367, allocations: 0 / 1.133 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01784/2.385, allocations: 5.547 MB / 1.138 GB, free: 96.08 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.03218/2.417, allocations: 9.165 MB / 1.147 GB, free: 89.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003465/2.42, allocations: 1.496 MB / 1.149 GB, free: 88.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.42, allocations: 4 kB / 1.149 GB, free: 88.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/2.422, allocations: 0.7757 MB / 1.15 GB, free: 87.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/2.424, allocations: 0.5206 MB / 1.15 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/2.447, allocations: 8.64 MB / 1.158 GB, free: 81.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/2.447, allocations: 0.9271 MB / 1.159 GB, free: 80.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006634/2.448, allocations: 190 kB / 1.16 GB, free: 80.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/2.448, allocations: 254.6 kB / 1.16 GB, free: 80.03 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/2.448, allocations: 0 / 1.16 GB, free: 80.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6126/3.061, allocations: 211.2 MB / 1.366 GB, free: 275.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.48/23.54, allocations: 3.125 kB / 1.366 GB, free: 275.2 MB / 0.7481 GB " [Timeout remaining time 636] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2_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_EthanolTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.498928549699485] Failed to read output from testmodel.py, exit status != 0: 23.78626536205411 23.80148163 22.346442416 Calling exit ...