Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001425/0.001425, allocations: 183 kB / 17.34 MB, free: 5.766 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01357/0.01357, allocations: 2.782 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.91 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1004, allocations: 50.24 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01145/0.1119, allocations: 9.003 MB / 465.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.1202, allocations: 8.575 MB / 474.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.1204, allocations: 4 kB / 474.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.1211, allocations: 163.1 kB / 474.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.1217, allocations: 99.28 kB / 474.7 MB, free: 8.863 MB / 350.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.005504/0.1273, allocations: 1.467 MB / 476.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.1278, allocations: 262.8 kB / 476.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.029e-05/0.1279, allocations: 13.67 kB / 476.4 MB, free: 7.121 MB / 350.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.3248/0.4527, allocations: 13.01 MB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.4529, allocations: 87.61 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.453, allocations: 8 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.4549, allocations: 479.9 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.455, allocations: 31.84 kB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.4551, allocations: 87.59 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4562, allocations: 0.5027 MB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4563, allocations: 7.938 kB / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4563, allocations: 0 / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4563, allocations: 0 / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008756/0.4572, allocations: 0.5495 MB / 491.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4572, allocations: 16.03 kB / 491.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.4576, allocations: 52.7 kB / 491.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.4578, allocations: 212 kB / 491.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.4578, allocations: 8.375 kB / 491.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.4579, allocations: 15.94 kB / 491.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.4584, allocations: 239.1 kB / 491.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4584, allocations: 4 kB / 491.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.4585, allocations: 7.984 kB / 491.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4585, allocations: 11.98 kB / 491.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.459, allocations: 196.3 kB / 491.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.4598, allocations: 0.6823 MB / 492.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.4604, allocations: 222.5 kB / 492.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4606, allocations: 153.1 kB / 493 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/0.4609, allocations: 327.2 kB / 493.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4609, allocations: 46.5 kB / 493.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.461, allocations: 0 / 493.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00277/0.4637, allocations: 1.213 MB / 494.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.4638, allocations: 51.41 kB / 494.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4639, allocations: 129.8 kB / 494.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4639, allocations: 29.7 kB / 494.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.464, allocations: 112.8 kB / 494.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.4641, allocations: 153.7 kB / 495 MB, free: 5.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.4642, allocations: 53.7 kB / 495.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4643, allocations: 334.8 kB / 495.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.4646, allocations: 124.5 kB / 495.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.4649, allocations: 189.2 kB / 495.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.4654, allocations: 344.8 kB / 496 MB, free: 4.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4654, allocations: 0 / 496 MB, free: 4.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001065/0.4665, allocations: 485.6 kB / 496.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4665, allocations: 4 kB / 496.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4665, allocations: 4 kB / 496.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/0.4673, allocations: 148.9 kB / 496.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4674, allocations: 39.92 kB / 496.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006392/0.4681, allocations: 0.6575 MB / 497.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.4682, allocations: 12.03 kB / 497.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.4683, allocations: 12 kB / 497.4 MB, free: 2.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.4684, allocations: 130.4 kB / 497.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.4685, allocations: 15.81 kB / 497.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.4686, allocations: 30.16 kB / 497.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.4686, allocations: 11.98 kB / 497.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4686, allocations: 0 / 497.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4686, allocations: 0 / 497.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.4689, allocations: 302.1 kB / 497.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.469, allocations: 0 / 497.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.4691, allocations: 35.97 kB / 497.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/0.4695, allocations: 76.67 kB / 498 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.4695, allocations: 7.938 kB / 498 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.4708, allocations: 1.556 MB / 499.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4709, allocations: 0 / 499.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.472, allocations: 0.6974 MB / 0.4885 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.472, allocations: 92.86 kB / 0.4886 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4721, allocations: 8.062 kB / 0.4886 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.4722, allocations: 11.98 kB / 0.4886 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.4723, allocations: 23.91 kB / 0.4886 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4723, allocations: 8 kB / 0.4886 GB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.4724, allocations: 95.97 kB / 0.4887 GB, free: 15.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4724, allocations: 0 / 0.4887 GB, free: 15.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.4728, allocations: 64 kB / 0.4888 GB, free: 15.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/0.4731, allocations: 188.8 kB / 0.489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.474, allocations: 365.9 kB / 0.4893 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.474, allocations: 0 / 0.4893 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.4746, allocations: 303 kB / 0.4896 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.4752, allocations: 98.58 kB / 0.4897 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4764, allocations: 0.685 MB / 0.4904 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4767, allocations: 0.7371 MB / 0.4911 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.4767, allocations: 23.44 kB / 0.4911 GB, free: 13.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4767, allocations: 0 / 0.4911 GB, free: 13.01 MB / 382.1 MB Notification: Performance of Templates: time 0.00583/0.4826, allocations: 3.566 MB / 0.4946 GB, free: 9.438 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)