Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.001331/0.001331, 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.001628/0.001628, allocations: 213 kB / 22.24 MB, free: 5.258 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01392/0.01392, allocations: 2.795 MB / 315.2 MB, free: 200 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 75.89 kB / 438.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1203, allocations: 54.18 MB / 492.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.0117/0.132, allocations: 7.569 MB / 0.4887 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.133, allocations: 0.8135 MB / 0.4894 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1331, allocations: 0 / 0.4894 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1333, allocations: 63.62 kB / 0.4895 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.1334, allocations: 27.78 kB / 0.4895 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.1338, allocations: 115.1 kB / 0.4896 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1339, allocations: 51.67 kB / 0.4897 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.134, allocations: 4 kB / 0.4897 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.134, allocations: 15.94 kB / 0.4897 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.1341, allocations: 19.86 kB / 0.4897 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1341, allocations: 4 kB / 0.4897 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1175/0.2516, allocations: 13.72 MB / 0.5031 GB, free: 1.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2517, allocations: 7.938 kB / 0.5031 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.2517, allocations: 23.92 kB / 0.5032 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2521, allocations: 83.66 kB / 0.5032 GB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2521, allocations: 0 / 0.5032 GB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2521, allocations: 4 kB / 0.5032 GB, free: 1.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2521, allocations: 0 / 0.5032 GB, free: 1.809 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004373/0.2525, allocations: 290 kB / 0.5035 GB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2526, allocations: 8.031 kB / 0.5035 GB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.2526, allocations: 46.73 kB / 0.5036 GB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.2527, allocations: 16.88 kB / 0.5036 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.2528, allocations: 110.5 kB / 0.5037 GB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2528, allocations: 4.125 kB / 0.5037 GB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2528, allocations: 4 kB / 0.5037 GB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.253, allocations: 73.67 kB / 0.5038 GB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.253, allocations: 4 kB / 0.5038 GB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.253, allocations: 0 / 0.5038 GB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.253, allocations: 0 / 0.5038 GB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.2531, allocations: 39.97 kB / 0.5038 GB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.2535, allocations: 292.6 kB / 0.5041 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.2536, allocations: 34.58 kB / 0.5041 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.2536, allocations: 20.86 kB / 0.5042 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2536, allocations: 4.031 kB / 0.5042 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.2536, allocations: 30.56 kB / 0.5042 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.2537, allocations: 0 / 0.5042 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002463/0.2539, allocations: 126.3 kB / 0.5043 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2539, allocations: 51.41 kB / 0.5044 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.254, allocations: 93.8 kB / 0.5044 GB, free: 436 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.254, allocations: 29.64 kB / 0.5045 GB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.2541, allocations: 80.14 kB / 0.5045 GB, free: 316 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.2541, allocations: 59.48 kB / 0.5046 GB, free: 256 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.2542, allocations: 25.7 kB / 0.5046 GB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2168/0.4709, allocations: 310.8 kB / 0.5049 GB, free: 25.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.471, allocations: 17.3 kB / 0.5049 GB, free: 25.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.471, allocations: 18.52 kB / 0.505 GB, free: 25.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.958e-05/0.4711, allocations: 59.95 kB / 0.505 GB, free: 25.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4711, allocations: 1 kB / 0.505 GB, free: 25.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001515/0.4713, allocations: 87.91 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4713, allocations: 4.938 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4713, allocations: 2.031 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4714, allocations: 1.812 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.4714, allocations: 8.875 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4714, allocations: 1 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.4715, allocations: 11.47 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.4715, allocations: 3.469 kB / 0.5051 GB, free: 25.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.563e-05/0.4716, allocations: 111.5 kB / 0.5052 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4716, allocations: 1.969 kB / 0.5052 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.4716, allocations: 8.25 kB / 0.5052 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4716, allocations: 3.062 kB / 0.5053 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4716, allocations: 5.156 kB / 0.5053 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4716, allocations: 0 / 0.5053 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4718, allocations: 152.8 kB / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4718, allocations: 3.125 kB / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.4719, allocations: 4.656 kB / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4719, allocations: 0 / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4719, allocations: 4.5 kB / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4719, allocations: 0 / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4719, allocations: 3.938 kB / 0.5054 GB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.472, allocations: 183.6 kB / 0.5056 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.472, allocations: 11.89 kB / 0.5056 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4721, allocations: 4.844 kB / 0.5056 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.4721, allocations: 0 / 0.5056 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.4721, allocations: 12.69 kB / 0.5056 GB, free: 25.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4721, allocations: 2.469 kB / 0.5056 GB, free: 25.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.844e-05/0.4722, allocations: 75.28 kB / 0.5057 GB, free: 25.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-08/0.4722, allocations: 0 / 0.5057 GB, free: 25.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.4724, allocations: 18.48 kB / 0.5057 GB, free: 25.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00053/0.4729, allocations: 0.7588 MB / 0.5065 GB, free: 24.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4731, allocations: 103.7 kB / 0.5066 GB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4731, allocations: 1.875 kB / 0.5066 GB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.4732, allocations: 85.08 kB / 0.5066 GB, free: 24.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4745, allocations: 34.66 kB / 0.5067 GB, free: 24.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.4752, allocations: 326.3 kB / 0.507 GB, free: 24.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.4754, allocations: 107 kB / 0.5071 GB, free: 24.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.4754, allocations: 17.58 kB / 0.5071 GB, free: 24.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.4755, allocations: 38.61 kB / 0.5071 GB, free: 24.2 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4755, allocations: 0 / 0.5071 GB, free: 24.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.5081, allocations: 4.68 MB / 0.5117 GB, free: 23.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.72, allocations: 12.55 kB / 0.5117 GB, free: 23.06 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state_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_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.991222852375358] Failed to read output from testmodel.py, exit status != 0: 12.051337342243642 12.066692734 11.811638476 Calling exit ...