Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.001291/0.001291, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001493/0.001493, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.801 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.05153/0.05153, allocations: 9.141 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.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 446.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1078, allocations: 54.94 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3556/0.4634, allocations: 127 MB / 0.6138 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.09445/0.5578, allocations: 86.73 MB / 0.6985 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.5584, allocations: 19.88 kB / 0.6985 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.5617, allocations: 1.223 MB / 0.6997 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.5654, allocations: 1.575 MB / 0.7012 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3498/0.9152, allocations: 31.35 MB / 0.7318 GB, free: 23.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.9168, allocations: 1.423 MB / 0.7332 GB, free: 23.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.917, allocations: 80.34 kB / 0.7333 GB, free: 23 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01588/0.9329, allocations: 10.1 MB / 0.7432 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.9334, allocations: 376 kB / 0.7435 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.9335, allocations: 41.88 kB / 0.7436 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03804/0.9715, allocations: 21.59 MB / 0.7646 GB, free: 22.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.9718, allocations: 126.8 kB / 0.7648 GB, free: 22.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.9723, allocations: 253.7 kB / 0.765 GB, free: 22.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03277/1.005, allocations: 10.88 MB / 0.7756 GB, free: 22.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.005, allocations: 3.219 kB / 0.7756 GB, free: 22.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/1.005, allocations: 0 / 0.7756 GB, free: 22.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.005, allocations: 0 / 0.7756 GB, free: 22.32 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.006259/1.011, allocations: 2.287 MB / 0.7779 GB, free: 21.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.011, allocations: 9.844 kB / 0.7779 GB, free: 21.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/1.011, allocations: 91.92 kB / 0.778 GB, free: 21.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/1.012, allocations: 80.08 kB / 0.778 GB, free: 20.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/1.012, allocations: 284.6 kB / 0.7783 GB, free: 20.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.012, allocations: 29.84 kB / 0.7783 GB, free: 20.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/1.013, allocations: 35 kB / 0.7784 GB, free: 20.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.014, allocations: 0.7519 MB / 0.7791 GB, free: 20.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.014, allocations: 5.781 kB / 0.7791 GB, free: 20.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/1.014, allocations: 12.47 kB / 0.7791 GB, free: 20.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.014, allocations: 15.45 kB / 0.7791 GB, free: 20.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/1.015, allocations: 0.5332 MB / 0.7797 GB, free: 20.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/1.017, allocations: 1.702 MB / 0.7813 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/1.018, allocations: 482.4 kB / 0.7818 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/1.018, allocations: 315.1 kB / 0.7821 GB, free: 19.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1466/1.165, allocations: 37.45 MB / 0.8187 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/1.165, allocations: 42.64 kB / 0.8187 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.266e-06/1.165, allocations: 0 / 0.8187 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006216/1.171, allocations: 2.227 MB / 0.8209 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.171, allocations: 62.78 kB / 0.8209 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/1.171, allocations: 259.6 kB / 0.8212 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/1.172, allocations: 33.64 kB / 0.8212 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/1.172, allocations: 204.1 kB / 0.8214 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/1.172, allocations: 267.5 kB / 0.8217 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.172, allocations: 100.7 kB / 0.8218 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.172, allocations: 361.8 kB / 0.8221 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/1.173, allocations: 279.7 kB / 0.8224 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/1.173, allocations: 409.5 kB / 0.8228 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.174, allocations: 0.715 MB / 0.8235 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.174, allocations: 0 / 0.8235 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001529/1.176, allocations: 0.8252 MB / 0.8243 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.176, allocations: 6.031 kB / 0.8243 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.176, allocations: 9.219 kB / 0.8243 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/1.176, allocations: 113.1 kB / 0.8244 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/1.177, allocations: 109.3 kB / 0.8245 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07199/1.249, allocations: 18.99 MB / 0.843 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/1.249, allocations: 39.22 kB / 0.8431 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/1.25, allocations: 14.53 kB / 0.8431 GB, free: 2.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 2} * 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.0003268/1.25, allocations: 207.2 kB / 0.8433 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.25, allocations: 43.72 kB / 0.8433 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.252, allocations: 1.731 MB / 0.845 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/1.252, allocations: 10.81 kB / 0.845 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.252, allocations: 0 / 0.845 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/1.254, allocations: 1.294 MB / 0.8463 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/1.256, allocations: 1.692 MB / 0.8479 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.256, allocations: 0 / 0.8479 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/1.257, allocations: 83.22 kB / 0.848 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/1.257, allocations: 187.4 kB / 0.8482 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/1.257, allocations: 15.73 kB / 0.8482 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.259, allocations: 2.477 MB / 0.8506 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.259, allocations: 3.734 kB / 0.8506 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.261, allocations: 1.474 MB / 0.8521 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.261, allocations: 51.55 kB / 0.8521 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/1.261, allocations: 3.938 kB / 0.8521 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/1.262, allocations: 35.03 kB / 0.8522 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.262, allocations: 40.23 kB / 0.8522 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/1.262, allocations: 19.86 kB / 0.8522 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002573/1.262, allocations: 224.4 kB / 0.8524 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.262, allocations: 0 / 0.8524 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009183/1.271, allocations: 3.276 MB / 0.8556 GB, free: 7.602 MB / 0.5919 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: 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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02085/1.292, allocations: 5.927 MB / 0.8614 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002138/1.294, allocations: 0.9694 MB / 0.8624 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.294, allocations: 0 / 0.8624 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/1.295, allocations: 495.9 kB / 0.8628 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.297, allocations: 407.8 kB / 0.8632 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.31, allocations: 6.249 MB / 0.8693 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/1.311, allocations: 260.8 kB / 0.8696 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004097/1.311, allocations: 105.4 kB / 0.8697 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.311, allocations: 171.9 kB / 0.8699 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/1.311, allocations: 0 / 0.8699 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/1.789, allocations: 130.6 MB / 0.9974 GB, free: 252.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/19.35, allocations: 5.5 kB / 0.9974 GB, free: 252.8 MB / 0.7012 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.202451603021473] Failed to read output from testmodel.py, exit status != 0: 19.547850867267698 19.559874322 18.552199681 Calling exit ...