Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 105 kB / 16.27 MB, free: 6.41 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.00166/0.00166, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0119/0.0119, allocations: 2.78 MB / 293.8 MB, free: 12.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2064, allocations: 50.23 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.06761/0.274, allocations: 82.93 MB / 488.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2522/0.5263, allocations: 40.72 MB / 0.5166 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.5277, allocations: 4.125 kB / 0.5166 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.5306, allocations: 1.238 MB / 0.5178 GB, free: 448 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01966/0.5503, allocations: 6.969 MB / 0.5246 GB, free: 272 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5513, allocations: 268 kB / 0.5248 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.5532, allocations: 1.338 MB / 0.5261 GB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.5535, allocations: 112.5 kB / 0.5263 GB, free: 208 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.5544, allocations: 421 kB / 0.5267 GB, free: 208 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.555, allocations: 0.4913 MB / 0.5271 GB, free: 208 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.5551, allocations: 40.73 kB / 0.5272 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304/1.859, allocations: 167.7 MB / 0.6909 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/1.859, allocations: 148.5 kB / 0.6911 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/1.861, allocations: 0.6021 MB / 0.6916 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/1.872, allocations: 2.725 MB / 0.6943 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.872, allocations: 0 / 0.6943 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/1.872, allocations: 0 / 0.6943 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.06e-05/1.873, allocations: 0 / 0.6943 GB, free: 1.703 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.002101/1.875, allocations: 1.58 MB / 0.6958 GB, free: 288 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.875, allocations: 16.03 kB / 0.6959 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1409/2.016, allocations: 1.209 MB / 0.697 GB, free: 248.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/2.016, allocations: 286.8 kB / 0.6973 GB, free: 248.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/2.016, allocations: 74.5 kB / 0.6974 GB, free: 248.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/2.016, allocations: 93 kB / 0.6975 GB, free: 248.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/2.018, allocations: 1.699 MB / 0.6991 GB, free: 247.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/2.018, allocations: 0 / 0.6991 GB, free: 247.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/2.018, allocations: 43.84 kB / 0.6992 GB, free: 247.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/2.018, allocations: 71.5 kB / 0.6992 GB, free: 247.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/2.02, allocations: 1.61 MB / 0.7008 GB, free: 246.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/2.025, allocations: 8.627 MB / 0.7092 GB, free: 238.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/2.026, allocations: 0.7647 MB / 0.71 GB, free: 238.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005867/2.027, allocations: 0.7375 MB / 0.7107 GB, free: 237.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/2.028, allocations: 2.357 MB / 0.713 GB, free: 235.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/2.028, allocations: 38.55 kB / 0.713 GB, free: 235.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 2.094e-06/2.028, allocations: 0 / 0.713 GB, free: 235.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=182): time 0.009502/2.038, allocations: 1.515 MB / 0.7145 GB, free: 234.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/2.038, allocations: 77.11 kB / 0.7146 GB, free: 234.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/2.038, allocations: 137.2 kB / 0.7147 GB, free: 234.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/2.038, allocations: 29.7 kB / 0.7148 GB, free: 234.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/2.038, allocations: 392.1 kB / 0.7151 GB, free: 234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/2.038, allocations: 0.5679 MB / 0.7157 GB, free: 233.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/2.039, allocations: 140.7 kB / 0.7158 GB, free: 233.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/2.039, allocations: 306 kB / 0.7161 GB, free: 233.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/2.039, allocations: 340.1 kB / 0.7164 GB, free: 232.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/2.039, allocations: 495.9 kB / 0.7169 GB, free: 232.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/2.04, allocations: 1.021 MB / 0.7179 GB, free: 231.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/2.04, allocations: 0 / 0.7179 GB, free: 231.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001155/2.041, allocations: 1.047 MB / 0.7189 GB, free: 230.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.041, allocations: 8 kB / 0.7189 GB, free: 230.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/2.042, allocations: 7.938 kB / 0.7189 GB, free: 230.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/2.042, allocations: 4 kB / 0.7189 GB, free: 230.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/2.042, allocations: 35.67 kB / 0.719 GB, free: 230.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/2.042, allocations: 4 kB / 0.719 GB, free: 230.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/2.042, allocations: 94.72 kB / 0.7191 GB, free: 230.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/2.042, allocations: 23.98 kB / 0.7191 GB, free: 230.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003141/2.042, allocations: 223.2 kB / 0.7193 GB, free: 230.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/2.042, allocations: 44.66 kB / 0.7194 GB, free: 230.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/2.043, allocations: 35.83 kB / 0.7194 GB, free: 230.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/2.043, allocations: 11.58 kB / 0.7194 GB, free: 230.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.043, allocations: 4 kB / 0.7194 GB, free: 230.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/2.043, allocations: 0 / 0.7194 GB, free: 230.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/2.043, allocations: 1.038 MB / 0.7204 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/2.044, allocations: 0 / 0.7204 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/2.044, allocations: 11.92 kB / 0.7204 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/2.044, allocations: 4 kB / 0.7204 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/2.044, allocations: 15.94 kB / 0.7204 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/2.044, allocations: 0 / 0.7204 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.044, allocations: 11.34 kB / 0.7205 GB, free: 229.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/2.045, allocations: 1.184 MB / 0.7216 GB, free: 227.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/2.045, allocations: 144.1 kB / 0.7218 GB, free: 227.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/2.045, allocations: 12.58 kB / 0.7218 GB, free: 227.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/2.045, allocations: 4 kB / 0.7218 GB, free: 227.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/2.045, allocations: 19.33 kB / 0.7218 GB, free: 227.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/2.045, allocations: 20 kB / 0.7218 GB, free: 227.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.898e-05/2.045, allocations: 91.27 kB / 0.7219 GB, free: 227.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.122e-06/2.045, allocations: 0 / 0.7219 GB, free: 227.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008696/2.046, allocations: 387.1 kB / 0.7223 GB, free: 227.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007158/2.047, allocations: 0.5295 MB / 0.7228 GB, free: 226.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001408/2.048, allocations: 1.756 MB / 0.7245 GB, free: 225 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.048, allocations: 0 / 0.7245 GB, free: 225 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/2.049, allocations: 1.819 MB / 0.7263 GB, free: 222.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/2.051, allocations: 468.2 kB / 0.7267 GB, free: 222.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/2.054, allocations: 2.262 MB / 0.7289 GB, free: 220.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/2.055, allocations: 1.299 MB / 0.7302 GB, free: 218.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/2.055, allocations: 79.44 kB / 0.7303 GB, free: 218.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.924e-06/2.055, allocations: 0 / 0.7303 GB, free: 218.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.02086/2.076, allocations: 18.41 MB / 0.7482 GB, free: 201.6 MB / 0.5137 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)