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.001315/0.001315, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001383/0.001383, allocations: 212 kB / 19.43 MB, free: 3.637 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 9 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.02151/0.02151, allocations: 2.781 MB / 311.6 MB, free: 1.477 MB / 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.002003/0.002003, allocations: 67.89 kB / 433.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1032, allocations: 54.13 MB / 487.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01081/0.114, allocations: 8.214 MB / 495.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.1149, allocations: 0.9419 MB / 496.8 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.115, allocations: 0 / 496.8 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1152, allocations: 83.5 kB / 496.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.1153, allocations: 27.73 kB / 496.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1156, allocations: 111.2 kB / 497 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.1157, allocations: 59.55 kB / 497.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.1157, allocations: 4 kB / 497.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.1157, allocations: 15.92 kB / 497.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.1158, allocations: 31.86 kB / 497.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1158, allocations: 0 / 497.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1141/0.2299, allocations: 13.69 MB / 0.4988 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.23, allocations: 3.984 kB / 0.4988 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.23, allocations: 27.81 kB / 0.4989 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.2303, allocations: 87.7 kB / 0.499 GB, free: 3.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2303, allocations: 4 kB / 0.499 GB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2303, allocations: 0 / 0.499 GB, free: 3.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2304, allocations: 0 / 0.499 GB, free: 3.164 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.0004664/0.2308, allocations: 363.2 kB / 0.4993 GB, free: 2.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2309, allocations: 11.98 kB / 0.4993 GB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2309, allocations: 34.75 kB / 0.4993 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.231, allocations: 20.86 kB / 0.4994 GB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2311, allocations: 176.3 kB / 0.4995 GB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.2311, allocations: 4.125 kB / 0.4995 GB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2312, allocations: 4 kB / 0.4995 GB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2313, allocations: 65.69 kB / 0.4996 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2313, allocations: 0 / 0.4996 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2313, allocations: 0 / 0.4996 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2313, allocations: 7.984 kB / 0.4996 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.2314, allocations: 39.92 kB / 0.4997 GB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.2318, allocations: 309.6 kB / 0.4999 GB, free: 2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.2319, allocations: 30.58 kB / 0.5 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.2319, allocations: 28.89 kB / 0.5 GB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2319, allocations: 11.94 kB / 0.5 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.232, allocations: 30.56 kB / 0.5 GB, free: 1.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.232, allocations: 0 / 0.5 GB, free: 1.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002445/0.2322, allocations: 109.9 kB / 0.5001 GB, free: 1.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2323, allocations: 55.41 kB / 0.5002 GB, free: 1.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/0.2323, allocations: 93.8 kB / 0.5003 GB, free: 1.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2323, allocations: 25.7 kB / 0.5003 GB, free: 1.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.2324, allocations: 88.14 kB / 0.5004 GB, free: 1.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.2324, allocations: 55.47 kB / 0.5005 GB, free: 1.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.2325, allocations: 21.72 kB / 0.5005 GB, free: 1.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2326, allocations: 322.8 kB / 0.5008 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.2327, allocations: 12 kB / 0.5008 GB, free: 1.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.2327, allocations: 24.34 kB / 0.5008 GB, free: 1.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.806e-05/0.2328, allocations: 60.91 kB / 0.5009 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2328, allocations: 0 / 0.5009 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001273/0.2329, allocations: 89.55 kB / 0.501 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2329, allocations: 7.938 kB / 0.501 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2329, allocations: 0 / 0.501 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2329, allocations: 4 kB / 0.501 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.233, allocations: 0 / 0.501 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.233, allocations: 0 / 0.501 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.233, allocations: 19.83 kB / 0.501 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.233, allocations: 0 / 0.501 GB, free: 0.8477 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 9.474e-05/0.2331, allocations: 113.8 kB / 0.5011 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2332, allocations: 7.953 kB / 0.5011 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.2332, allocations: 12.42 kB / 0.5011 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2332, allocations: 4 kB / 0.5011 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2332, allocations: 0 / 0.5011 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2332, allocations: 3.938 kB / 0.5011 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.2334, allocations: 181.9 kB / 0.5013 GB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2334, allocations: 144 / 0.5013 GB, free: 480 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.2334, allocations: 8 kB / 0.5013 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2335, allocations: 3.984 kB / 0.5013 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.2335, allocations: 0 / 0.5013 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2335, allocations: 0 / 0.5013 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2335, allocations: 4 kB / 0.5013 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.2337, allocations: 195.3 kB / 0.5015 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.2337, allocations: 89 kB / 0.5016 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2337, allocations: 0 / 0.5016 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.2338, allocations: 0 / 0.5016 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.2338, allocations: 7.875 kB / 0.5016 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.2338, allocations: 4 kB / 0.5016 GB, free: 132 kB / 366.1 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.2338, allocations: 79.28 kB / 0.5017 GB, free: 52 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2338, allocations: 0 / 0.5017 GB, free: 52 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.2341, allocations: 19.94 kB / 0.5017 GB, free: 32 kB / 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.2197/0.4538, allocations: 0.7373 MB / 0.5024 GB, free: 26.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.454, allocations: 103.8 kB / 0.5025 GB, free: 26.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.454, allocations: 0 / 0.5025 GB, free: 26.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.4541, allocations: 89.11 kB / 0.5026 GB, free: 26.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4551, allocations: 34.92 kB / 0.5026 GB, free: 26.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.4558, allocations: 315.5 kB / 0.5029 GB, free: 26.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.456, allocations: 0.714 MB / 0.5036 GB, free: 25.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.456, allocations: 13.94 kB / 0.5036 GB, free: 25.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.4561, allocations: 40.3 kB / 0.5037 GB, free: 25.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4561, allocations: 0.5938 kB / 0.5037 GB, free: 25.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4819, allocations: 4.078 MB / 0.5077 GB, free: 25.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.825, allocations: 8.297 kB / 0.5077 GB, free: 25.07 MB / 366.1 MB " [Timeout remaining time 651] (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: 12.060973464045674] Failed to read output from testmodel.py, exit status != 0: 9.107884449418634 9.123936948 8.889992692 Calling exit ...