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.001136/0.001136, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001146/0.001146, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01185/0.01185, allocations: 2.776 MB / 293.9 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 355.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1905, allocations: 50.23 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.06004/0.2506, allocations: 82.94 MB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2165/0.4671, allocations: 40.72 MB / 0.5173 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008264/0.468, allocations: 5.438 kB / 0.5173 GB, free: 464 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.4707, allocations: 1.238 MB / 0.5185 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01672/0.4874, allocations: 6.967 MB / 0.5253 GB, free: 280 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.4883, allocations: 272.5 kB / 0.5256 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.4899, allocations: 1.339 MB / 0.5269 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.4901, allocations: 108.1 kB / 0.527 GB, free: 224 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.4907, allocations: 420.2 kB / 0.5274 GB, free: 224 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.4913, allocations: 0.4975 MB / 0.5279 GB, free: 220 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.4913, allocations: 44.5 kB / 0.5279 GB, free: 216 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292/1.783, allocations: 169.1 MB / 0.6931 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/1.783, allocations: 152.4 kB / 0.6932 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/1.785, allocations: 0.5894 MB / 0.6938 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/1.796, allocations: 2.773 MB / 0.6965 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.796, allocations: 3.438 kB / 0.6965 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/1.796, allocations: 0 / 0.6965 GB, free: 256 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.323e-05/1.796, allocations: 0 / 0.6965 GB, free: 256 kB / 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.1562/1.953, allocations: 1.58 MB / 0.6981 GB, free: 248.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.953, allocations: 10.72 kB / 0.6981 GB, free: 248.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/1.957, allocations: 1.216 MB / 0.6993 GB, free: 248.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/1.957, allocations: 280 kB / 0.6995 GB, free: 248.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/1.957, allocations: 70.06 kB / 0.6996 GB, free: 248.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/1.957, allocations: 95.34 kB / 0.6997 GB, free: 248 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/1.959, allocations: 1.703 MB / 0.7013 GB, free: 247.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.959, allocations: 2.188 kB / 0.7014 GB, free: 247.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/1.959, allocations: 47.78 kB / 0.7014 GB, free: 247.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/1.959, allocations: 68.02 kB / 0.7015 GB, free: 247.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/1.961, allocations: 1.606 MB / 0.703 GB, free: 246.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/1.966, allocations: 8.56 MB / 0.7114 GB, free: 238.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/1.967, allocations: 0.7698 MB / 0.7121 GB, free: 237.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/1.967, allocations: 0.7411 MB / 0.7129 GB, free: 237.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/1.969, allocations: 2.345 MB / 0.7152 GB, free: 234.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/1.969, allocations: 34.53 kB / 0.7152 GB, free: 234.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 2.184e-06/1.969, allocations: 0 / 0.7152 GB, free: 234.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=182): time 0.009968/1.979, allocations: 1.519 MB / 0.7167 GB, free: 233.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.979, allocations: 82.64 kB / 0.7168 GB, free: 233.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/1.979, allocations: 130.5 kB / 0.7169 GB, free: 233.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.979, allocations: 27.8 kB / 0.7169 GB, free: 233.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.979, allocations: 400.9 kB / 0.7173 GB, free: 233.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/1.98, allocations: 0.5633 MB / 0.7178 GB, free: 232.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/1.98, allocations: 145.5 kB / 0.718 GB, free: 232.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/1.98, allocations: 306 kB / 0.7183 GB, free: 232.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/1.98, allocations: 341.3 kB / 0.7186 GB, free: 232 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/1.981, allocations: 494.8 kB / 0.7191 GB, free: 231.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/1.981, allocations: 1.014 MB / 0.7201 GB, free: 230.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.981, allocations: 0 / 0.7201 GB, free: 230.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001084/1.982, allocations: 1.066 MB / 0.7211 GB, free: 229.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.982, allocations: 4 kB / 0.7211 GB, free: 229.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.983, allocations: 7.938 kB / 0.7211 GB, free: 229.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.983, allocations: 5.5 kB / 0.7211 GB, free: 229.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.983, allocations: 31.92 kB / 0.7211 GB, free: 229.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.983, allocations: 7.938 kB / 0.7211 GB, free: 229.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/1.983, allocations: 82.81 kB / 0.7212 GB, free: 229.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/1.983, allocations: 20 kB / 0.7212 GB, free: 229.2 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.0002873/1.983, allocations: 219.8 kB / 0.7215 GB, free: 229 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/1.983, allocations: 55.23 kB / 0.7215 GB, free: 228.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/1.984, allocations: 35.83 kB / 0.7215 GB, free: 228.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.984, allocations: 7.984 kB / 0.7215 GB, free: 228.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.984, allocations: 3.938 kB / 0.7216 GB, free: 228.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.984, allocations: 0 / 0.7216 GB, free: 228.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/1.984, allocations: 1.038 MB / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.984, allocations: 0 / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/1.984, allocations: 7.969 kB / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.985, allocations: 4 kB / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/1.985, allocations: 19.92 kB / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.985, allocations: 7.938 kB / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.985, allocations: 0 / 0.7226 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.986, allocations: 1.181 MB / 0.7238 GB, free: 226.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/1.986, allocations: 151.9 kB / 0.7239 GB, free: 226.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.986, allocations: 15.38 kB / 0.7239 GB, free: 226.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/1.986, allocations: 0 / 0.7239 GB, free: 226.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/1.986, allocations: 23.98 kB / 0.7239 GB, free: 226.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/1.986, allocations: 15.98 kB / 0.724 GB, free: 226.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.598e-05/1.986, allocations: 91.28 kB / 0.724 GB, free: 226.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.986, allocations: 0 / 0.724 GB, free: 226.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009289/1.987, allocations: 382.6 kB / 0.7244 GB, free: 225.9 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.0007204/1.988, allocations: 0.5359 MB / 0.7249 GB, free: 225.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.989, allocations: 1.746 MB / 0.7266 GB, free: 223.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.989, allocations: 4 kB / 0.7266 GB, free: 223.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/1.99, allocations: 1.815 MB / 0.7284 GB, free: 221.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.992, allocations: 471.5 kB / 0.7289 GB, free: 221.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.994, allocations: 2.093 MB / 0.7309 GB, free: 219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/1.995, allocations: 1.297 MB / 0.7322 GB, free: 217.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005579/1.995, allocations: 174.3 kB / 0.7323 GB, free: 217.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.995, allocations: 79.44 kB / 0.7324 GB, free: 217.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/1.995, allocations: 0 / 0.7324 GB, free: 217.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.03563/2.031, allocations: 26.67 MB / 0.7585 GB, free: 192 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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)