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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005846/0.005846, allocations: 105.4 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1307/0.1307, allocations: 2.764 MB / 293.3 MB, free: 3.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 55.91 kB / 405.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3111, allocations: 50.23 MB / 456.1 MB, free: 21.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.04476/0.3559, allocations: 50.75 MB / 0.495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0276/0.3836, allocations: 29.1 MB / 0.5234 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.3847, allocations: 7.938 kB / 0.5234 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.387, allocations: 0.6175 MB / 0.5241 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.3975, allocations: 2.242 MB / 0.5262 GB, free: 2.117 MB / 398.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.01322/0.4107, allocations: 2.933 MB / 0.5291 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.4127, allocations: 0.9287 MB / 0.53 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.4128, allocations: 65.73 kB / 0.5301 GB, free: 14.16 MB / 414.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.5878/1.001, allocations: 51.7 MB / 0.5806 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/1.001, allocations: 310.6 kB / 0.5809 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/1.001, allocations: 36 kB / 0.5809 GB, free: 11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.357/1.358, allocations: 27.24 MB / 0.6075 GB, free: 64.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/1.359, allocations: 113 kB / 0.6076 GB, free: 64.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000743/1.359, allocations: 341.6 kB / 0.6079 GB, free: 64.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/1.37, allocations: 1.856 MB / 0.6097 GB, free: 64.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/1.37, allocations: 0 / 0.6097 GB, free: 64.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.469e-06/1.37, allocations: 1.188 kB / 0.6097 GB, free: 64.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.179e-05/1.37, allocations: 2.734 kB / 0.6098 GB, free: 64.58 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.002431/1.373, allocations: 1.108 MB / 0.6108 GB, free: 63.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.373, allocations: 9.562 kB / 0.6108 GB, free: 63.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/1.375, allocations: 0.4919 MB / 0.6113 GB, free: 63.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/1.379, allocations: 336.4 kB / 0.6116 GB, free: 63.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/1.379, allocations: 48.75 kB / 0.6117 GB, free: 63.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.38, allocations: 53.06 kB / 0.6117 GB, free: 63.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/1.381, allocations: 0.8719 MB / 0.6126 GB, free: 63.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.381, allocations: 4.062 kB / 0.6126 GB, free: 63.56 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/1.381, allocations: 25.38 kB / 0.6126 GB, free: 63.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/1.381, allocations: 34.45 kB / 0.6127 GB, free: 63.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/1.383, allocations: 0.7048 MB / 0.6133 GB, free: 63.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/1.387, allocations: 5.117 MB / 0.6183 GB, free: 59.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/1.388, allocations: 332.8 kB / 0.6187 GB, free: 59.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/1.388, allocations: 223 kB / 0.6189 GB, free: 59.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.39, allocations: 1.541 MB / 0.6204 GB, free: 58.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/1.39, allocations: 33.56 kB / 0.6204 GB, free: 58.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/1.39, allocations: 0 / 0.6204 GB, free: 58.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001553/1.391, allocations: 0.6 MB / 0.621 GB, free: 57.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/1.391, allocations: 88.05 kB / 0.6211 GB, free: 57.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/1.391, allocations: 184.7 kB / 0.6213 GB, free: 57.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/1.391, allocations: 27.48 kB / 0.6213 GB, free: 57.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/1.392, allocations: 289.5 kB / 0.6216 GB, free: 57.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.392, allocations: 233.2 kB / 0.6218 GB, free: 57.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.392, allocations: 92.72 kB / 0.6219 GB, free: 57.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/1.392, allocations: 342.3 kB / 0.6222 GB, free: 57.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/1.392, allocations: 121.5 kB / 0.6223 GB, free: 57.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/1.392, allocations: 310.3 kB / 0.6226 GB, free: 56.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/1.393, allocations: 486.3 kB / 0.6231 GB, free: 56.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.393, allocations: 1.469 kB / 0.6231 GB, free: 56.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007938/1.394, allocations: 494.6 kB / 0.6235 GB, free: 56.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.394, allocations: 7 kB / 0.6235 GB, free: 56.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.394, allocations: 14.19 kB / 0.6236 GB, free: 56.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/1.394, allocations: 11.69 kB / 0.6236 GB, free: 56.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/1.394, allocations: 80.84 kB / 0.6236 GB, free: 56.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004027/1.395, allocations: 1.18 MB / 0.6248 GB, free: 55.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/1.395, allocations: 61.55 kB / 0.6249 GB, free: 55.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/1.395, allocations: 24 kB / 0.6249 GB, free: 55.3 MB / 462.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.0002213/1.395, allocations: 191.5 kB / 0.6251 GB, free: 55.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/1.395, allocations: 26.59 kB / 0.6251 GB, free: 55.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/1.395, allocations: 30.08 kB / 0.6251 GB, free: 55.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.395, allocations: 5.891 kB / 0.6251 GB, free: 55.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.395, allocations: 7.625 kB / 0.6251 GB, free: 55.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.395, allocations: 0.9688 kB / 0.6251 GB, free: 55.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/1.396, allocations: 0.494 MB / 0.6256 GB, free: 54.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.396, allocations: 4 kB / 0.6256 GB, free: 54.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/1.396, allocations: 44.78 kB / 0.6257 GB, free: 54.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.396, allocations: 1.531 kB / 0.6257 GB, free: 54.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.396, allocations: 6.781 kB / 0.6257 GB, free: 54.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003069/1.397, allocations: 1.167 MB / 0.6268 GB, free: 53.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.397, allocations: 0.7188 kB / 0.6268 GB, free: 53.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/1.397, allocations: 0.5196 MB / 0.6273 GB, free: 53.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/1.397, allocations: 111 kB / 0.6274 GB, free: 53.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/1.397, allocations: 3.5 kB / 0.6274 GB, free: 53.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.398, allocations: 11.97 kB / 0.6274 GB, free: 53.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/1.398, allocations: 17.16 kB / 0.6275 GB, free: 53.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/1.398, allocations: 8.594 kB / 0.6275 GB, free: 53.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8e-05/1.398, allocations: 121.9 kB / 0.6276 GB, free: 53.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.398, allocations: 0 / 0.6276 GB, free: 53.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007533/1.398, allocations: 191.2 kB / 0.6278 GB, free: 53.29 MB / 462.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.0005172/1.399, allocations: 312.8 kB / 0.6281 GB, free: 53.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009215/1.4, allocations: 0.6236 MB / 0.6287 GB, free: 52.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.4, allocations: 0.8438 kB / 0.6287 GB, free: 52.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/1.4, allocations: 0.5093 MB / 0.6292 GB, free: 52.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/1.401, allocations: 188.5 kB / 0.6293 GB, free: 52.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.403, allocations: 1.047 MB / 0.6304 GB, free: 52.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/1.403, allocations: 0.9478 MB / 0.6313 GB, free: 51.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004336/1.404, allocations: 219.6 kB / 0.6315 GB, free: 51.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/1.404, allocations: 43.12 kB / 0.6315 GB, free: 51.32 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/1.404, allocations: 3.562 kB / 0.6315 GB, free: 51.32 MB / 462.1 MB Notification: Performance of Templates: time 0.01692/1.421, allocations: 11.35 MB / 0.6426 GB, free: 43.24 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile (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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)