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.001286/0.001286, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001446/0.001446, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.781 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.04883/0.04883, allocations: 9.129 MB / 321.6 MB, free: 10.23 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.001871/0.001871, allocations: 71.88 kB / 446.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 54.94 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4603/0.5627, allocations: 174.9 MB / 0.6605 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3987/0.9614, allocations: 125.6 MB / 0.7832 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009341/0.9623, allocations: 14.69 kB / 0.7832 GB, free: 192 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.965, allocations: 1.254 MB / 0.7844 GB, free: 188 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.9679, allocations: 1.641 MB / 0.786 GB, free: 168 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.08645/1.054, allocations: 40.56 MB / 0.8256 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002312/1.057, allocations: 1.94 MB / 0.8275 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/1.057, allocations: 130.8 kB / 0.8276 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/1.058, allocations: 0.8644 MB / 0.8285 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/1.059, allocations: 0.5242 MB / 0.829 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/1.059, allocations: 61.38 kB / 0.8291 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06062/1.119, allocations: 31.49 MB / 0.8598 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003848/1.12, allocations: 184.6 kB / 0.86 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007663/1.121, allocations: 349.5 kB / 0.8603 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05343/1.174, allocations: 16.43 MB / 0.8764 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.174, allocations: 0 / 0.8764 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/1.174, allocations: 0 / 0.8764 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.174, allocations: 0 / 0.8764 GB, free: 0.5586 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.008193/1.182, allocations: 3.404 MB / 0.8797 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.182, allocations: 12.03 kB / 0.8797 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/1.182, allocations: 102.5 kB / 0.8798 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008587/1.183, allocations: 127.5 kB / 0.8799 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/1.184, allocations: 355 kB / 0.8803 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/1.184, allocations: 44.98 kB / 0.8803 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/1.184, allocations: 51.92 kB / 0.8804 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.186, allocations: 1.028 MB / 0.8814 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.186, allocations: 4 kB / 0.8814 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/1.186, allocations: 20 kB / 0.8814 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/1.186, allocations: 33.38 kB / 0.8814 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/1.188, allocations: 0.7574 MB / 0.8822 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/1.191, allocations: 2.288 MB / 0.8844 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.193, allocations: 0.6451 MB / 0.885 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/1.194, allocations: 455 kB / 0.8855 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2696/1.463, allocations: 58.71 MB / 0.9428 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/1.463, allocations: 43 kB / 0.9428 GB, free: 12.42 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 2.996e-06/1.463, allocations: 0 / 0.9428 GB, free: 12.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.009353/1.473, allocations: 3.357 MB / 0.9461 GB, free: 9.039 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.473, allocations: 55.91 kB / 0.9462 GB, free: 8.973 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/1.473, allocations: 316.3 kB / 0.9465 GB, free: 8.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/1.473, allocations: 37.7 kB / 0.9465 GB, free: 8.605 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.473, allocations: 237.5 kB / 0.9467 GB, free: 8.367 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/1.474, allocations: 402.5 kB / 0.9471 GB, free: 7.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/1.474, allocations: 142.3 kB / 0.9472 GB, free: 7.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.474, allocations: 366.7 kB / 0.9476 GB, free: 7.469 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/1.475, allocations: 409.7 kB / 0.948 GB, free: 7.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008893/1.476, allocations: 0.5434 MB / 0.9485 GB, free: 6.477 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/1.477, allocations: 1.006 MB / 0.9495 GB, free: 5.422 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.477, allocations: 4 kB / 0.9495 GB, free: 5.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002249/1.48, allocations: 1.147 MB / 0.9506 GB, free: 4.254 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.48, allocations: 11.92 kB / 0.9506 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.48, allocations: 4.875 kB / 0.9506 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/1.48, allocations: 110.9 kB / 0.9507 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.481, allocations: 207.6 kB / 0.9509 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4606/1.942, allocations: 35 MB / 0.9851 GB, free: 129.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/1.942, allocations: 39.28 kB / 0.9852 GB, free: 129.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.942, allocations: 27.41 kB / 0.9852 GB, free: 129.5 MB / 0.7012 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.0003372/1.943, allocations: 220.5 kB / 0.9854 GB, free: 129.4 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/1.943, allocations: 64.45 kB / 0.9855 GB, free: 129.4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/1.946, allocations: 2.436 MB / 0.9878 GB, free: 129.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.946, allocations: 20.92 kB / 0.9879 GB, free: 129.2 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.946, allocations: 4.25 kB / 0.9879 GB, free: 129.2 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002013/1.948, allocations: 1.686 MB / 0.9895 GB, free: 128.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/1.951, allocations: 2.418 MB / 0.9919 GB, free: 128.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.951, allocations: 3.594 kB / 0.9919 GB, free: 128.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/1.951, allocations: 120.5 kB / 0.992 GB, free: 128.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/1.952, allocations: 206.2 kB / 0.9922 GB, free: 128.4 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.952, allocations: 18.7 kB / 0.9922 GB, free: 128.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.954, allocations: 3.778 MB / 0.9959 GB, free: 125 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.954, allocations: 0 / 0.9959 GB, free: 125 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/1.957, allocations: 2.028 MB / 0.9979 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.957, allocations: 63.64 kB / 0.9979 GB, free: 124.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/1.957, allocations: 12.88 kB / 0.9979 GB, free: 124.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/1.958, allocations: 39.7 kB / 0.998 GB, free: 124.7 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.958, allocations: 69.53 kB / 0.998 GB, free: 124.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/1.958, allocations: 21.97 kB / 0.9981 GB, free: 124.7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002764/1.958, allocations: 253.7 kB / 0.9983 GB, free: 124.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.1e-08/1.958, allocations: 0 / 0.9983 GB, free: 124.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01317/1.971, allocations: 5.545 MB / 1.004 GB, free: 124.6 MB / 0.7012 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.02814/1.999, allocations: 9.217 MB / 1.013 GB, free: 123.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003083/2.002, allocations: 1.519 MB / 1.014 GB, free: 122.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.002, allocations: 0 / 1.014 GB, free: 122.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/2.004, allocations: 0.8041 MB / 1.015 GB, free: 122.4 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/2.006, allocations: 0.535 MB / 1.016 GB, free: 122.4 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/2.025, allocations: 8.743 MB / 1.024 GB, free: 119.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/2.025, allocations: 337.2 kB / 1.024 GB, free: 119.4 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006374/2.026, allocations: 192.3 kB / 1.025 GB, free: 119.4 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/2.026, allocations: 251.9 kB / 1.025 GB, free: 119.3 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/2.026, allocations: 2.719 kB / 1.025 GB, free: 119.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2769/2.303, allocations: 213.7 MB / 1.233 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.67/21.97, allocations: 7.344 kB / 1.233 GB, free: 2.578 MB / 0.7481 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.647439213935286] Failed to read output from testmodel.py, exit status != 0: 22.221712010912597 22.247057402 21.068182029 Calling exit ...