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.001287/0.001287, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001514/0.001514, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.973 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.01305/0.01305, allocations: 2.797 MB / 315.2 MB, free: 308 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.002005/0.002005, allocations: 67.89 kB / 438.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 54.17 MB / 492.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01176/0.123, allocations: 8.269 MB / 0.4894 GB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.1239, allocations: 0.9457 MB / 0.4903 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.1239, allocations: 4 kB / 0.4903 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1243, allocations: 75.58 kB / 0.4904 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.1243, allocations: 15.8 kB / 0.4904 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1247, allocations: 123.2 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1249, allocations: 55.55 kB / 0.4906 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.1249, allocations: 4 kB / 0.4906 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.125, allocations: 19.92 kB / 0.4906 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.1251, allocations: 23.86 kB / 0.4906 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1251, allocations: 0 / 0.4906 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1125/0.2376, allocations: 13.72 MB / 0.504 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.2376, allocations: 11.97 kB / 0.504 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.2377, allocations: 27.81 kB / 0.5041 GB, free: 1.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.238, allocations: 75.73 kB / 0.5041 GB, free: 1.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.238, allocations: 3.938 kB / 0.5041 GB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.238, allocations: 4 kB / 0.5041 GB, free: 1.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2381, allocations: 0 / 0.5041 GB, free: 1.195 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.0004772/0.2385, allocations: 286.1 kB / 0.5044 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2386, allocations: 12.03 kB / 0.5044 GB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.2386, allocations: 34.69 kB / 0.5045 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2387, allocations: 24.88 kB / 0.5045 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2389, allocations: 118.5 kB / 0.5046 GB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2389, allocations: 4.125 kB / 0.5046 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2389, allocations: 4 kB / 0.5046 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.239, allocations: 65.69 kB / 0.5047 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2391, allocations: 3.938 kB / 0.5047 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2391, allocations: 0 / 0.5047 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2391, allocations: 0 / 0.5047 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.2391, allocations: 43.98 kB / 0.5047 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.2396, allocations: 288.6 kB / 0.505 GB, free: 224 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.2397, allocations: 38.5 kB / 0.505 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.2397, allocations: 20.86 kB / 0.505 GB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2397, allocations: 4 kB / 0.505 GB, free: 148 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2398, allocations: 30.56 kB / 0.5051 GB, free: 108 kB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.2398, allocations: 0 / 0.5051 GB, free: 108 kB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.2002/0.44, allocations: 115.4 kB / 0.5052 GB, free: 26.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.44, allocations: 52.09 kB / 0.5052 GB, free: 26.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.011e-05/0.44, allocations: 96.44 kB / 0.5053 GB, free: 26.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4401, allocations: 26.2 kB / 0.5054 GB, free: 26.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.81e-05/0.4401, allocations: 81.86 kB / 0.5054 GB, free: 26.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.4401, allocations: 59.41 kB / 0.5055 GB, free: 26.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.4402, allocations: 22.06 kB / 0.5055 GB, free: 26.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.4402, allocations: 318.7 kB / 0.5058 GB, free: 25.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.4403, allocations: 21.27 kB / 0.5058 GB, free: 25.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.4403, allocations: 18.52 kB / 0.5059 GB, free: 25.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.4404, allocations: 63.72 kB / 0.5059 GB, free: 25.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4404, allocations: 0 / 0.5059 GB, free: 25.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001301/0.4405, allocations: 84.62 kB / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4405, allocations: 7.125 kB / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4405, allocations: 0 / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4406, allocations: 0.9062 kB / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.4406, allocations: 5.219 kB / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4406, allocations: 3.188 kB / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.4407, allocations: 14.28 kB / 0.506 GB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4407, allocations: 0 / 0.506 GB, free: 25.68 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 5.919e-05/0.4407, allocations: 111.9 kB / 0.5061 GB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.4408, allocations: 5.641 kB / 0.5061 GB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.4408, allocations: 11.11 kB / 0.5061 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4408, allocations: 0 / 0.5061 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4408, allocations: 0 / 0.5061 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4408, allocations: 5.281 kB / 0.5061 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.441, allocations: 157.5 kB / 0.5063 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.441, allocations: 3.594 kB / 0.5063 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.441, allocations: 2.344 kB / 0.5063 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.441, allocations: 0 / 0.5063 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.441, allocations: 6.344 kB / 0.5063 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.441, allocations: 0 / 0.5063 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.441, allocations: 4.438 kB / 0.5063 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.4412, allocations: 184.6 kB / 0.5065 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.4412, allocations: 13.78 kB / 0.5065 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4412, allocations: 7.656 kB / 0.5065 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.4412, allocations: 3.312 kB / 0.5065 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.4413, allocations: 0.9375 kB / 0.5065 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4413, allocations: 8.219 kB / 0.5065 GB, free: 25.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.4413, allocations: 75.28 kB / 0.5066 GB, free: 25.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-08/0.4413, allocations: 0 / 0.5066 GB, free: 25.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.4415, allocations: 18.56 kB / 0.5066 GB, free: 25.18 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.0004998/0.442, allocations: 0.7482 MB / 0.5073 GB, free: 24.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.4422, allocations: 116.5 kB / 0.5075 GB, free: 24.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4422, allocations: 3.719 kB / 0.5075 GB, free: 24.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.4423, allocations: 81.78 kB / 0.5075 GB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4435, allocations: 28.59 kB / 0.5076 GB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.4442, allocations: 316.8 kB / 0.5079 GB, free: 24.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.4444, allocations: 0.7194 MB / 0.5086 GB, free: 23.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.4444, allocations: 12.41 kB / 0.5086 GB, free: 23.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.4445, allocations: 45.47 kB / 0.5086 GB, free: 23.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4445, allocations: 3.938 kB / 0.5086 GB, free: 23.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.477, allocations: 4.419 MB / 0.5129 GB, free: 22.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.87, allocations: 0.9688 kB / 0.5129 GB, free: 22.84 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: 15.19929958400462] Failed to read output from testmodel.py, exit status != 0: 12.205476839997573 12.231450534 11.988785179 Calling exit ...