Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.001628/0.001628, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002036/0.002036, allocations: 212.9 kB / 22.25 MB, free: 5.082 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.404/1.404, allocations: 207.6 MB / 233 MB, free: 9.996 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.0526/0.0526, allocations: 9.163 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.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",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.002855/0.002855, allocations: 72.39 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08431, allocations: 50.75 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3853/0.4696, allocations: 128.3 MB / 0.5763 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1208/0.5904, allocations: 109.9 MB / 0.6836 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.5909, allocations: 7.938 kB / 0.6837 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.5935, allocations: 1.207 MB / 0.6848 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.5961, allocations: 1.263 MB / 0.6861 GB, free: 7.57 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.07317/0.6693, allocations: 30.68 MB / 0.716 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.6715, allocations: 1.39 MB / 0.7174 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.6718, allocations: 85.88 kB / 0.7175 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02444/0.6962, allocations: 12.39 MB / 0.7296 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.6971, allocations: 394.4 kB / 0.7299 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.6972, allocations: 44 kB / 0.73 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3272/1.024, allocations: 34.55 MB / 0.7637 GB, free: 48.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/1.025, allocations: 119.5 kB / 0.7638 GB, free: 48.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004525/1.025, allocations: 308.6 kB / 0.7641 GB, free: 48.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04385/1.069, allocations: 14.18 MB / 0.778 GB, free: 48.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.069, allocations: 0 / 0.778 GB, free: 48.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/1.069, allocations: 0 / 0.778 GB, free: 48.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.841e-05/1.069, allocations: 1.375 kB / 0.778 GB, free: 48.48 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.007094/1.076, allocations: 2.601 MB / 0.7805 GB, free: 47.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.076, allocations: 14.33 kB / 0.7805 GB, free: 47.06 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/1.076, allocations: 87.44 kB / 0.7806 GB, free: 47.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/1.077, allocations: 90.94 kB / 0.7807 GB, free: 46.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/1.077, allocations: 281 kB / 0.781 GB, free: 46.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.077, allocations: 26.34 kB / 0.781 GB, free: 46.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/1.077, allocations: 36.41 kB / 0.781 GB, free: 46.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.078, allocations: 0.6112 MB / 0.7816 GB, free: 46.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/1.078, allocations: 1.969 kB / 0.7816 GB, free: 46.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/1.078, allocations: 15.19 kB / 0.7816 GB, free: 46.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.078, allocations: 19.19 kB / 0.7817 GB, free: 46.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.08, allocations: 0.5643 MB / 0.7822 GB, free: 46.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/1.082, allocations: 2.523 MB / 0.7847 GB, free: 45.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.083, allocations: 487.7 kB / 0.7851 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/1.083, allocations: 320 kB / 0.7854 GB, free: 44.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2054/1.289, allocations: 43.91 MB / 0.8283 GB, free: 19.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/1.289, allocations: 34.84 kB / 0.8284 GB, free: 19.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.507e-06/1.289, allocations: 0 / 0.8284 GB, free: 19.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.006013/1.295, allocations: 2.245 MB / 0.8305 GB, free: 17.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.295, allocations: 55.41 kB / 0.8306 GB, free: 17.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/1.295, allocations: 250.4 kB / 0.8308 GB, free: 17.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/1.295, allocations: 33.52 kB / 0.8309 GB, free: 17.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/1.295, allocations: 184.9 kB / 0.831 GB, free: 17.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.295, allocations: 283 kB / 0.8313 GB, free: 17.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/1.295, allocations: 107.3 kB / 0.8314 GB, free: 17.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/1.295, allocations: 346.2 kB / 0.8317 GB, free: 16.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/1.296, allocations: 282.5 kB / 0.832 GB, free: 16.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/1.296, allocations: 408.7 kB / 0.8324 GB, free: 16.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009149/1.297, allocations: 0.7255 MB / 0.8331 GB, free: 15.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.297, allocations: 2.906 kB / 0.8331 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00137/1.299, allocations: 0.8089 MB / 0.8339 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.299, allocations: 9.312 kB / 0.8339 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.299, allocations: 8 kB / 0.8339 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/1.299, allocations: 61.42 kB / 0.834 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/1.299, allocations: 97.06 kB / 0.8341 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06555/1.365, allocations: 17.01 MB / 0.8507 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/1.365, allocations: 30.88 kB / 0.8507 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/1.365, allocations: 19.94 kB / 0.8507 GB, free: 14.57 MB / 0.5606 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.0003097/1.366, allocations: 181.9 kB / 0.8509 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.366, allocations: 46.44 kB / 0.851 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.368, allocations: 1.58 MB / 0.8525 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/1.368, allocations: 19.44 kB / 0.8525 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.368, allocations: 0 / 0.8525 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/1.37, allocations: 1.174 MB / 0.8537 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/1.372, allocations: 1.608 MB / 0.8552 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.372, allocations: 0 / 0.8552 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/1.373, allocations: 77.64 kB / 0.8553 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/1.373, allocations: 55.11 kB / 0.8554 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/1.373, allocations: 3.812 kB / 0.8554 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/1.374, allocations: 1.322 MB / 0.8567 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.374, allocations: 0 / 0.8567 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.376, allocations: 1.221 MB / 0.8578 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.376, allocations: 39.73 kB / 0.8579 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/1.376, allocations: 7.875 kB / 0.8579 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/1.376, allocations: 27.72 kB / 0.8579 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.377, allocations: 46.05 kB / 0.858 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/1.377, allocations: 12.25 kB / 0.858 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002772/1.377, allocations: 252.2 kB / 0.8582 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.377, allocations: 0 / 0.8582 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01053/1.387, allocations: 3.579 MB / 0.8617 GB, free: 4.965 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.0222/1.41, allocations: 6.241 MB / 0.8678 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.412, allocations: 0.9202 MB / 0.8687 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.412, allocations: 0 / 0.8687 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/1.413, allocations: 481.5 kB / 0.8692 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/1.415, allocations: 394.2 kB / 0.8695 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.431, allocations: 6.4 MB / 0.8758 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/1.431, allocations: 0.8526 MB / 0.8766 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005812/1.432, allocations: 165 kB / 0.8768 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/1.432, allocations: 177.5 kB / 0.8769 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/1.432, allocations: 0 / 0.8769 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4951/1.927, allocations: 133 MB / 1.007 GB, free: 242.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.4/20.33, allocations: 3.406 kB / 1.007 GB, free: 242.1 MB / 0.67 GB " [Timeout remaining time 639] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel_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_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.676715421002882] Failed to read output from testmodel.py, exit status != 0: 20.53714170499734 20.55577288 19.484271619 Calling exit ...