Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.0008054/0.0008054, 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.0008833/0.0008833, 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.889/0.889, 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/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.00834/0.00834, allocations: 1.98 MB / 261.2 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 384.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.064e-05, allocations: 6.281 kB / 384.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.00803/0.00805, allocations: 8.155 MB / 392.8 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.01249, allocations: 7.314 MB / 400.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.01259, allocations: 0 / 400.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.01301, allocations: 135 kB / 400.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.01327, allocations: 99.28 kB / 400.3 MB, free: 12.16 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.01615, allocations: 1.47 MB / 401.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.01645, allocations: 250.8 kB / 402 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.0165, allocations: 9.797 kB / 402.1 MB, free: 10.43 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.6443/0.6608, allocations: 13.77 MB / 415.8 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.6609, allocations: 52.95 kB / 415.9 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.6609, allocations: 8.516 kB / 415.9 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.6618, allocations: 304 kB / 416.2 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.6619, allocations: 27.53 kB / 416.2 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.662, allocations: 51.44 kB / 416.3 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.6627, allocations: 355.9 kB / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6627, allocations: 1.125 kB / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6627, allocations: 0 / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.6627, allocations: 0 / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00064/0.6634, allocations: 431.3 kB / 417 MB, free: 26.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6634, allocations: 9.062 kB / 417 MB, free: 26.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.6635, allocations: 48.36 kB / 417.1 MB, free: 26.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.6637, allocations: 95.75 kB / 417.2 MB, free: 26.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.6639, allocations: 131.2 kB / 417.3 MB, free: 26.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.6639, allocations: 26.27 kB / 417.3 MB, free: 26.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.664, allocations: 10.06 kB / 417.3 MB, free: 26.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.6643, allocations: 317.2 kB / 417.7 MB, free: 26.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6643, allocations: 9.109 kB / 417.7 MB, free: 26.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.6643, allocations: 4.969 kB / 417.7 MB, free: 26.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.6643, allocations: 5.484 kB / 417.7 MB, free: 26.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.6646, allocations: 257.1 kB / 417.9 MB, free: 26.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.6653, allocations: 0.6914 MB / 418.6 MB, free: 25.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.6655, allocations: 146.5 kB / 418.8 MB, free: 25.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.6656, allocations: 128.7 kB / 418.9 MB, free: 25.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.6656, allocations: 1.375 kB / 418.9 MB, free: 25.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.6657, allocations: 33.84 kB / 418.9 MB, free: 25.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.6657, allocations: 0 / 418.9 MB, free: 25.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004794/0.6661, allocations: 430.2 kB / 419.3 MB, free: 25.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.6662, allocations: 52.75 kB / 419.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.6662, allocations: 111.4 kB / 419.5 MB, free: 25.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.6662, allocations: 31.31 kB / 419.5 MB, free: 25.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.6663, allocations: 110.5 kB / 419.6 MB, free: 25.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.6663, allocations: 108.6 kB / 419.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.6664, allocations: 42.08 kB / 419.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.6664, allocations: 323 kB / 420.1 MB, free: 24.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.6665, allocations: 127.9 kB / 420.2 MB, free: 24.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.6667, allocations: 188.7 kB / 420.4 MB, free: 24.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.6669, allocations: 206 kB / 420.6 MB, free: 24.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6669, allocations: 0 / 420.6 MB, free: 24.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003113/0.6672, allocations: 298.7 kB / 420.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6672, allocations: 8.281 kB / 420.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6672, allocations: 5.094 kB / 420.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.6672, allocations: 3.719 kB / 420.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.6673, allocations: 25.02 kB / 420.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6673, allocations: 6.422 kB / 420.9 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.6674, allocations: 33.34 kB / 421 MB, free: 24.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6674, allocations: 4.859 kB / 421 MB, free: 24.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.6675, allocations: 124.5 kB / 421.1 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.6675, allocations: 17.02 kB / 421.1 MB, free: 24.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.6678, allocations: 341.4 kB / 421.5 MB, free: 24.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6679, allocations: 5.906 kB / 421.5 MB, free: 24.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6679, allocations: 5.969 kB / 421.5 MB, free: 24.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6679, allocations: 0.5625 kB / 421.5 MB, free: 24.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.668, allocations: 250.4 kB / 421.7 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.668, allocations: 1.438 kB / 421.7 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.6681, allocations: 23.41 kB / 421.7 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6681, allocations: 0.7031 kB / 421.7 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6681, allocations: 6.156 kB / 421.7 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6681, allocations: 3.938 kB / 421.8 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6681, allocations: 1.844 kB / 421.8 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.6684, allocations: 445.1 kB / 422.2 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.6685, allocations: 25.66 kB / 422.2 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.6685, allocations: 9.25 kB / 422.2 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.6685, allocations: 5.969 kB / 422.2 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.6686, allocations: 13.61 kB / 422.2 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.6686, allocations: 8.562 kB / 422.2 MB, free: 24.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.368e-05/0.6686, allocations: 90.77 kB / 422.3 MB, free: 24.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6686, allocations: 1.281 kB / 422.3 MB, free: 24.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.6689, allocations: 58.88 kB / 422.4 MB, free: 24.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000744/0.6696, allocations: 1.122 MB / 423.5 MB, free: 23.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.67, allocations: 347.1 kB / 423.9 MB, free: 23.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.67, allocations: 0 / 423.9 MB, free: 23.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.6701, allocations: 209.1 kB / 424.1 MB, free: 23.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.6705, allocations: 89.64 kB / 424.1 MB, free: 23.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.6722, allocations: 2.36 MB / 426.5 MB, free: 21.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.6723, allocations: 139.7 kB / 426.6 MB, free: 21.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.6724, allocations: 28.06 kB / 426.7 MB, free: 21.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.6725, allocations: 68.2 kB / 426.7 MB, free: 21.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6725, allocations: 0 / 426.7 MB, free: 21.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.6951, allocations: 9.153 MB / 435.9 MB, free: 18.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.93, allocations: 3.25 kB / 435.9 MB, free: 18.69 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.499949262477458] Failed to read output from testmodel.py, exit status != 0: 8.26926633156836 8.27731591 7.612512488 Calling exit ...