Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.0007457/0.0007457, 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.0007933/0.0007933, 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02961/0.02961, 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.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 391.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.531e-05, allocations: 6.281 kB / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2303/0.2303, allocations: 114.8 MB / 0.4947 GB, free: 7.828 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3103/0.5406, allocations: 98.69 MB / 0.5911 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.5412, allocations: 8.75 kB / 0.5911 GB, free: 472 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.5437, allocations: 1.265 MB / 0.5923 GB, free: 468 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.5467, allocations: 1.624 MB / 0.5939 GB, free: 452 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06221/0.609, allocations: 31.84 MB / 0.625 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.6113, allocations: 1.449 MB / 0.6264 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.6115, allocations: 81.36 kB / 0.6265 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/0.6124, allocations: 0.8438 MB / 0.6273 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.6128, allocations: 336.6 kB / 0.6276 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.6128, allocations: 44.59 kB / 0.6277 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03781/0.6506, allocations: 24.38 MB / 0.6515 GB, free: 6.035 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.6509, allocations: 126.9 kB / 0.6516 GB, free: 5.988 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005098/0.6514, allocations: 218.2 kB / 0.6518 GB, free: 5.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03848/0.6899, allocations: 14.38 MB / 0.6659 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6899, allocations: 0 / 0.6659 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6899, allocations: 0 / 0.6659 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6899, allocations: 0 / 0.6659 GB, free: 12.58 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.005668/0.6956, allocations: 2.588 MB / 0.6684 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.6956, allocations: 8.625 kB / 0.6684 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.6957, allocations: 85.39 kB / 0.6685 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.6961, allocations: 91.56 kB / 0.6686 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.6964, allocations: 275.8 kB / 0.6688 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.6965, allocations: 42.95 kB / 0.6689 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.6965, allocations: 30.75 kB / 0.6689 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.6973, allocations: 0.7562 MB / 0.6696 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6973, allocations: 4.062 kB / 0.6696 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.6974, allocations: 16.31 kB / 0.6697 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.6974, allocations: 20.14 kB / 0.6697 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.6981, allocations: 0.5535 MB / 0.6702 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.6996, allocations: 1.7 MB / 0.6719 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.7002, allocations: 490.3 kB / 0.6723 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.7005, allocations: 321 kB / 0.6727 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1125/0.813, allocations: 44.05 MB / 0.7157 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.813, allocations: 35.97 kB / 0.7157 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=79): time 2.936e-06/0.813, allocations: 0 / 0.7157 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83): time 0.003727/0.8167, allocations: 2.24 MB / 0.7179 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.8168, allocations: 55.41 kB / 0.7179 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.817, allocations: 257.8 kB / 0.7182 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.817, allocations: 37.7 kB / 0.7182 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.8171, allocations: 188.8 kB / 0.7184 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.8173, allocations: 273.6 kB / 0.7187 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.8174, allocations: 98.17 kB / 0.7188 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8175, allocations: 354.1 kB / 0.7191 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.8177, allocations: 285.2 kB / 0.7194 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.8181, allocations: 405 kB / 0.7198 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.8188, allocations: 0.7237 MB / 0.7205 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8188, allocations: 0 / 0.7205 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008976/0.8197, allocations: 0.8132 MB / 0.7213 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8197, allocations: 4 kB / 0.7213 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8197, allocations: 4 kB / 0.7213 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.8199, allocations: 61.67 kB / 0.7213 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.8201, allocations: 102.6 kB / 0.7214 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03563/0.8557, allocations: 16.42 MB / 0.7375 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.8561, allocations: 31.97 kB / 0.7375 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.8561, allocations: 20 kB / 0.7375 GB, free: 4.719 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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 prepare postOptimizeDAE: time 0.0002611/0.8563, allocations: 195.3 kB / 0.7377 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.8564, allocations: 50.34 kB / 0.7377 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.8577, allocations: 1.587 MB / 0.7393 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.8578, allocations: 19.3 kB / 0.7393 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8578, allocations: 0 / 0.7393 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009898/0.8588, allocations: 1.173 MB / 0.7405 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.8605, allocations: 1.552 MB / 0.742 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.8605, allocations: 0 / 0.742 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.8607, allocations: 82.94 kB / 0.742 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.8608, allocations: 40.8 kB / 0.7421 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.8609, allocations: 12.03 kB / 0.7421 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006752/0.8615, allocations: 1.319 MB / 0.7434 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8615, allocations: 0 / 0.7434 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.8626, allocations: 1.204 MB / 0.7446 GB, free: 13.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.8627, allocations: 47.62 kB / 0.7446 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.8627, allocations: 8.062 kB / 0.7446 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.8628, allocations: 31.97 kB / 0.7446 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.8629, allocations: 43.92 kB / 0.7447 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.8629, allocations: 15.98 kB / 0.7447 GB, free: 13.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001629/0.8631, allocations: 235.1 kB / 0.7449 GB, free: 12.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.8631, allocations: 0 / 0.7449 GB, free: 12.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00791/0.871, allocations: 3.576 MB / 0.7484 GB, free: 9.211 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: 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 (40): * 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: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01657/0.8876, allocations: 6.534 MB / 0.7548 GB, free: 3.109 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.8891, allocations: 0.919 MB / 0.7557 GB, free: 2.176 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8891, allocations: 4.062 kB / 0.7557 GB, free: 2.172 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.8896, allocations: 480.3 kB / 0.7562 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.8908, allocations: 405.7 kB / 0.7565 GB, free: 1.305 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.901, allocations: 6.362 MB / 0.7628 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.9012, allocations: 246.3 kB / 0.763 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003602/0.9015, allocations: 171.9 kB / 0.7632 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.9017, allocations: 176.4 kB / 0.7633 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of SimCode: time 1.142e-06/0.9017, allocations: 0 / 0.7633 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3419/1.244, allocations: 135 MB / 0.8951 GB, free: 224.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.99, allocations: 6.984 kB / 0.8951 GB, free: 224.6 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.612293053418398] Failed to read output from testmodel.py, exit status != 0: 12.149290991015732 12.157264424 11.465840416 Calling exit ...