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.001428/0.001428, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001149/0.001149, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02731/0.02731, allocations: 7.521 MB / 266.7 MB, free: 6.188 MB / 250.7 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 2.144e-06/2.144e-06, allocations: 3.938 kB / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.478e-05, allocations: 9.031 kB / 391.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2412/0.2412, allocations: 126.8 MB / 0.5064 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2753/0.5165, allocations: 86.72 MB / 0.5911 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005012/0.517, allocations: 9.75 kB / 0.5911 GB, free: 456 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.5195, allocations: 1.241 MB / 0.5924 GB, free: 452 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.5227, allocations: 1.605 MB / 0.5939 GB, free: 436 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05537/0.578, allocations: 31.87 MB / 0.625 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.5798, allocations: 1.433 MB / 0.6264 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.58, allocations: 79.64 kB / 0.6265 GB, free: 12.49 MB / 490.7 MB [/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.01174/0.5917, allocations: 10.43 MB / 0.6367 GB, free: 9.852 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.5921, allocations: 340.5 kB / 0.637 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.5921, allocations: 41.94 kB / 0.6371 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03198/0.6241, allocations: 21.76 MB / 0.6583 GB, free: 496 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.6243, allocations: 131.9 kB / 0.6584 GB, free: 420 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.6247, allocations: 220.6 kB / 0.6587 GB, free: 252 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03014/0.6548, allocations: 12.73 MB / 0.6711 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6548, allocations: 0 / 0.6711 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6548, allocations: 4 kB / 0.6711 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.6548, allocations: 0 / 0.6711 GB, free: 7.25 MB / 0.4948 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.004495/0.6593, allocations: 2.282 MB / 0.6733 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6594, allocations: 12.62 kB / 0.6733 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.447e-05/0.6595, allocations: 83.89 kB / 0.6734 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.6598, allocations: 91.58 kB / 0.6735 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.6602, allocations: 274.5 kB / 0.6738 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.6602, allocations: 31.16 kB / 0.6738 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.6602, allocations: 34 kB / 0.6738 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.661, allocations: 0.7435 MB / 0.6745 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.661, allocations: 8.484 kB / 0.6746 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.6611, allocations: 17.38 kB / 0.6746 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.6611, allocations: 17.47 kB / 0.6746 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.6618, allocations: 0.534 MB / 0.6751 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.6634, allocations: 1.703 MB / 0.6768 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.664, allocations: 474.9 kB / 0.6772 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.6643, allocations: 324.2 kB / 0.6775 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07504/0.7394, allocations: 37.46 MB / 0.7141 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.7394, allocations: 30.84 kB / 0.7141 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.7394, allocations: 0 / 0.7141 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.003647/0.7431, allocations: 2.249 MB / 0.7163 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.7431, allocations: 55.41 kB / 0.7164 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.7433, allocations: 261.1 kB / 0.7166 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.7433, allocations: 29.7 kB / 0.7167 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.7434, allocations: 193.4 kB / 0.7169 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.7435, allocations: 272.5 kB / 0.7171 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.7436, allocations: 98.17 kB / 0.7172 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.7437, allocations: 346.8 kB / 0.7175 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.744, allocations: 293.3 kB / 0.7178 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.7443, allocations: 395.8 kB / 0.7182 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.7449, allocations: 0.7244 MB / 0.7189 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7449, allocations: 4 kB / 0.7189 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008397/0.7458, allocations: 0.818 MB / 0.7197 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7458, allocations: 8 kB / 0.7197 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7458, allocations: 3.938 kB / 0.7197 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.7461, allocations: 116.6 kB / 0.7198 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.7467, allocations: 107.2 kB / 0.7199 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03432/0.781, allocations: 19 MB / 0.7385 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.7813, allocations: 28.06 kB / 0.7385 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.7813, allocations: 20 kB / 0.7385 GB, free: 4.18 MB / 0.5573 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.0002302/0.7816, allocations: 193 kB / 0.7387 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.7816, allocations: 47.72 kB / 0.7388 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.783, allocations: 1.725 MB / 0.7404 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.783, allocations: 17.84 kB / 0.7405 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.783, allocations: 4 kB / 0.7405 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.7842, allocations: 1.291 MB / 0.7417 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.7856, allocations: 1.699 MB / 0.7434 GB, free: 15.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7856, allocations: 0 / 0.7434 GB, free: 15.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.7858, allocations: 75.23 kB / 0.7435 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.786, allocations: 191.2 kB / 0.7436 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.786, allocations: 12 kB / 0.7437 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.787, allocations: 2.476 MB / 0.7461 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.787, allocations: 6.656 kB / 0.7461 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7883, allocations: 1.482 MB / 0.7475 GB, free: 10.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.7883, allocations: 47.75 kB / 0.7476 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.7883, allocations: 8 kB / 0.7476 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7885, allocations: 27.97 kB / 0.7476 GB, free: 10.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.7886, allocations: 43.91 kB / 0.7476 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.7886, allocations: 13.88 kB / 0.7477 GB, free: 10.46 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001497/0.7887, allocations: 223.1 kB / 0.7479 GB, free: 10.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.7887, allocations: 4 kB / 0.7479 GB, free: 10.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007039/0.7958, allocations: 3.276 MB / 0.7511 GB, free: 6.957 MB / 0.573 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.01133/0.8071, allocations: 6.258 MB / 0.7572 GB, free: 1.086 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.8084, allocations: 0.9701 MB / 0.7581 GB, free: 100 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8084, allocations: 0 / 0.7581 GB, free: 100 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.8089, allocations: 0.4921 MB / 0.7586 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.8099, allocations: 385.3 kB / 0.759 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/0.8175, allocations: 6.218 MB / 0.7651 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.8177, allocations: 253.1 kB / 0.7653 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.818, allocations: 115 kB / 0.7654 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.8182, allocations: 168.4 kB / 0.7656 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of SimCode: time 1.442e-06/0.8182, allocations: 3.938 kB / 0.7656 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3904/1.209, allocations: 131.2 MB / 0.8937 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.82, allocations: 7.938 kB / 0.8937 GB, free: 103.6 MB / 0.6198 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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: 14.899121311493218] Failed to read output from testmodel.py, exit status != 0: 12.97498313896358 12.981669332 12.325143893 Calling exit ...