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.0007888/0.0007889, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.000917/0.0009168, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1575/0.1575, allocations: 2.779 MB / 293.9 MB, free: 4.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 8 kB / 355.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09373, allocations: 51.25 MB / 406.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2089/0.3027, allocations: 46.62 MB / 453.5 MB, free: 24.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3206, allocations: 26.72 MB / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.3214, allocations: 2.688 kB / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.3228, allocations: 0.5484 MB / 480.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005919/0.3287, allocations: 1.941 MB / 482.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008306/0.3371, allocations: 2.511 MB / 485.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3383, allocations: 0.871 MB / 486.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3385, allocations: 54.16 kB / 486.1 MB, free: 1.773 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.2848/0.6233, allocations: 43.5 MB / 0.5172 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007345/0.6241, allocations: 290.7 kB / 0.5175 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.6242, allocations: 20 kB / 0.5175 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04/0.6642, allocations: 23.24 MB / 0.5402 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.6644, allocations: 87.53 kB / 0.5403 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.6648, allocations: 157.4 kB / 0.5405 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.6673, allocations: 1.348 MB / 0.5418 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6673, allocations: 0 / 0.5418 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6673, allocations: 0 / 0.5418 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.6673, allocations: 4 kB / 0.5418 GB, free: 13.75 MB / 414.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.001546/0.6689, allocations: 0.9984 MB / 0.5428 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.6689, allocations: 12.03 kB / 0.5428 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.6709, allocations: 0.4995 MB / 0.5433 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.6713, allocations: 338.1 kB / 0.5436 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.6714, allocations: 53.25 kB / 0.5436 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.6715, allocations: 56 kB / 0.5437 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6729, allocations: 0.8801 MB / 0.5445 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6729, allocations: 0 / 0.5445 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.673, allocations: 24 kB / 0.5446 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.673, allocations: 39.97 kB / 0.5446 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.6743, allocations: 0.7118 MB / 0.5453 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.6782, allocations: 5.143 MB / 0.5503 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.6789, allocations: 333.7 kB / 0.5506 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.6792, allocations: 221.7 kB / 0.5509 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.6807, allocations: 1.539 MB / 0.5524 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6808, allocations: 42.52 kB / 0.5524 GB, free: 1.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 2.424e-06/0.6808, allocations: 0 / 0.5524 GB, free: 1.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.00148/0.6823, allocations: 0.6041 MB / 0.553 GB, free: 1.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.6823, allocations: 85.09 kB / 0.5531 GB, free: 1.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.6825, allocations: 190.1 kB / 0.5532 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.6825, allocations: 25.7 kB / 0.5533 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.6827, allocations: 287.5 kB / 0.5535 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6829, allocations: 224.6 kB / 0.5538 GB, free: 492 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.6829, allocations: 4 kB / 0.5538 GB, free: 488 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.683, allocations: 350.7 kB / 0.5541 GB, free: 128 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.6832, allocations: 121.3 kB / 0.5542 GB, free: 4 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.6836, allocations: 304.1 kB / 0.5545 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.6839, allocations: 187.6 kB / 0.5547 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6839, allocations: 0 / 0.5547 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007402/0.6846, allocations: 496.6 kB / 0.5552 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6847, allocations: 12.08 kB / 0.5552 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6847, allocations: 8 kB / 0.5552 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6847, allocations: 8 kB / 0.5552 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.6851, allocations: 83.89 kB / 0.5553 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006071/0.6857, allocations: 1.184 MB / 0.5564 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.6861, allocations: 83.39 kB / 0.5565 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.6861, allocations: 20 kB / 0.5565 GB, free: 13.51 MB / 430.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.baseProperties.phaseOutput,medium2.completeState.state.phase,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.6864, allocations: 189.7 kB / 0.5567 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.6865, allocations: 31.53 kB / 0.5567 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.6881, allocations: 1.342 MB / 0.558 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001419/0.6895, allocations: 1.15 MB / 0.5592 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.6895, allocations: 0 / 0.5592 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.6895, allocations: 7.984 kB / 0.5592 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.6927, allocations: 2.507 MB / 0.5616 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6928, allocations: 4 kB / 0.5616 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.6931, allocations: 107.9 kB / 0.5617 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.6935, allocations: 315.4 kB / 0.562 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.6936, allocations: 12 kB / 0.562 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007609/0.6943, allocations: 1.257 MB / 0.5633 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6943, allocations: 0 / 0.5633 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6956, allocations: 1.173 MB / 0.5644 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.6958, allocations: 136.3 kB / 0.5645 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.6959, allocations: 12 kB / 0.5646 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.6962, allocations: 95.42 kB / 0.5646 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.6963, allocations: 43.94 kB / 0.5647 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.6964, allocations: 16 kB / 0.5647 GB, free: 4.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.6965, allocations: 128.2 kB / 0.5648 GB, free: 4.812 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6965, allocations: 4 kB / 0.5648 GB, free: 4.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007881/0.6973, allocations: 223.4 kB / 0.565 GB, free: 4.59 MB / 430.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: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005289/0.6978, allocations: 307.5 kB / 0.5653 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.699, allocations: 0.7804 MB / 0.5661 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.699, allocations: 8 kB / 0.5661 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.6995, allocations: 374.1 kB / 0.5665 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.7011, allocations: 338.1 kB / 0.5668 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.7033, allocations: 1.643 MB / 0.5684 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.7039, allocations: 0.9638 MB / 0.5693 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004523/0.7043, allocations: 123.4 kB / 0.5694 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.7044, allocations: 55.48 kB / 0.5695 GB, free: 15.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.704e-06/0.7045, allocations: 0 / 0.5695 GB, free: 15.97 MB / 446.1 MB Notification: Performance of Templates: time 0.02144/0.7259, allocations: 12.3 MB / 0.5815 GB, free: 3.93 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: