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.001342/0.001342, allocations: 103.6 kB / 18.95 MB, free: 2.82 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.001512/0.001512, allocations: 217 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.84 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04892/0.04892, allocations: 9.133 MB / 321.6 MB, free: 10.26 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 446.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 54.95 MB / 0.4897 GB, free: 9.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4019/0.5059, allocations: 174.9 MB / 0.6605 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3933/0.8992, allocations: 125.6 MB / 0.7832 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.9, allocations: 11.94 kB / 0.7832 GB, free: 196 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.9025, allocations: 1.252 MB / 0.7844 GB, free: 192 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.9055, allocations: 1.641 MB / 0.786 GB, free: 172 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.08576/0.9912, allocations: 40.56 MB / 0.8256 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.9935, allocations: 1.945 MB / 0.8275 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.9938, allocations: 120.7 kB / 0.8276 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.995, allocations: 0.8709 MB / 0.8285 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.9956, allocations: 0.5204 MB / 0.829 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.9957, allocations: 59.38 kB / 0.8291 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06004/1.056, allocations: 31.5 MB / 0.8598 GB, free: 100 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0003799/1.056, allocations: 173.4 kB / 0.86 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007127/1.057, allocations: 360 kB / 0.8603 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04883/1.106, allocations: 16.42 MB / 0.8764 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.106, allocations: 0 / 0.8764 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/1.106, allocations: 0 / 0.8764 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.106, allocations: 0 / 0.8764 GB, free: 0.5898 MB / 0.5919 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.007348/1.113, allocations: 3.407 MB / 0.8797 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.113, allocations: 12.03 kB / 0.8797 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/1.113, allocations: 102.5 kB / 0.8798 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/1.114, allocations: 130.1 kB / 0.8799 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/1.115, allocations: 348.8 kB / 0.8803 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/1.115, allocations: 37 kB / 0.8803 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/1.115, allocations: 51.94 kB / 0.8803 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.116, allocations: 1.039 MB / 0.8814 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.116, allocations: 4 kB / 0.8814 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/1.117, allocations: 20 kB / 0.8814 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/1.117, allocations: 26.48 kB / 0.8814 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/1.118, allocations: 0.7536 MB / 0.8821 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/1.121, allocations: 2.292 MB / 0.8844 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.123, allocations: 0.6488 MB / 0.885 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/1.124, allocations: 451 kB / 0.8854 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2596/1.383, allocations: 58.72 MB / 0.9428 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/1.383, allocations: 39 kB / 0.9428 GB, free: 12.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 2.615e-06/1.383, allocations: 0 / 0.9428 GB, free: 12.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.009143/1.392, allocations: 3.354 MB / 0.9461 GB, free: 9.07 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/1.392, allocations: 55.91 kB / 0.9462 GB, free: 9.004 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/1.393, allocations: 316.3 kB / 0.9465 GB, free: 8.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/1.393, allocations: 37.7 kB / 0.9465 GB, free: 8.637 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/1.393, allocations: 237.5 kB / 0.9467 GB, free: 8.398 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/1.393, allocations: 401.9 kB / 0.9471 GB, free: 8.012 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.393, allocations: 142.3 kB / 0.9472 GB, free: 7.867 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.394, allocations: 366.8 kB / 0.9476 GB, free: 7.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/1.394, allocations: 405.7 kB / 0.948 GB, free: 7.105 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/1.395, allocations: 0.5473 MB / 0.9485 GB, free: 6.508 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.397, allocations: 1.005 MB / 0.9495 GB, free: 5.457 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.397, allocations: 4 kB / 0.9495 GB, free: 5.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002164/1.399, allocations: 1.155 MB / 0.9506 GB, free: 4.281 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.399, allocations: 7.938 kB / 0.9506 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.399, allocations: 4 kB / 0.9506 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/1.399, allocations: 98.5 kB / 0.9507 GB, free: 4.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/1.4, allocations: 219.5 kB / 0.9509 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3341/1.734, allocations: 35 MB / 0.9851 GB, free: 327 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/1.735, allocations: 42.06 kB / 0.9852 GB, free: 327 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.735, allocations: 32.39 kB / 0.9852 GB, free: 327 MB / 0.7013 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.0003476/1.736, allocations: 224.1 kB / 0.9854 GB, free: 326.9 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.736, allocations: 58.55 kB / 0.9855 GB, free: 326.9 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/1.738, allocations: 2.432 MB / 0.9878 GB, free: 326.7 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.738, allocations: 21.73 kB / 0.9879 GB, free: 326.7 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.738, allocations: 1.969 kB / 0.9879 GB, free: 326.7 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001868/1.74, allocations: 1.695 MB / 0.9895 GB, free: 326.3 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/1.743, allocations: 2.409 MB / 0.9919 GB, free: 326 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.743, allocations: 0.5625 kB / 0.9919 GB, free: 326 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/1.744, allocations: 125.5 kB / 0.992 GB, free: 326 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/1.744, allocations: 209.1 kB / 0.9922 GB, free: 325.9 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/1.744, allocations: 13.98 kB / 0.9922 GB, free: 325.9 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/1.746, allocations: 3.776 MB / 0.9959 GB, free: 322.5 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.746, allocations: 0.7031 kB / 0.9959 GB, free: 322.5 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/1.749, allocations: 2.034 MB / 0.9979 GB, free: 322.3 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.749, allocations: 63.92 kB / 0.9979 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/1.749, allocations: 11.09 kB / 0.9979 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/1.749, allocations: 38.14 kB / 0.998 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.75, allocations: 65.81 kB / 0.998 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/1.75, allocations: 21.09 kB / 0.9981 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0002471/1.75, allocations: 253 kB / 0.9983 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of sort global known variables: time 7e-08/1.75, allocations: 3.625 kB / 0.9983 GB, free: 322.2 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01269/1.763, allocations: 5.547 MB / 1.004 GB, free: 322.2 MB / 0.7013 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.03019/1.793, allocations: 9.228 MB / 1.013 GB, free: 319.9 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.003073/1.796, allocations: 1.515 MB / 1.014 GB, free: 319.1 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.796, allocations: 0 / 1.014 GB, free: 319.1 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.797, allocations: 0.8046 MB / 1.015 GB, free: 318.7 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.799, allocations: 0.5391 MB / 1.016 GB, free: 318.6 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.815, allocations: 8.731 MB / 1.024 GB, free: 314.1 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/1.815, allocations: 333.2 kB / 1.024 GB, free: 314 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.000535/1.816, allocations: 188.1 kB / 1.025 GB, free: 313.9 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.816, allocations: 258.9 kB / 1.025 GB, free: 313.8 MB / 0.7013 GB Notification: Performance of SimCode: time 1.172e-06/1.816, allocations: 0 / 1.025 GB, free: 313.8 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2544/2.07, allocations: 213.7 MB / 1.233 GB, free: 112.9 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.2/22.27, allocations: 7.219 kB / 1.233 GB, free: 112.9 MB / 0.7013 GB " [Timeout remaining time 637] (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: 24.99614332895726] Failed to read output from testmodel.py, exit status != 0: 22.51759459124878 22.535810604 21.426740662 Calling exit ...