Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_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.001596/0.001596, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00192/0.00192, allocations: 209.5 kB / 22.24 MB, free: 5.262 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.785 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.05157/0.05157, allocations: 9.142 MB / 321.6 MB, free: 10.19 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_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 446.6 MB, free: 488 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.0992, allocations: 54.95 MB / 0.4897 GB, free: 9.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.3367/0.4359, allocations: 127 MB / 0.6138 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.09199/0.5279, allocations: 86.73 MB / 0.6985 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006448/0.5285, allocations: 11.88 kB / 0.6985 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.5317, allocations: 1.223 MB / 0.6997 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.5356, allocations: 1.571 MB / 0.7012 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3319/0.8675, allocations: 31.35 MB / 0.7318 GB, free: 22.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.869, allocations: 1.416 MB / 0.7332 GB, free: 22.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.8692, allocations: 79.78 kB / 0.7333 GB, free: 22.91 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.01501/0.8842, allocations: 10.1 MB / 0.7432 GB, free: 22.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.8846, allocations: 376.3 kB / 0.7435 GB, free: 22.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.8847, allocations: 47.77 kB / 0.7436 GB, free: 22.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03914/0.9239, allocations: 24.66 MB / 0.7676 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.9241, allocations: 129.5 kB / 0.7678 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.9246, allocations: 253.5 kB / 0.768 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03294/0.9575, allocations: 12.37 MB / 0.7801 GB, free: 21.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9575, allocations: 0 / 0.7801 GB, free: 21.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9575, allocations: 2.75 kB / 0.7801 GB, free: 21.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.9575, allocations: 0 / 0.7801 GB, free: 21.43 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.006444/0.964, allocations: 2.585 MB / 0.7826 GB, free: 19.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.964, allocations: 10.25 kB / 0.7826 GB, free: 19.83 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.675e-05/0.9641, allocations: 84.62 kB / 0.7827 GB, free: 19.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.9647, allocations: 88.56 kB / 0.7828 GB, free: 19.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.9653, allocations: 287.8 kB / 0.7831 GB, free: 19.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.9653, allocations: 33.98 kB / 0.7831 GB, free: 19.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.9653, allocations: 35.61 kB / 0.7831 GB, free: 19.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.9665, allocations: 0.7583 MB / 0.7839 GB, free: 19.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.9666, allocations: 3.594 kB / 0.7839 GB, free: 19.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.9666, allocations: 13.41 kB / 0.7839 GB, free: 19.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.9666, allocations: 14.78 kB / 0.7839 GB, free: 19.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.9678, allocations: 0.5592 MB / 0.7844 GB, free: 19.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.9697, allocations: 1.706 MB / 0.7861 GB, free: 18.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.9707, allocations: 487.9 kB / 0.7866 GB, free: 17.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.9711, allocations: 311.9 kB / 0.7869 GB, free: 17.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.189/1.16, allocations: 44.04 MB / 0.8299 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.16, allocations: 42.78 kB / 0.8299 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.495e-06/1.16, allocations: 0 / 0.8299 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005733/1.166, allocations: 2.243 MB / 0.8321 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.166, allocations: 60.28 kB / 0.8322 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/1.166, allocations: 264.2 kB / 0.8324 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/1.166, allocations: 28.89 kB / 0.8324 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.166, allocations: 191.7 kB / 0.8326 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/1.167, allocations: 281.6 kB / 0.8329 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.167, allocations: 98.73 kB / 0.833 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.167, allocations: 353 kB / 0.8333 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/1.167, allocations: 284.8 kB / 0.8336 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/1.168, allocations: 417.1 kB / 0.834 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.169, allocations: 0.7361 MB / 0.8347 GB, free: 11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.169, allocations: 3.969 kB / 0.8347 GB, free: 11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001437/1.17, allocations: 0.8038 MB / 0.8355 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.17, allocations: 8 kB / 0.8355 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.17, allocations: 4.438 kB / 0.8355 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.171, allocations: 69.05 kB / 0.8356 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/1.171, allocations: 129 kB / 0.8357 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06905/1.24, allocations: 18.89 MB / 0.8542 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.241, allocations: 37.75 kB / 0.8542 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/1.241, allocations: 15.56 kB / 0.8542 GB, free: 7.957 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002705/1.241, allocations: 190.1 kB / 0.8544 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/1.241, allocations: 44.81 kB / 0.8544 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/1.243, allocations: 1.622 MB / 0.856 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/1.243, allocations: 15.34 kB / 0.856 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/1.243, allocations: 4.875 kB / 0.856 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/1.245, allocations: 1.205 MB / 0.8572 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/1.247, allocations: 1.597 MB / 0.8588 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.247, allocations: 4.031 kB / 0.8588 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/1.247, allocations: 78.88 kB / 0.8589 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/1.248, allocations: 101.6 kB / 0.8589 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.248, allocations: 16.86 kB / 0.859 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.249, allocations: 1.886 MB / 0.8608 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.249, allocations: 0 / 0.8608 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/1.251, allocations: 1.289 MB / 0.8621 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.251, allocations: 40.89 kB / 0.8621 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/1.251, allocations: 15.64 kB / 0.8621 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/1.251, allocations: 31.78 kB / 0.8621 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/1.252, allocations: 43.67 kB / 0.8622 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.252, allocations: 11.98 kB / 0.8622 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002547/1.252, allocations: 244.4 kB / 0.8624 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.252, allocations: 0 / 0.8624 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01002/1.262, allocations: 3.571 MB / 0.8659 GB, free: 13.65 MB / 0.6075 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: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.02174/1.284, allocations: 6.28 MB / 0.8721 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002269/1.286, allocations: 0.9744 MB / 0.873 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.286, allocations: 4.188 kB / 0.873 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008687/1.287, allocations: 490.5 kB / 0.8735 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.289, allocations: 399.3 kB / 0.8739 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.303, allocations: 6.429 MB / 0.8801 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.304, allocations: 250.2 kB / 0.8804 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004968/1.304, allocations: 145.7 kB / 0.8805 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/1.304, allocations: 175.4 kB / 0.8807 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of SimCode: time 9.21e-07/1.304, allocations: 0 / 0.8807 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4511/1.755, allocations: 134.8 MB / 1.012 GB, free: 246.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/19.71, allocations: 9.812 kB / 1.012 GB, free: 246.7 MB / 0.7012 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_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_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.675590275786817] Failed to read output from testmodel.py, exit status != 0: 19.91707209125161 19.937044315 18.976289901 Calling exit ...