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.001325/0.001325, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001561/0.001561, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1123/0.1123, allocations: 2.758 MB / 292.8 MB, free: 3.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 59.91 kB / 353.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 50.24 MB / 404.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2227/0.3323, allocations: 82.26 MB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03589/0.3683, allocations: 40.4 MB / 0.5145 GB, free: 372 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3695, allocations: 8.625 kB / 0.5145 GB, free: 368 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.3731, allocations: 1.15 MB / 0.5156 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01985/0.393, allocations: 6.415 MB / 0.5219 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3941, allocations: 248.2 kB / 0.5221 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.396, allocations: 1.335 MB / 0.5234 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.3963, allocations: 113.5 kB / 0.5235 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007805/0.3971, allocations: 427.3 kB / 0.5239 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.3983, allocations: 0.4897 MB / 0.5244 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.3985, allocations: 39.16 kB / 0.5244 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451/2.85, allocations: 165.5 MB / 0.6861 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/2.85, allocations: 152 kB / 0.6862 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/2.851, allocations: 0.5996 MB / 0.6868 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/2.861, allocations: 2.712 MB / 0.6895 GB, free: 12.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/2.861, allocations: 3.375 kB / 0.6895 GB, free: 12.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/2.861, allocations: 0 / 0.6895 GB, free: 12.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/2.861, allocations: 3.938 kB / 0.6895 GB, free: 12.11 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.002066/2.864, allocations: 1.58 MB / 0.691 GB, free: 10.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/2.864, allocations: 12.03 kB / 0.691 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/2.868, allocations: 1.211 MB / 0.6922 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/2.868, allocations: 281.6 kB / 0.6925 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/2.868, allocations: 67.62 kB / 0.6925 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/2.869, allocations: 95.5 kB / 0.6926 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/2.871, allocations: 1.703 MB / 0.6943 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/2.871, allocations: 3.938 kB / 0.6943 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/2.871, allocations: 42.86 kB / 0.6943 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/2.871, allocations: 75 kB / 0.6944 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/2.873, allocations: 1.608 MB / 0.696 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/2.88, allocations: 8.602 MB / 0.7044 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/2.88, allocations: 0.757 MB / 0.7051 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/2.881, allocations: 0.7471 MB / 0.7058 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/2.884, allocations: 2.354 MB / 0.7081 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/2.884, allocations: 34.56 kB / 0.7082 GB, free: 12.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 2.114e-06/2.884, allocations: 0 / 0.7082 GB, free: 12.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.001876/2.885, allocations: 1.509 MB / 0.7097 GB, free: 11.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/2.886, allocations: 85.09 kB / 0.7097 GB, free: 11.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/2.886, allocations: 130.3 kB / 0.7099 GB, free: 11.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/2.886, allocations: 31.64 kB / 0.7099 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/2.886, allocations: 397.8 kB / 0.7103 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/2.886, allocations: 0.5657 MB / 0.7108 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/2.886, allocations: 139.8 kB / 0.711 GB, free: 10.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/2.887, allocations: 306 kB / 0.7112 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/2.887, allocations: 340.3 kB / 0.7116 GB, free: 9.664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/2.887, allocations: 494.6 kB / 0.712 GB, free: 9.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/2.888, allocations: 1.02 MB / 0.713 GB, free: 8.148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/2.888, allocations: 0 / 0.713 GB, free: 8.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001285/2.89, allocations: 1.062 MB / 0.7141 GB, free: 7.102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/2.89, allocations: 4 kB / 0.7141 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/2.89, allocations: 7.984 kB / 0.7141 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/2.89, allocations: 4 kB / 0.7141 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/2.89, allocations: 27.09 kB / 0.7141 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/2.89, allocations: 7.984 kB / 0.7141 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/2.891, allocations: 126.8 kB / 0.7142 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/2.891, allocations: 20 kB / 0.7143 GB, free: 6.91 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.0003894/2.891, allocations: 226 kB / 0.7145 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/2.891, allocations: 51.19 kB / 0.7145 GB, free: 6.637 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/2.894, allocations: 3.08 MB / 0.7175 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001895/2.896, allocations: 1.837 MB / 0.7193 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/2.896, allocations: 4 kB / 0.7193 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/2.896, allocations: 7.969 kB / 0.7193 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/2.901, allocations: 4.573 MB / 0.7238 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.901, allocations: 0 / 0.7238 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/2.902, allocations: 234.4 kB / 0.724 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/2.902, allocations: 12 kB / 0.724 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/2.902, allocations: 35.98 kB / 0.7241 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/2.902, allocations: 8 kB / 0.7241 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.902, allocations: 3.938 kB / 0.7241 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/2.904, allocations: 1.956 MB / 0.726 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/2.904, allocations: 223 kB / 0.7262 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/2.904, allocations: 43.83 kB / 0.7263 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/2.905, allocations: 154 kB / 0.7264 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/2.905, allocations: 97.47 kB / 0.7265 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/2.905, allocations: 43.94 kB / 0.7265 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002195/2.905, allocations: 231 kB / 0.7268 GB, free: 10.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/2.905, allocations: 0 / 0.7268 GB, free: 10.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001014/2.906, allocations: 466.8 kB / 0.7272 GB, free: 9.609 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.0007418/2.907, allocations: 0.5612 MB / 0.7278 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00347/2.911, allocations: 2.131 MB / 0.7298 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/2.911, allocations: 0 / 0.7298 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008967/2.912, allocations: 0.9349 MB / 0.7307 GB, free: 5.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/2.915, allocations: 0.9396 MB / 0.7317 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/2.919, allocations: 3.933 MB / 0.7355 GB, free: 1.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/2.92, allocations: 1.336 MB / 0.7368 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006911/2.921, allocations: 179.2 kB / 0.737 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/2.921, allocations: 91.44 kB / 0.7371 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/2.921, allocations: 0 / 0.7371 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.2014/3.122, allocations: 35.55 MB / 0.7718 GB, free: 217.1 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)