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.001355/0.001355, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001617/0.001617, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8.043 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.01258/0.01258, allocations: 2.804 MB / 315.2 MB, free: 332 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.002019/0.002019, allocations: 67.91 kB / 438.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09526, allocations: 54.18 MB / 492.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3093/0.4045, allocations: 83.87 MB / 0.5632 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04151/0.446, allocations: 40.86 MB / 0.6032 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.447, allocations: 4 kB / 0.6032 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003333/0.4504, allocations: 1.239 MB / 0.6044 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02032/0.4707, allocations: 6.974 MB / 0.6112 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.4717, allocations: 270 kB / 0.6114 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.4741, allocations: 1.35 MB / 0.6128 GB, free: 328 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.4743, allocations: 55.19 kB / 0.6128 GB, free: 260 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.475, allocations: 429.9 kB / 0.6132 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009211/0.476, allocations: 0.4935 MB / 0.6137 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4761, allocations: 36 kB / 0.6137 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938/2.414, allocations: 170 MB / 0.7798 GB, free: 60.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/2.414, allocations: 153.5 kB / 0.7799 GB, free: 60.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/2.415, allocations: 0.599 MB / 0.7805 GB, free: 60.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/2.426, allocations: 2.784 MB / 0.7832 GB, free: 58.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/2.426, allocations: 0 / 0.7832 GB, free: 58.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/2.426, allocations: 0 / 0.7832 GB, free: 58.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.844e-05/2.426, allocations: 0 / 0.7832 GB, free: 58.64 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.001697/2.428, allocations: 1.548 MB / 0.7847 GB, free: 57.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/2.428, allocations: 12.03 kB / 0.7848 GB, free: 57.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/2.428, allocations: 200.7 kB / 0.785 GB, free: 57.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00398/2.432, allocations: 1.223 MB / 0.7861 GB, free: 56.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/2.432, allocations: 227.6 kB / 0.7864 GB, free: 56.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/2.432, allocations: 72.06 kB / 0.7864 GB, free: 56.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/2.433, allocations: 95.06 kB / 0.7865 GB, free: 56.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/2.434, allocations: 1.75 MB / 0.7882 GB, free: 55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/2.434, allocations: 0 / 0.7882 GB, free: 55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/2.434, allocations: 39.12 kB / 0.7883 GB, free: 54.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/2.434, allocations: 71.44 kB / 0.7883 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/2.436, allocations: 1.667 MB / 0.79 GB, free: 54.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/2.44, allocations: 8.555 MB / 0.7983 GB, free: 45.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/2.441, allocations: 0.5335 MB / 0.7988 GB, free: 45.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/2.442, allocations: 0.501 MB / 0.7993 GB, free: 45.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/2.443, allocations: 1.428 MB / 0.8007 GB, free: 44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/2.443, allocations: 38.38 kB / 0.8008 GB, free: 43.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.683e-06/2.443, allocations: 0 / 0.8008 GB, free: 43.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.008426/2.451, allocations: 1.524 MB / 0.8022 GB, free: 43.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/2.451, allocations: 77.11 kB / 0.8023 GB, free: 42.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/2.452, allocations: 129.3 kB / 0.8024 GB, free: 42.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/2.452, allocations: 33.52 kB / 0.8025 GB, free: 42.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/2.452, allocations: 414.1 kB / 0.8029 GB, free: 42.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/2.452, allocations: 0.5906 MB / 0.8034 GB, free: 41.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/2.452, allocations: 144 kB / 0.8036 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.383e-05/2.452, allocations: 306 kB / 0.8039 GB, free: 41.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/2.452, allocations: 340.5 kB / 0.8042 GB, free: 41.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/2.453, allocations: 0.4888 MB / 0.8047 GB, free: 40.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/2.454, allocations: 1.031 MB / 0.8057 GB, free: 40.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/2.454, allocations: 4 kB / 0.8057 GB, free: 40.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001151/2.455, allocations: 1.055 MB / 0.8067 GB, free: 39.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/2.455, allocations: 8 kB / 0.8067 GB, free: 39.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/2.455, allocations: 4.406 kB / 0.8067 GB, free: 39.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/2.455, allocations: 8 kB / 0.8067 GB, free: 39.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/2.455, allocations: 34.27 kB / 0.8068 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/2.455, allocations: 7.938 kB / 0.8068 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/2.455, allocations: 87.12 kB / 0.8069 GB, free: 39.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/2.455, allocations: 27.98 kB / 0.8069 GB, free: 39.45 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.0002741/2.456, allocations: 221.9 kB / 0.8071 GB, free: 39.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.456, allocations: 55.52 kB / 0.8072 GB, free: 39.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/2.456, allocations: 35.89 kB / 0.8072 GB, free: 39.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/2.456, allocations: 7.984 kB / 0.8072 GB, free: 39.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/2.456, allocations: 0 / 0.8072 GB, free: 39.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/2.456, allocations: 4 kB / 0.8072 GB, free: 39.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/2.457, allocations: 1.025 MB / 0.8082 GB, free: 38.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/2.457, allocations: 3.984 kB / 0.8082 GB, free: 38.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/2.457, allocations: 8 kB / 0.8082 GB, free: 38.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/2.457, allocations: 0 / 0.8082 GB, free: 38.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/2.457, allocations: 16 kB / 0.8082 GB, free: 38.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/2.457, allocations: 64 / 0.8082 GB, free: 38.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/2.457, allocations: 4 kB / 0.8082 GB, free: 38.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/2.458, allocations: 1.197 MB / 0.8094 GB, free: 36.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/2.458, allocations: 83.19 kB / 0.8095 GB, free: 36.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/2.458, allocations: 8 kB / 0.8095 GB, free: 36.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/2.458, allocations: 0 / 0.8095 GB, free: 36.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/2.458, allocations: 21.95 kB / 0.8095 GB, free: 36.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/2.458, allocations: 12 kB / 0.8095 GB, free: 36.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.66e-05/2.458, allocations: 107.6 kB / 0.8096 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.458, allocations: 0 / 0.8096 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008603/2.459, allocations: 386.9 kB / 0.81 GB, free: 36.24 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.001954/2.461, allocations: 2.183 MB / 0.8121 GB, free: 34.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001208/2.462, allocations: 1.569 MB / 0.8137 GB, free: 32.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/2.462, allocations: 0 / 0.8137 GB, free: 32.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007932/2.463, allocations: 1.642 MB / 0.8153 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/2.465, allocations: 465.6 kB / 0.8157 GB, free: 29.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/2.469, allocations: 2.396 MB / 0.818 GB, free: 27.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/2.469, allocations: 1.289 MB / 0.8193 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005919/2.47, allocations: 185.6 kB / 0.8195 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/2.47, allocations: 0.6243 MB / 0.8201 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/2.47, allocations: 4 kB / 0.8201 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08357/2.554, allocations: 45.06 MB / 0.8641 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/17.43, allocations: 3.938 kB / 0.8641 GB, free: 12.71 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.654695827979594] Failed to read output from testmodel.py, exit status != 0: 17.790415636030957 17.82308352 15.391028213 Calling exit ...