Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.001647/0.001647, allocations: 83.73 kB / 19.76 MB, free: 2.02 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.001946/0.001946, allocations: 161.8 kB / 23 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.01235/0.01235, allocations: 2.004 MB / 261.8 MB, free: 14.64 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [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.002403/0.002403, allocations: 67.89 kB / 385.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1128, allocations: 54.14 MB / 439.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.3184/0.4312, allocations: 45.39 MB / 485.2 MB, free: 49.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02171/0.4529, allocations: 25.15 MB / 0.4984 GB, free: 47.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.4536, allocations: 0 / 0.4984 GB, free: 47.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.4552, allocations: 0.5038 MB / 0.4989 GB, free: 47.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.4621, allocations: 2.183 MB / 0.501 GB, free: 46.36 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008649/0.4708, allocations: 2.896 MB / 0.5038 GB, free: 44.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.4722, allocations: 0.9357 MB / 0.5047 GB, free: 44.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4723, allocations: 26.36 kB / 0.5048 GB, free: 44.53 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.7182/1.19, allocations: 52.01 MB / 0.5556 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/1.191, allocations: 277.7 kB / 0.5558 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/1.191, allocations: 40 kB / 0.5559 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.226/1.417, allocations: 27.39 MB / 0.5826 GB, free: 6.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/1.417, allocations: 110.6 kB / 0.5827 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/1.418, allocations: 277.1 kB / 0.583 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004889/1.423, allocations: 1.857 MB / 0.5848 GB, free: 4.289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.423, allocations: 0.9375 kB / 0.5848 GB, free: 4.289 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/1.423, allocations: 0 / 0.5848 GB, free: 4.289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/1.423, allocations: 0 / 0.5848 GB, free: 4.289 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.00153/1.424, allocations: 1.047 MB / 0.5858 GB, free: 3.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/1.424, allocations: 12.03 kB / 0.5858 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.426, allocations: 0.4938 MB / 0.5863 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/1.429, allocations: 276.9 kB / 0.5866 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/1.429, allocations: 46 kB / 0.5866 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/1.429, allocations: 56 kB / 0.5867 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/1.431, allocations: 0.9807 MB / 0.5876 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.431, allocations: 3.938 kB / 0.5876 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/1.431, allocations: 32 kB / 0.5877 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.431, allocations: 29.81 kB / 0.5877 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.433, allocations: 0.7147 MB / 0.5884 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/1.436, allocations: 2.676 MB / 0.591 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/1.437, allocations: 277 kB / 0.5913 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/1.437, allocations: 151.2 kB / 0.5914 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.438, allocations: 0.8722 MB / 0.5923 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.438, allocations: 34.56 kB / 0.5923 GB, free: 12.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 1.793e-06/1.438, allocations: 0 / 0.5923 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.00159/1.44, allocations: 0.6043 MB / 0.5929 GB, free: 12.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.44, allocations: 89.11 kB / 0.593 GB, free: 12.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/1.441, allocations: 190.7 kB / 0.5932 GB, free: 12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/1.441, allocations: 33.64 kB / 0.5932 GB, free: 11.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.441, allocations: 296.4 kB / 0.5935 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/1.442, allocations: 241.8 kB / 0.5937 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.442, allocations: 101.9 kB / 0.5938 GB, free: 11.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/1.442, allocations: 338.8 kB / 0.5941 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.442, allocations: 121.3 kB / 0.5942 GB, free: 10.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/1.443, allocations: 300 kB / 0.5945 GB, free: 10.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/1.443, allocations: 480.8 kB / 0.595 GB, free: 9.941 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.443, allocations: 8 kB / 0.595 GB, free: 9.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008549/1.444, allocations: 484.7 kB / 0.5954 GB, free: 9.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.444, allocations: 8 kB / 0.5955 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.444, allocations: 4 kB / 0.5955 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.444, allocations: 11.94 kB / 0.5955 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/1.444, allocations: 75.84 kB / 0.5955 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.444, allocations: 16.12 kB / 0.5956 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/1.445, allocations: 63.47 kB / 0.5956 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.445, allocations: 23.94 kB / 0.5956 GB, free: 9.254 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): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002252/1.445, allocations: 190 kB / 0.5958 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/1.445, allocations: 27.81 kB / 0.5958 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/1.445, allocations: 30.64 kB / 0.5959 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.445, allocations: 7.938 kB / 0.5959 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.445, allocations: 0 / 0.5959 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.445, allocations: 0 / 0.5959 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/1.446, allocations: 347.6 kB / 0.5962 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.446, allocations: 4 kB / 0.5962 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.446, allocations: 27.92 kB / 0.5962 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.446, allocations: 3.938 kB / 0.5963 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/1.446, allocations: 12 kB / 0.5963 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.446, allocations: 0 / 0.5963 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.446, allocations: 3.938 kB / 0.5963 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/1.446, allocations: 0.5062 MB / 0.5968 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/1.447, allocations: 31.69 kB / 0.5968 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.447, allocations: 8 kB / 0.5968 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/1.447, allocations: 7.984 kB / 0.5968 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/1.447, allocations: 23.86 kB / 0.5968 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.447, allocations: 7.984 kB / 0.5968 GB, free: 7.973 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000123/1.447, allocations: 127.2 kB / 0.597 GB, free: 7.848 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.447, allocations: 0 / 0.597 GB, free: 7.848 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000748/1.448, allocations: 191.5 kB / 0.5971 GB, free: 7.66 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006406/1.448, allocations: 300.9 kB / 0.5974 GB, free: 7.355 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/1.449, allocations: 0.5495 MB / 0.598 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.449, allocations: 3.938 kB / 0.598 GB, free: 6.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005775/1.45, allocations: 464 kB / 0.5984 GB, free: 6.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.451, allocations: 195.2 kB / 0.5986 GB, free: 6.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/1.453, allocations: 1.053 MB / 0.5996 GB, free: 4.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/1.453, allocations: 352.7 kB / 0.6 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/1.454, allocations: 257.9 kB / 0.6002 GB, free: 4.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/1.454, allocations: 44.5 kB / 0.6003 GB, free: 4.328 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/1.454, allocations: 0 / 0.6003 GB, free: 4.328 MB / 478.1 MB Notification: Performance of Templates: time 0.02284/1.477, allocations: 10.73 MB / 0.6107 GB, free: 9.609 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.4054666190641] Failed to read output from testmodel.py, exit status != 0: 1.4861093809595332 1.501501755 0.07519200300000001 Calling exit ...