Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.001678/0.001678, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001513/0.001513, allocations: 160 kB / 23.01 MB, free: 4.945 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.544/1.544, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.01315/0.01315, allocations: 2 MB / 261.8 MB, free: 14.65 MB / 254.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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [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.002139/0.002139, allocations: 63.89 kB / 385.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1189, allocations: 54.13 MB / 439.8 MB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.3001/0.419, allocations: 45.42 MB / 485.2 MB, free: 49.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.4376, allocations: 25.15 MB / 0.4984 GB, free: 47.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007842/0.4384, allocations: 3.125 kB / 0.4984 GB, free: 47.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.44, allocations: 0.5035 MB / 0.4989 GB, free: 47.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007465/0.4475, allocations: 2.194 MB / 0.501 GB, free: 45.88 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.458, allocations: 2.887 MB / 0.5039 GB, free: 44.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.4596, allocations: 0.9443 MB / 0.5048 GB, free: 44.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4597, allocations: 29.06 kB / 0.5048 GB, free: 44.05 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.7498/1.209, allocations: 52.01 MB / 0.5556 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/1.21, allocations: 289.9 kB / 0.5559 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/1.21, allocations: 40 kB / 0.5559 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2253/1.436, allocations: 27.39 MB / 0.5827 GB, free: 6.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/1.436, allocations: 107.8 kB / 0.5828 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/1.436, allocations: 274.6 kB / 0.583 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006552/1.443, allocations: 1.865 MB / 0.5849 GB, free: 4.152 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.443, allocations: 0 / 0.5849 GB, free: 4.152 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/1.443, allocations: 0 / 0.5849 GB, free: 4.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/1.443, allocations: 0 / 0.5849 GB, free: 4.152 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001928/1.445, allocations: 1.049 MB / 0.5859 GB, free: 3.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.445, allocations: 12.88 kB / 0.5859 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/1.447, allocations: 0.496 MB / 0.5864 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/1.451, allocations: 281.9 kB / 0.5866 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/1.451, allocations: 48.27 kB / 0.5867 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/1.451, allocations: 52 kB / 0.5867 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/1.452, allocations: 0.9819 MB / 0.5877 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/1.452, allocations: 6.484 kB / 0.5877 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/1.452, allocations: 28 kB / 0.5877 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/1.452, allocations: 32.17 kB / 0.5878 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/1.454, allocations: 0.7127 MB / 0.5885 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/1.458, allocations: 2.698 MB / 0.5911 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/1.458, allocations: 269 kB / 0.5913 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/1.458, allocations: 159.2 kB / 0.5915 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.46, allocations: 0.8839 MB / 0.5924 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.46, allocations: 42.5 kB / 0.5924 GB, free: 12.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 1.894e-06/1.46, allocations: 0 / 0.5924 GB, free: 12.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.003209/1.463, allocations: 0.6083 MB / 0.593 GB, free: 12.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/1.463, allocations: 81.11 kB / 0.5931 GB, free: 11.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/1.463, allocations: 190.6 kB / 0.5933 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/1.463, allocations: 33.8 kB / 0.5933 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/1.464, allocations: 300.3 kB / 0.5936 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/1.464, allocations: 241.8 kB / 0.5938 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/1.464, allocations: 93.97 kB / 0.5939 GB, free: 11.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/1.464, allocations: 342.8 kB / 0.5942 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/1.464, allocations: 121.3 kB / 0.5943 GB, free: 10.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/1.465, allocations: 315.9 kB / 0.5946 GB, free: 10.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/1.466, allocations: 476.8 kB / 0.5951 GB, free: 9.719 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.466, allocations: 0 / 0.5951 GB, free: 9.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008801/1.466, allocations: 496.4 kB / 0.5956 GB, free: 9.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.466, allocations: 8 kB / 0.5956 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.466, allocations: 4 kB / 0.5956 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.466, allocations: 11.94 kB / 0.5956 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/1.467, allocations: 83.89 kB / 0.5957 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/1.468, allocations: 1.18 MB / 0.5968 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/1.468, allocations: 67.38 kB / 0.5969 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/1.468, allocations: 20 kB / 0.5969 GB, free: 7.809 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002564/1.468, allocations: 189.7 kB / 0.5971 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/1.468, allocations: 31.77 kB / 0.5971 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/1.468, allocations: 34.64 kB / 0.5972 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.468, allocations: 0 / 0.5972 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.468, allocations: 0 / 0.5972 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.468, allocations: 11.88 kB / 0.5972 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/1.469, allocations: 347.7 kB / 0.5975 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.469, allocations: 0 / 0.5975 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/1.469, allocations: 39.97 kB / 0.5975 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.469, allocations: 4 kB / 0.5975 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/1.469, allocations: 8 kB / 0.5975 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007183/1.47, allocations: 1.164 MB / 0.5987 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.47, allocations: 0 / 0.5987 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/1.47, allocations: 0.518 MB / 0.5992 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/1.471, allocations: 31.69 kB / 0.5992 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.471, allocations: 8 kB / 0.5992 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/1.471, allocations: 7.938 kB / 0.5992 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/1.471, allocations: 19.97 kB / 0.5993 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.471, allocations: 4 kB / 0.5993 GB, free: 5.301 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001105/1.471, allocations: 119.2 kB / 0.5994 GB, free: 5.184 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.471, allocations: 0 / 0.5994 GB, free: 5.184 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006873/1.472, allocations: 207.4 kB / 0.5996 GB, free: 4.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006332/1.472, allocations: 316.9 kB / 0.5999 GB, free: 4.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/1.473, allocations: 0.569 MB / 0.6004 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/1.473, allocations: 0 / 0.6004 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006476/1.474, allocations: 479.9 kB / 0.6009 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.475, allocations: 205.6 kB / 0.6011 GB, free: 3.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/1.477, allocations: 1.06 MB / 0.6021 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/1.477, allocations: 356.6 kB / 0.6025 GB, free: 1.875 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004741/1.478, allocations: 219.8 kB / 0.6027 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/1.478, allocations: 44.5 kB / 0.6027 GB, free: 1.617 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/1.478, allocations: 0 / 0.6027 GB, free: 1.617 MB / 478.1 MB Notification: Performance of Templates: time 0.02193/1.5, allocations: 11.04 MB / 0.6135 GB, free: 6.586 MB / 494.1 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.599506849073805] Failed to read output from testmodel.py, exit status != 0: 1.5090988849988207 1.524079764 0.07782048200000001 Calling exit ...