Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.001221/0.001221, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00103/0.00103, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8793/0.8793, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02878/0.02878, allocations: 7.518 MB / 266.7 MB, free: 6.191 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_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.751e-05, allocations: 2.281 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2364/0.2364, allocations: 126.8 MB / 0.5064 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05453/0.2909, allocations: 86.74 MB / 0.5911 GB, free: 8.227 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.2914, allocations: 7.938 kB / 0.5911 GB, free: 8.219 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.2937, allocations: 1.251 MB / 0.5924 GB, free: 6.965 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.2962, allocations: 1.598 MB / 0.5939 GB, free: 5.359 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05498/0.3512, allocations: 31.86 MB / 0.625 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.353, allocations: 1.433 MB / 0.6264 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3531, allocations: 101.7 kB / 0.6265 GB, free: 3.902 MB / 0.4948 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.2196/0.5727, allocations: 10.42 MB / 0.6367 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.5731, allocations: 337.8 kB / 0.637 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.5731, allocations: 43.69 kB / 0.6371 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03573/0.6089, allocations: 25.57 MB / 0.662 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.6091, allocations: 127.1 kB / 0.6622 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.6095, allocations: 222.9 kB / 0.6624 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03399/0.6434, allocations: 15 MB / 0.677 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6434, allocations: 4 kB / 0.677 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6434, allocations: 0 / 0.677 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6435, allocations: 5 kB / 0.677 GB, free: 28.3 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.006055/0.6495, allocations: 2.677 MB / 0.6797 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.6496, allocations: 11.38 kB / 0.6797 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.6496, allocations: 87.58 kB / 0.6797 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.65, allocations: 83.39 kB / 0.6798 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.6504, allocations: 273.7 kB / 0.6801 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.6504, allocations: 31.56 kB / 0.6801 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.6505, allocations: 32.34 kB / 0.6802 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.6512, allocations: 0.7446 MB / 0.6809 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.6512, allocations: 5.438 kB / 0.6809 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.6513, allocations: 16.25 kB / 0.6809 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6513, allocations: 18.56 kB / 0.6809 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.652, allocations: 0.5265 MB / 0.6814 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.6535, allocations: 1.692 MB / 0.6831 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.6541, allocations: 462.5 kB / 0.6835 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.6544, allocations: 312.7 kB / 0.6838 GB, free: 25.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.052/0.7064, allocations: 30.71 MB / 0.7138 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.7064, allocations: 34.47 kB / 0.7138 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 1.813e-06/0.7064, allocations: 4 kB / 0.7139 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.003549/0.71, allocations: 2.341 MB / 0.7161 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.71, allocations: 59.41 kB / 0.7162 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.7102, allocations: 267.1 kB / 0.7164 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.7102, allocations: 33.27 kB / 0.7165 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.7103, allocations: 191.4 kB / 0.7167 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.7103, allocations: 283.5 kB / 0.7169 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.7104, allocations: 95.86 kB / 0.717 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.7105, allocations: 356.1 kB / 0.7174 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.7107, allocations: 290.3 kB / 0.7176 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.711, allocations: 406.1 kB / 0.718 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.7116, allocations: 0.7336 MB / 0.7187 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7116, allocations: 2.062 kB / 0.7187 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008116/0.7124, allocations: 0.8454 MB / 0.7196 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7124, allocations: 8 kB / 0.7196 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7124, allocations: 4 kB / 0.7196 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.7126, allocations: 76.84 kB / 0.7197 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.7129, allocations: 113.6 kB / 0.7198 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/0.7378, allocations: 14.5 MB / 0.7339 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.7384, allocations: 31.8 kB / 0.734 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.7384, allocations: 23.92 kB / 0.734 GB, free: 6.094 MB / 0.5105 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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.7387, allocations: 186.4 kB / 0.7342 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.7387, allocations: 43.72 kB / 0.7342 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.7401, allocations: 1.759 MB / 0.7359 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.7401, allocations: 18.81 kB / 0.7359 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.7401, allocations: 4 kB / 0.7359 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009119/0.741, allocations: 1.288 MB / 0.7372 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.7425, allocations: 1.713 MB / 0.7389 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7425, allocations: 4.031 kB / 0.7389 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7427, allocations: 82.5 kB / 0.7389 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.7429, allocations: 122.9 kB / 0.7391 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.7429, allocations: 11.75 kB / 0.7391 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009497/0.7439, allocations: 1.983 MB / 0.741 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7439, allocations: 4.031 kB / 0.741 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.7451, allocations: 1.457 MB / 0.7424 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.7452, allocations: 44.75 kB / 0.7425 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.7452, allocations: 11.98 kB / 0.7425 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.7454, allocations: 31.61 kB / 0.7425 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.7454, allocations: 47.66 kB / 0.7426 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.7455, allocations: 15.8 kB / 0.7426 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001456/0.7456, allocations: 221.2 kB / 0.7428 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7456, allocations: 4 kB / 0.7428 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006263/0.7519, allocations: 3.036 MB / 0.7458 GB, free: 11.93 MB / 0.5261 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * 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: 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01013/0.762, allocations: 6.036 MB / 0.7517 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.7632, allocations: 1.011 MB / 0.7526 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7632, allocations: 0 / 0.7526 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.7637, allocations: 0.5345 MB / 0.7532 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.7647, allocations: 397.5 kB / 0.7535 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.7719, allocations: 6.343 MB / 0.7597 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.7721, allocations: 258.6 kB / 0.76 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002962/0.7724, allocations: 127.2 kB / 0.7601 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7725, allocations: 174.6 kB / 0.7603 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of SimCode: time 8.12e-07/0.7725, allocations: 0 / 0.7603 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3044/1.077, allocations: 120.8 MB / 0.8782 GB, free: 212.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.04, allocations: 4.328 kB / 0.8782 GB, free: 212.9 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT_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_pT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.951315105892718] Failed to read output from testmodel.py, exit status != 0: 12.187361123971641 12.195036515 11.549773248 Calling exit ...