Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.000802/0.000802, 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.0008117/0.0008117, allocations: 170.3 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.8833/0.8833, 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.02858/0.02858, allocations: 7.516 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.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 391.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.096e-05, allocations: 2.281 kB / 391.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2511/0.2511, allocations: 114.9 MB / 0.4948 GB, free: 24.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06427/0.3154, allocations: 98.63 MB / 0.5911 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006294/0.316, allocations: 7.938 kB / 0.5912 GB, free: 8.176 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.3187, allocations: 1.24 MB / 0.5924 GB, free: 6.934 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.3217, allocations: 1.61 MB / 0.5939 GB, free: 5.316 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06098/0.3827, allocations: 31.82 MB / 0.625 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.3845, allocations: 1.429 MB / 0.6264 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.3848, allocations: 89.7 kB / 0.6265 GB, free: 3.914 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.2505/0.6353, allocations: 10.29 MB / 0.6365 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.6356, allocations: 342.5 kB / 0.6369 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.6357, allocations: 42.75 kB / 0.6369 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04125/0.6769, allocations: 24.73 MB / 0.6611 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.6772, allocations: 127.1 kB / 0.6612 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.6776, allocations: 221.9 kB / 0.6614 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03235/0.71, allocations: 14.48 MB / 0.6755 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.71, allocations: 0 / 0.6755 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.71, allocations: 0 / 0.6755 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.71, allocations: 4 kB / 0.6755 GB, free: 29.08 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.006114/0.7161, allocations: 2.583 MB / 0.6781 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.02e-05/0.7162, allocations: 9.531 kB / 0.6781 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.973e-05/0.7163, allocations: 85.02 kB / 0.6782 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.7168, allocations: 88.52 kB / 0.6782 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.7174, allocations: 287.7 kB / 0.6785 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.7174, allocations: 36.5 kB / 0.6786 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.7175, allocations: 27.72 kB / 0.6786 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.7185, allocations: 0.7577 MB / 0.6793 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7185, allocations: 2.656 kB / 0.6793 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.7185, allocations: 19.84 kB / 0.6793 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.7185, allocations: 17.5 kB / 0.6794 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.7193, allocations: 0.5507 MB / 0.6799 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.7209, allocations: 1.717 MB / 0.6816 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.7216, allocations: 475 kB / 0.682 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.722, allocations: 308.4 kB / 0.6823 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09016/0.8121, allocations: 44.05 MB / 0.7253 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.8122, allocations: 40.53 kB / 0.7254 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.8122, allocations: 0 / 0.7254 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.003638/0.8158, allocations: 2.24 MB / 0.7276 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.8158, allocations: 58.59 kB / 0.7276 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.816, allocations: 251.9 kB / 0.7279 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.8161, allocations: 37.45 kB / 0.7279 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.8162, allocations: 194.2 kB / 0.7281 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.8163, allocations: 273.4 kB / 0.7283 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.8164, allocations: 96.17 kB / 0.7284 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.8165, allocations: 355.9 kB / 0.7288 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.8168, allocations: 289.1 kB / 0.729 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.8171, allocations: 387.8 kB / 0.7294 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.8177, allocations: 0.7007 MB / 0.7301 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8177, allocations: 0 / 0.7301 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008256/0.8185, allocations: 0.816 MB / 0.7309 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8185, allocations: 8 kB / 0.7309 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8186, allocations: 3.125 kB / 0.7309 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.8187, allocations: 61.36 kB / 0.731 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.819, allocations: 136.5 kB / 0.7311 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03485/0.8539, allocations: 19.24 MB / 0.7499 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.8543, allocations: 31.78 kB / 0.7499 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.8544, allocations: 19.94 kB / 0.7499 GB, free: 6.516 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * 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, 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.8547, allocations: 187.6 kB / 0.7501 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.8548, allocations: 47 kB / 0.7502 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.8561, allocations: 1.705 MB / 0.7518 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8562, allocations: 22.91 kB / 0.7518 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8562, allocations: 0 / 0.7518 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009992/0.8572, allocations: 1.283 MB / 0.7531 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.8586, allocations: 1.658 MB / 0.7547 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8587, allocations: 0 / 0.7547 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.8588, allocations: 81.45 kB / 0.7548 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.859, allocations: 104.8 kB / 0.7549 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.859, allocations: 7.938 kB / 0.7549 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008948/0.8599, allocations: 1.893 MB / 0.7568 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8599, allocations: 4.062 kB / 0.7568 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.8611, allocations: 1.334 MB / 0.7581 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.8611, allocations: 43.67 kB / 0.7581 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.8611, allocations: 14.06 kB / 0.7581 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.8613, allocations: 23.91 kB / 0.7581 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.8614, allocations: 47.61 kB / 0.7582 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.8614, allocations: 18.42 kB / 0.7582 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001483/0.8615, allocations: 220.4 kB / 0.7584 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.8615, allocations: 7.938 kB / 0.7584 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008748/0.8703, allocations: 3.573 MB / 0.7619 GB, free: 12.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * 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 {(1,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.01375/0.884, allocations: 6.689 MB / 0.7684 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.8855, allocations: 0.9943 MB / 0.7694 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8855, allocations: 0 / 0.7694 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.8859, allocations: 489.8 kB / 0.7699 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.887, allocations: 404.2 kB / 0.7703 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/0.8949, allocations: 6.291 MB / 0.7764 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.8951, allocations: 246.4 kB / 0.7766 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000357/0.8954, allocations: 143.2 kB / 0.7768 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.8956, allocations: 174.9 kB / 0.7769 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.422e-06/0.8956, allocations: 0 / 0.7769 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3387/1.234, allocations: 135.5 MB / 0.9092 GB, free: 213.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/12.06, allocations: 10.97 kB / 0.9092 GB, free: 213.2 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.46421990636736] Failed to read output from testmodel.py, exit status != 0: 12.220315340906382 12.227578102 11.515841006 Calling exit ...