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.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001084/0.001084, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1146/0.1146, allocations: 2.763 MB / 292.8 MB, free: 3.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 353.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09786, allocations: 50.23 MB / 404.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2207/0.3186, allocations: 82.27 MB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03128/0.3499, allocations: 40.39 MB / 0.5145 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.351, allocations: 4.812 kB / 0.5145 GB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.354, allocations: 1.154 MB / 0.5156 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02062/0.3747, allocations: 6.409 MB / 0.5218 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3757, allocations: 263.8 kB / 0.5221 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.3776, allocations: 1.331 MB / 0.5234 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3777, allocations: 108 kB / 0.5235 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.3782, allocations: 414 kB / 0.5239 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.3787, allocations: 0.4909 MB / 0.5244 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.3788, allocations: 38.03 kB / 0.5244 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688/3.067, allocations: 167.7 MB / 0.6881 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/3.067, allocations: 147.2 kB / 0.6883 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/3.068, allocations: 0.5963 MB / 0.6889 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/3.08, allocations: 2.716 MB / 0.6915 GB, free: 10.24 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/3.08, allocations: 2.906 kB / 0.6915 GB, free: 10.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.072e-06/3.08, allocations: 3.938 kB / 0.6915 GB, free: 10.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/3.08, allocations: 0 / 0.6915 GB, free: 10.23 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001749/3.082, allocations: 1.585 MB / 0.6931 GB, free: 8.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/3.082, allocations: 8.031 kB / 0.6931 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004176/3.086, allocations: 1.212 MB / 0.6943 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/3.086, allocations: 285 kB / 0.6945 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/3.086, allocations: 72.06 kB / 0.6946 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/3.086, allocations: 92.25 kB / 0.6947 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/3.088, allocations: 1.705 MB / 0.6963 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/3.088, allocations: 4 kB / 0.6964 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/3.088, allocations: 38.62 kB / 0.6964 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/3.088, allocations: 74.73 kB / 0.6965 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/3.09, allocations: 1.601 MB / 0.698 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005424/3.095, allocations: 8.597 MB / 0.7064 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/3.096, allocations: 0.7695 MB / 0.7072 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009259/3.097, allocations: 0.7377 MB / 0.7079 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/3.099, allocations: 2.354 MB / 0.7102 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/3.099, allocations: 34.56 kB / 0.7102 GB, free: 10.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 2.134e-06/3.099, allocations: 0 / 0.7102 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.001759/3.101, allocations: 1.517 MB / 0.7117 GB, free: 9.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/3.101, allocations: 81.11 kB / 0.7118 GB, free: 9.375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/3.101, allocations: 132.3 kB / 0.7119 GB, free: 9.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/3.101, allocations: 27.08 kB / 0.7119 GB, free: 9.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/3.101, allocations: 395 kB / 0.7123 GB, free: 8.848 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/3.102, allocations: 0.5677 MB / 0.7129 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/3.102, allocations: 136.1 kB / 0.713 GB, free: 8.242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/3.102, allocations: 310 kB / 0.7133 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/3.102, allocations: 336.9 kB / 0.7136 GB, free: 7.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/3.103, allocations: 499.4 kB / 0.7141 GB, free: 7.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/3.104, allocations: 1.025 MB / 0.7151 GB, free: 6.188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/3.104, allocations: 4 kB / 0.7151 GB, free: 6.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001249/3.105, allocations: 1.045 MB / 0.7161 GB, free: 5.152 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/3.105, allocations: 11.09 kB / 0.7161 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/3.105, allocations: 4.641 kB / 0.7161 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/3.105, allocations: 8 kB / 0.7161 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/3.105, allocations: 35.08 kB / 0.7162 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/3.105, allocations: 7.984 kB / 0.7162 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/3.106, allocations: 122.8 kB / 0.7163 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/3.106, allocations: 20 kB / 0.7163 GB, free: 4.953 MB / 478.1 MB 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.0003178/3.106, allocations: 219.1 kB / 0.7165 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/3.106, allocations: 55.19 kB / 0.7166 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/3.109, allocations: 3.092 MB / 0.7196 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002132/3.112, allocations: 1.838 MB / 0.7214 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/3.112, allocations: 0 / 0.7214 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/3.112, allocations: 11.97 kB / 0.7214 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/3.117, allocations: 4.561 MB / 0.7259 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/3.118, allocations: 4 kB / 0.7259 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/3.118, allocations: 238.6 kB / 0.7261 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/3.118, allocations: 8 kB / 0.7261 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/3.118, allocations: 28 kB / 0.7261 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/3.118, allocations: 8 kB / 0.7261 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.118, allocations: 7.125 kB / 0.7261 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/3.12, allocations: 1.952 MB / 0.728 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/3.121, allocations: 238.9 kB / 0.7283 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/3.121, allocations: 39.84 kB / 0.7283 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/3.122, allocations: 146.9 kB / 0.7284 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/3.122, allocations: 97.47 kB / 0.7285 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/3.122, allocations: 40 kB / 0.7286 GB, free: 8.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000223/3.122, allocations: 239 kB / 0.7288 GB, free: 8.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/3.122, allocations: 3.562 kB / 0.7288 GB, free: 8.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001095/3.123, allocations: 459 kB / 0.7292 GB, free: 7.656 MB / 494.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: 20 (state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,state2.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.0008108/3.124, allocations: 0.566 MB / 0.7298 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003703/3.128, allocations: 2.12 MB / 0.7319 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/3.128, allocations: 3.938 kB / 0.7319 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009613/3.129, allocations: 0.9387 MB / 0.7328 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/3.133, allocations: 0.9395 MB / 0.7337 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/3.137, allocations: 3.94 MB / 0.7376 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/3.138, allocations: 1.328 MB / 0.7389 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007831/3.139, allocations: 179.2 kB / 0.739 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/3.139, allocations: 95.44 kB / 0.7391 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/3.139, allocations: 0 / 0.7391 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.2011/3.34, allocations: 35.58 MB / 0.7739 GB, free: 217.1 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)