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.001349/0.001349, 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.001482/0.001482, allocations: 210.5 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.773 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.01377/0.01377, allocations: 2.81 MB / 315.2 MB, free: 76 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.002045/0.002045, allocations: 63.91 kB / 438.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.1005, allocations: 54.18 MB / 492.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.295/0.3954, allocations: 73.94 MB / 0.5535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04004/0.4355, allocations: 35.21 MB / 0.5879 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.4368, allocations: 4 kB / 0.5879 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.4402, allocations: 0.9938 MB / 0.5889 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02086/0.461, allocations: 6.771 MB / 0.5955 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.4621, allocations: 274 kB / 0.5957 GB, free: 312 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.4644, allocations: 1.342 MB / 0.597 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.4646, allocations: 51.2 kB / 0.5971 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007649/0.4654, allocations: 433.9 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009531/0.4663, allocations: 481.4 kB / 0.598 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.4664, allocations: 36 kB / 0.598 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.929/2.395, allocations: 170 MB / 0.764 GB, free: 86.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/2.395, allocations: 147.2 kB / 0.7642 GB, free: 86.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008553/2.396, allocations: 484.6 kB / 0.7646 GB, free: 86.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01/2.406, allocations: 2.796 MB / 0.7674 GB, free: 84.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/2.406, allocations: 0 / 0.7674 GB, free: 84.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/2.406, allocations: 0 / 0.7674 GB, free: 84.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.875e-05/2.406, allocations: 6.625 kB / 0.7674 GB, free: 84.41 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.002099/2.408, allocations: 1.532 MB / 0.7689 GB, free: 83.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/2.408, allocations: 8.031 kB / 0.7689 GB, free: 83.05 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/2.408, allocations: 208.7 kB / 0.7691 GB, free: 82.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/2.413, allocations: 1.214 MB / 0.7702 GB, free: 82.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/2.413, allocations: 226.3 kB / 0.7705 GB, free: 81.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007662/2.414, allocations: 72.44 kB / 0.7705 GB, free: 81.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/2.414, allocations: 95.25 kB / 0.7706 GB, free: 81.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/2.416, allocations: 1.746 MB / 0.7723 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/2.416, allocations: 4 kB / 0.7723 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/2.416, allocations: 42.44 kB / 0.7724 GB, free: 80.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/2.416, allocations: 70.56 kB / 0.7724 GB, free: 80.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/2.418, allocations: 1.664 MB / 0.7741 GB, free: 79.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/2.422, allocations: 3.62 MB / 0.7776 GB, free: 77.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/2.423, allocations: 0.5356 MB / 0.7781 GB, free: 77.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/2.423, allocations: 0.499 MB / 0.7786 GB, free: 76.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/2.425, allocations: 1.333 MB / 0.7799 GB, free: 75.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/2.425, allocations: 34.25 kB / 0.7799 GB, free: 75.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.235e-06/2.425, allocations: 0 / 0.7799 GB, free: 75.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01127/2.436, allocations: 1.526 MB / 0.7814 GB, free: 74.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/2.436, allocations: 81.11 kB / 0.7815 GB, free: 74.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/2.436, allocations: 144.9 kB / 0.7817 GB, free: 74.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/2.436, allocations: 25.7 kB / 0.7817 GB, free: 74.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/2.436, allocations: 412.2 kB / 0.7821 GB, free: 74.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/2.436, allocations: 0.5983 MB / 0.7827 GB, free: 73.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/2.437, allocations: 135.1 kB / 0.7828 GB, free: 73.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.876e-05/2.437, allocations: 309.9 kB / 0.7831 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/2.437, allocations: 337.8 kB / 0.7834 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/2.437, allocations: 0.5007 MB / 0.7839 GB, free: 72.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/2.438, allocations: 1.022 MB / 0.7849 GB, free: 72.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.438, allocations: 5.594 kB / 0.7849 GB, free: 72.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001108/2.439, allocations: 1.056 MB / 0.7859 GB, free: 71.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/2.439, allocations: 8 kB / 0.7859 GB, free: 71.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/2.439, allocations: 4 kB / 0.7859 GB, free: 71.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/2.439, allocations: 4 kB / 0.7859 GB, free: 71.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/2.44, allocations: 33.33 kB / 0.786 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/2.44, allocations: 4 kB / 0.786 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/2.44, allocations: 87.14 kB / 0.7861 GB, free: 70.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/2.44, allocations: 23.98 kB / 0.7861 GB, free: 70.91 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.0002765/2.44, allocations: 224.7 kB / 0.7863 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/2.44, allocations: 51.56 kB / 0.7863 GB, free: 70.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/2.44, allocations: 31.89 kB / 0.7864 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/2.44, allocations: 15.92 kB / 0.7864 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.44, allocations: 0 / 0.7864 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/2.44, allocations: 0 / 0.7864 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/2.441, allocations: 0.9239 MB / 0.7873 GB, free: 69.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/2.441, allocations: 0 / 0.7873 GB, free: 69.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/2.441, allocations: 14.16 kB / 0.7873 GB, free: 69.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/2.441, allocations: 0 / 0.7873 GB, free: 69.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/2.441, allocations: 24.05 kB / 0.7873 GB, free: 69.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/2.441, allocations: 0 / 0.7873 GB, free: 69.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/2.441, allocations: 0 / 0.7873 GB, free: 69.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/2.442, allocations: 1.205 MB / 0.7885 GB, free: 68.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/2.442, allocations: 79.19 kB / 0.7886 GB, free: 68.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/2.442, allocations: 4 kB / 0.7886 GB, free: 68.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/2.443, allocations: 0 / 0.7886 GB, free: 68.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/2.443, allocations: 27.97 kB / 0.7886 GB, free: 68.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/2.443, allocations: 12 kB / 0.7886 GB, free: 68.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.544e-05/2.443, allocations: 95.27 kB / 0.7887 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.443, allocations: 0 / 0.7887 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008282/2.444, allocations: 386.9 kB / 0.7891 GB, free: 67.79 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.001979/2.446, allocations: 2.203 MB / 0.7912 GB, free: 65.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001181/2.447, allocations: 1.563 MB / 0.7928 GB, free: 63.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/2.447, allocations: 6.594 kB / 0.7928 GB, free: 63.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007774/2.448, allocations: 1.642 MB / 0.7944 GB, free: 61.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/2.45, allocations: 461.6 kB / 0.7948 GB, free: 61.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/2.453, allocations: 2.401 MB / 0.7972 GB, free: 59.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/2.453, allocations: 0.7115 MB / 0.7979 GB, free: 58.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006053/2.454, allocations: 181.4 kB / 0.798 GB, free: 58.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/2.454, allocations: 0.6281 MB / 0.7986 GB, free: 57.48 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/2.454, allocations: 4 kB / 0.7986 GB, free: 57.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07172/2.526, allocations: 44.21 MB / 0.8418 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/15.6, allocations: 12.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.71006752224639] Failed to read output from testmodel.py, exit status != 0: 15.951850343961269 15.964440914 13.555568713 Calling exit ...