Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001367, allocations: 106.8 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.001385/0.001385, allocations: 193.1 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01255/0.01255, allocations: 2.779 MB / 293.9 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 63.91 kB / 355.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 50.22 MB / 406.1 MB, free: 32.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.06529/0.3007, allocations: 82.94 MB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2267/0.5275, allocations: 40.72 MB / 0.5173 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.5289, allocations: 4.125 kB / 0.5173 GB, free: 444 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.5335, allocations: 1.242 MB / 0.5185 GB, free: 436 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02053/0.554, allocations: 6.961 MB / 0.5253 GB, free: 260 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.555, allocations: 276.7 kB / 0.5256 GB, free: 252 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.5569, allocations: 1.345 MB / 0.5269 GB, free: 252 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.5572, allocations: 109.9 kB / 0.527 GB, free: 200 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.558, allocations: 423.7 kB / 0.5274 GB, free: 200 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.5586, allocations: 0.4937 MB / 0.5279 GB, free: 200 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.5587, allocations: 37.78 kB / 0.5279 GB, free: 200 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176/1.735, allocations: 167 MB / 0.691 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/1.735, allocations: 155 kB / 0.6912 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/1.736, allocations: 0.5931 MB / 0.6917 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/1.748, allocations: 2.769 MB / 0.6944 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.748, allocations: 0 / 0.6944 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/1.748, allocations: 0 / 0.6944 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.561e-05/1.748, allocations: 7.281 kB / 0.6945 GB, free: 2.227 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.002067/1.75, allocations: 1.58 MB / 0.696 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.75, allocations: 8.031 kB / 0.696 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/1.755, allocations: 1.211 MB / 0.6972 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1931/1.948, allocations: 284.6 kB / 0.6975 GB, free: 247.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/1.948, allocations: 73.81 kB / 0.6975 GB, free: 247.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/1.949, allocations: 92.44 kB / 0.6976 GB, free: 247.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/1.951, allocations: 1.701 MB / 0.6993 GB, free: 247.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.951, allocations: 3.969 kB / 0.6993 GB, free: 247.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/1.951, allocations: 39.94 kB / 0.6993 GB, free: 247.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-05/1.951, allocations: 68.83 kB / 0.6994 GB, free: 247.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/1.953, allocations: 1.613 MB / 0.701 GB, free: 246.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005794/1.959, allocations: 8.559 MB / 0.7093 GB, free: 238.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/1.96, allocations: 0.7704 MB / 0.7101 GB, free: 238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/1.961, allocations: 0.7386 MB / 0.7108 GB, free: 237.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/1.962, allocations: 2.35 MB / 0.7131 GB, free: 235.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/1.962, allocations: 38.5 kB / 0.7131 GB, free: 235.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 1.954e-06/1.962, allocations: 0 / 0.7131 GB, free: 235.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=182): time 0.002524/1.965, allocations: 1.513 MB / 0.7146 GB, free: 234.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/1.965, allocations: 85.02 kB / 0.7147 GB, free: 234.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.965, allocations: 129.3 kB / 0.7148 GB, free: 234.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/1.965, allocations: 29.7 kB / 0.7148 GB, free: 234.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.965, allocations: 396.2 kB / 0.7152 GB, free: 234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/1.966, allocations: 0.566 MB / 0.7158 GB, free: 233.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.966, allocations: 140 kB / 0.7159 GB, free: 233.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.14e-05/1.966, allocations: 313.1 kB / 0.7162 GB, free: 233.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/1.966, allocations: 343.6 kB / 0.7165 GB, free: 233 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/1.967, allocations: 497.5 kB / 0.717 GB, free: 232.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/1.967, allocations: 1.021 MB / 0.718 GB, free: 232 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.967, allocations: 0 / 0.718 GB, free: 232 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001136/1.969, allocations: 1.051 MB / 0.719 GB, free: 231.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.969, allocations: 11.89 kB / 0.719 GB, free: 231.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.969, allocations: 3.969 kB / 0.719 GB, free: 231.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.969, allocations: 3.938 kB / 0.719 GB, free: 231.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/1.969, allocations: 27.66 kB / 0.7191 GB, free: 231.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.969, allocations: 11.89 kB / 0.7191 GB, free: 231.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/1.969, allocations: 90.44 kB / 0.7192 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/1.969, allocations: 23.78 kB / 0.7192 GB, free: 231.3 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.0002826/1.969, allocations: 219.5 kB / 0.7194 GB, free: 231.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/1.969, allocations: 43.16 kB / 0.7194 GB, free: 231.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/1.97, allocations: 31.8 kB / 0.7195 GB, free: 231.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.97, allocations: 7.984 kB / 0.7195 GB, free: 231 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.97, allocations: 7.906 kB / 0.7195 GB, free: 231 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.97, allocations: 0 / 0.7195 GB, free: 231 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/1.971, allocations: 1.041 MB / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.971, allocations: 0 / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/1.971, allocations: 8 kB / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.971, allocations: 3.938 kB / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/1.971, allocations: 16 kB / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.971, allocations: 0 / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.971, allocations: 7.875 kB / 0.7205 GB, free: 230 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.972, allocations: 1.188 MB / 0.7217 GB, free: 228.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/1.972, allocations: 148.1 kB / 0.7218 GB, free: 228.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/1.972, allocations: 4 kB / 0.7218 GB, free: 228.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.972, allocations: 4 kB / 0.7218 GB, free: 228.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/1.972, allocations: 23.92 kB / 0.7219 GB, free: 228.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/1.972, allocations: 16 kB / 0.7219 GB, free: 228.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.399e-05/1.972, allocations: 98.44 kB / 0.722 GB, free: 228.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/1.972, allocations: 3.75 kB / 0.722 GB, free: 228.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009292/1.973, allocations: 384.4 kB / 0.7223 GB, free: 228.1 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.0008539/1.974, allocations: 0.5315 MB / 0.7229 GB, free: 227.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.975, allocations: 1.738 MB / 0.7246 GB, free: 225.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.975, allocations: 3.438 kB / 0.7246 GB, free: 225.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008864/1.976, allocations: 1.821 MB / 0.7263 GB, free: 223.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.978, allocations: 463.8 kB / 0.7268 GB, free: 223.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/1.981, allocations: 2.106 MB / 0.7288 GB, free: 221.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/1.981, allocations: 1.301 MB / 0.7301 GB, free: 219.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005684/1.982, allocations: 178.1 kB / 0.7303 GB, free: 219.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.982, allocations: 75.44 kB / 0.7304 GB, free: 219.6 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/1.982, allocations: 0 / 0.7304 GB, free: 219.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.03667/2.019, allocations: 26.6 MB / 0.7563 GB, free: 194.2 MB / 0.5137 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)