Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.001339/0.001339, 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.001439/0.001439, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.77 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.01226/0.01226, allocations: 2.816 MB / 315.2 MB, free: 72 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.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",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.002306/0.002306, allocations: 67.89 kB / 438.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09579, allocations: 54.18 MB / 492.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2702/0.366, allocations: 73.94 MB / 0.5535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03663/0.4026, allocations: 35.2 MB / 0.5879 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009316/0.4036, allocations: 7.938 kB / 0.5879 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.4063, allocations: 0.9938 MB / 0.5889 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01964/0.4259, allocations: 6.775 MB / 0.5955 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.4273, allocations: 270.1 kB / 0.5957 GB, free: 336 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.4295, allocations: 1.338 MB / 0.597 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.4296, allocations: 59.19 kB / 0.5971 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.4301, allocations: 425.9 kB / 0.5975 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.4308, allocations: 485.4 kB / 0.598 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.4309, allocations: 40 kB / 0.598 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.995/2.426, allocations: 170 MB / 0.764 GB, free: 86.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/2.426, allocations: 151.4 kB / 0.7642 GB, free: 86.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009549/2.427, allocations: 490.9 kB / 0.7646 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/2.437, allocations: 2.786 MB / 0.7674 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/2.437, allocations: 3.25 kB / 0.7674 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.953e-06/2.437, allocations: 0 / 0.7674 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.431e-05/2.437, allocations: 4 kB / 0.7674 GB, free: 84.32 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.002783/2.44, allocations: 1.527 MB / 0.7689 GB, free: 82.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.44, allocations: 12.03 kB / 0.7689 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/2.44, allocations: 205.2 kB / 0.7691 GB, free: 82.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/2.445, allocations: 1.222 MB / 0.7703 GB, free: 82.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/2.445, allocations: 227.5 kB / 0.7705 GB, free: 81.85 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/2.445, allocations: 72.44 kB / 0.7705 GB, free: 81.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/2.445, allocations: 98.62 kB / 0.7706 GB, free: 81.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/2.447, allocations: 1.745 MB / 0.7723 GB, free: 80.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/2.447, allocations: 0 / 0.7723 GB, free: 80.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/2.447, allocations: 41.31 kB / 0.7724 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/2.447, allocations: 74.48 kB / 0.7724 GB, free: 80.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/2.448, allocations: 1.667 MB / 0.7741 GB, free: 79.72 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/2.452, allocations: 3.611 MB / 0.7776 GB, free: 77.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/2.453, allocations: 0.5329 MB / 0.7781 GB, free: 77.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/2.454, allocations: 0.4995 MB / 0.7786 GB, free: 76.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/2.455, allocations: 1.322 MB / 0.7799 GB, free: 75.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/2.455, allocations: 39.14 kB / 0.7799 GB, free: 75.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.893e-06/2.455, allocations: 0 / 0.7799 GB, free: 75.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.0117/2.467, allocations: 1.526 MB / 0.7814 GB, free: 74.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/2.467, allocations: 85.11 kB / 0.7815 GB, free: 74.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/2.467, allocations: 137.2 kB / 0.7816 GB, free: 74.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/2.467, allocations: 33.64 kB / 0.7817 GB, free: 74.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/2.467, allocations: 410 kB / 0.7821 GB, free: 74.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/2.468, allocations: 0.5925 MB / 0.7826 GB, free: 73.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/2.468, allocations: 139.7 kB / 0.7828 GB, free: 73.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/2.468, allocations: 309.8 kB / 0.7831 GB, free: 73.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/2.468, allocations: 340.2 kB / 0.7834 GB, free: 73.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/2.469, allocations: 0.4928 MB / 0.7839 GB, free: 72.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/2.47, allocations: 1.029 MB / 0.7849 GB, free: 72.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.47, allocations: 0 / 0.7849 GB, free: 72.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001231/2.471, allocations: 1.063 MB / 0.7859 GB, free: 71.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/2.471, allocations: 4 kB / 0.7859 GB, free: 71.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/2.471, allocations: 4 kB / 0.7859 GB, free: 71.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/2.471, allocations: 8 kB / 0.7859 GB, free: 71.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/2.471, allocations: 34.86 kB / 0.786 GB, free: 71.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/2.471, allocations: 14.39 kB / 0.786 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/2.471, allocations: 79.14 kB / 0.7861 GB, free: 70.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/2.471, allocations: 24 kB / 0.7861 GB, free: 70.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0003337/2.472, allocations: 220.4 kB / 0.7863 GB, free: 70.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/2.472, allocations: 55.56 kB / 0.7863 GB, free: 70.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.697e-05/2.472, allocations: 31.88 kB / 0.7864 GB, free: 70.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/2.472, allocations: 8 kB / 0.7864 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/2.472, allocations: 0 / 0.7864 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/2.472, allocations: 3.984 kB / 0.7864 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/2.473, allocations: 0.937 MB / 0.7873 GB, free: 69.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/2.473, allocations: 4 kB / 0.7873 GB, free: 69.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/2.473, allocations: 4 kB / 0.7873 GB, free: 69.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/2.473, allocations: 0 / 0.7873 GB, free: 69.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/2.473, allocations: 16 kB / 0.7873 GB, free: 69.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/2.473, allocations: 0 / 0.7873 GB, free: 69.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/2.473, allocations: 6.781 kB / 0.7873 GB, free: 69.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/2.474, allocations: 1.196 MB / 0.7885 GB, free: 68.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/2.474, allocations: 79.23 kB / 0.7886 GB, free: 68.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/2.474, allocations: 4 kB / 0.7886 GB, free: 68.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/2.475, allocations: 4 kB / 0.7886 GB, free: 68.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/2.475, allocations: 26.98 kB / 0.7886 GB, free: 68.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/2.475, allocations: 16 kB / 0.7886 GB, free: 68.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.894e-05/2.475, allocations: 91.7 kB / 0.7887 GB, free: 68.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.475, allocations: 4 kB / 0.7887 GB, free: 68.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009656/2.476, allocations: 394.8 kB / 0.7891 GB, free: 67.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00221/2.478, allocations: 2.179 MB / 0.7912 GB, free: 65.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001272/2.479, allocations: 1.569 MB / 0.7927 GB, free: 63.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/2.479, allocations: 0 / 0.7927 GB, free: 63.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/2.48, allocations: 1.643 MB / 0.7944 GB, free: 61.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/2.482, allocations: 485.5 kB / 0.7948 GB, free: 61.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/2.485, allocations: 2.402 MB / 0.7972 GB, free: 59.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/2.486, allocations: 0.7154 MB / 0.7979 GB, free: 58.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005986/2.486, allocations: 178.7 kB / 0.798 GB, free: 58.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/2.487, allocations: 0.6243 MB / 0.7986 GB, free: 57.49 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/2.487, allocations: 0 / 0.7986 GB, free: 57.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/2.555, allocations: 44.22 MB / 0.8418 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/15.66, allocations: 11.8 kB / 0.8418 GB, free: 13.6 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical_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_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.73200027225539] Failed to read output from testmodel.py, exit status != 0: 16.009734203107655 16.022374694 13.582209942 Calling exit ...