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.001028/0.001028, 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.001024/0.001024, 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.9145/0.9145, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.02881/0.02881, allocations: 7.521 MB / 266.7 MB, free: 6.199 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 2.214e-06/2.214e-06, allocations: 0 / 391.8 MB, free: 6.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.235e-05, allocations: 2.281 kB / 391.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2862/0.2863, allocations: 126.8 MB / 0.5064 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05834/0.3446, allocations: 86.74 MB / 0.5911 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.3451, allocations: 7.938 kB / 0.5911 GB, free: 8.234 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.3478, allocations: 1.24 MB / 0.5924 GB, free: 6.992 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.3509, allocations: 1.61 MB / 0.5939 GB, free: 5.375 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06658/0.4174, allocations: 31.86 MB / 0.625 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.419, allocations: 1.437 MB / 0.6264 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.4193, allocations: 97.75 kB / 0.6265 GB, free: 3.922 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.2414/0.6606, allocations: 10.43 MB / 0.6367 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.661, allocations: 332.7 kB / 0.637 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.6611, allocations: 45.59 kB / 0.6371 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03946/0.7005, allocations: 25.57 MB / 0.6621 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.7008, allocations: 128.4 kB / 0.6622 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.7012, allocations: 218.4 kB / 0.6624 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.04517/0.7463, allocations: 15 MB / 0.677 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7463, allocations: 0 / 0.677 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7463, allocations: 0 / 0.677 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.7463, allocations: 0 / 0.677 GB, free: 28.36 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.006287/0.7526, allocations: 2.68 MB / 0.6797 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7527, allocations: 14.31 kB / 0.6797 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.7527, allocations: 81.92 kB / 0.6797 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.7531, allocations: 82.62 kB / 0.6798 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.7535, allocations: 284.1 kB / 0.6801 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.7536, allocations: 28.34 kB / 0.6801 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.7536, allocations: 32.75 kB / 0.6802 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.7544, allocations: 0.7431 MB / 0.6809 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.7545, allocations: 3.594 kB / 0.6809 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.7545, allocations: 17.28 kB / 0.6809 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.7545, allocations: 15.56 kB / 0.6809 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.7552, allocations: 0.528 MB / 0.6814 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.757, allocations: 1.692 MB / 0.6831 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.7577, allocations: 460.9 kB / 0.6835 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.7581, allocations: 314 kB / 0.6838 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05688/0.8149, allocations: 30.71 MB / 0.7138 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.815, allocations: 41.03 kB / 0.7139 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.815, allocations: 0 / 0.7139 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.00372/0.8187, allocations: 2.337 MB / 0.7161 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.8187, allocations: 55.41 kB / 0.7162 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.8189, allocations: 271.3 kB / 0.7165 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.819, allocations: 33.64 kB / 0.7165 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.819, allocations: 187.8 kB / 0.7167 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.8191, allocations: 280.6 kB / 0.7169 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.8192, allocations: 99.19 kB / 0.717 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.8192, allocations: 359.4 kB / 0.7174 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.8195, allocations: 290.4 kB / 0.7176 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.8198, allocations: 409.8 kB / 0.718 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.8204, allocations: 0.728 MB / 0.7187 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8204, allocations: 6.062 kB / 0.7188 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008419/0.8212, allocations: 0.8362 MB / 0.7196 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8212, allocations: 8.375 kB / 0.7196 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.8213, allocations: 8 kB / 0.7196 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.8215, allocations: 80.34 kB / 0.7197 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.8217, allocations: 110 kB / 0.7198 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/0.8468, allocations: 14.49 MB / 0.7339 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.8472, allocations: 30.78 kB / 0.7339 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.8472, allocations: 23.92 kB / 0.734 GB, free: 6.234 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.0002663/0.8475, allocations: 191.2 kB / 0.7342 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.8476, allocations: 43.72 kB / 0.7342 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.849, allocations: 1.749 MB / 0.7359 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.849, allocations: 15.55 kB / 0.7359 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.849, allocations: 0 / 0.7359 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.8502, allocations: 1.296 MB / 0.7372 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.8518, allocations: 1.706 MB / 0.7389 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8518, allocations: 7.875 kB / 0.7389 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.852, allocations: 82.88 kB / 0.7389 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.8522, allocations: 123.8 kB / 0.7391 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.8522, allocations: 7.812 kB / 0.7391 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.8534, allocations: 1.983 MB / 0.741 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8534, allocations: 2.625 kB / 0.741 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.8548, allocations: 1.463 MB / 0.7424 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8549, allocations: 43.67 kB / 0.7425 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.855, allocations: 11.69 kB / 0.7425 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.8551, allocations: 27.78 kB / 0.7425 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8553, allocations: 53.78 kB / 0.7426 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.8553, allocations: 15.88 kB / 0.7426 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000199/0.8555, allocations: 228.8 kB / 0.7428 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8555, allocations: 0 / 0.7428 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008435/0.8639, allocations: 3.041 MB / 0.7458 GB, free: 12.07 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.01667/0.8806, allocations: 6.03 MB / 0.7517 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.8823, allocations: 1.016 MB / 0.7526 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8823, allocations: 4 kB / 0.7527 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.8832, allocations: 0.5305 MB / 0.7532 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8844, allocations: 391.8 kB / 0.7535 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.8955, allocations: 6.356 MB / 0.7597 GB, free: 44 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.8957, allocations: 252.6 kB / 0.76 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000373/0.8961, allocations: 126.5 kB / 0.7601 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.8963, allocations: 173.6 kB / 0.7603 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/0.8963, allocations: 0 / 0.7603 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3413/1.238, allocations: 121.3 MB / 0.8787 GB, free: 212.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.44, allocations: 1.375 kB / 0.8787 GB, free: 212.5 MB / 0.6198 GB " [Timeout remaining time 647] (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: 14.454299485310912] Failed to read output from testmodel.py, exit status != 0: 12.5880336901173 12.595716642 11.847558135 Calling exit ...