Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01029/0.01029, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.00175/0.00175, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01199/0.01199, allocations: 2.77 MB / 293.3 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 405.9 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 50.22 MB / 456.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02223/0.1428, allocations: 19.12 MB / 475.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006728/0.1496, allocations: 6.08 MB / 481.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.15, allocations: 3.938 kB / 481.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.1509, allocations: 250.5 kB / 481.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004117/0.1551, allocations: 1.206 MB / 482.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.1556, allocations: 87.36 kB / 482.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.1562, allocations: 305.8 kB / 483.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.1564, allocations: 28.73 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1566, allocations: 95.47 kB / 483.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1568, allocations: 107.5 kB / 483.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1568, allocations: 8 kB / 483.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5763/0.7331, allocations: 38.45 MB / 0.5097 GB, free: 35.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.7332, allocations: 26.84 kB / 0.5097 GB, free: 35.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.7337, allocations: 133 kB / 0.5098 GB, free: 35.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.7372, allocations: 0.5076 MB / 0.5103 GB, free: 35.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.7373, allocations: 5.344 kB / 0.5103 GB, free: 35.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.7373, allocations: 0 / 0.5103 GB, free: 35.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.7373, allocations: 3.938 kB / 0.5103 GB, free: 35.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001189/0.7385, allocations: 0.573 MB / 0.5109 GB, free: 34.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.7386, allocations: 9.125 kB / 0.5109 GB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.7396, allocations: 204.5 kB / 0.5111 GB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.7398, allocations: 189.3 kB / 0.5113 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.7399, allocations: 18.94 kB / 0.5113 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.7399, allocations: 23.38 kB / 0.5113 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.7406, allocations: 350.2 kB / 0.5116 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.7407, allocations: 0 / 0.5116 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.7407, allocations: 11.62 kB / 0.5116 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.7407, allocations: 7.688 kB / 0.5116 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.7412, allocations: 260.2 kB / 0.5119 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.7433, allocations: 2.123 MB / 0.514 GB, free: 32.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.7435, allocations: 134.3 kB / 0.5141 GB, free: 32.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.7437, allocations: 111.2 kB / 0.5142 GB, free: 32.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/0.7444, allocations: 0.6915 MB / 0.5149 GB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.7444, allocations: 38.02 kB / 0.5149 GB, free: 31.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.283e-06/0.7444, allocations: 4 kB / 0.5149 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004721/0.7449, allocations: 189.7 kB / 0.5151 GB, free: 31.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.745, allocations: 81.27 kB / 0.5152 GB, free: 31.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.7451, allocations: 104.7 kB / 0.5153 GB, free: 31.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.7451, allocations: 25.7 kB / 0.5153 GB, free: 31.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.7452, allocations: 159.9 kB / 0.5155 GB, free: 31.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.7453, allocations: 112.2 kB / 0.5156 GB, free: 31.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.7454, allocations: 34.39 kB / 0.5156 GB, free: 31.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.7455, allocations: 330.9 kB / 0.5159 GB, free: 31.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.7456, allocations: 36.06 kB / 0.5159 GB, free: 31.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.7457, allocations: 85.48 kB / 0.516 GB, free: 31.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.7459, allocations: 141.8 kB / 0.5162 GB, free: 31.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7459, allocations: 0 / 0.5162 GB, free: 31.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003229/0.7462, allocations: 165.4 kB / 0.5163 GB, free: 31.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.7463, allocations: 6.859 kB / 0.5163 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7463, allocations: 1 kB / 0.5163 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.7463, allocations: 2.031 kB / 0.5163 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.7464, allocations: 11.23 kB / 0.5163 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.7465, allocations: 5.594 kB / 0.5163 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.7466, allocations: 20.92 kB / 0.5164 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.7466, allocations: 4.906 kB / 0.5164 GB, free: 31.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001282/0.7467, allocations: 134 kB / 0.5165 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.7468, allocations: 7.703 kB / 0.5165 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.7468, allocations: 10.75 kB / 0.5165 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.7469, allocations: 1.812 kB / 0.5165 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7469, allocations: 4.5 kB / 0.5165 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7469, allocations: 1.031 kB / 0.5165 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.7473, allocations: 285 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7474, allocations: 0.5312 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.7474, allocations: 4.031 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.7474, allocations: 0.625 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.7474, allocations: 2.469 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7474, allocations: 1.266 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7474, allocations: 4.719 kB / 0.5168 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.7503, allocations: 326 kB / 0.5171 GB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.7504, allocations: 94 kB / 0.5172 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.7504, allocations: 1.125 kB / 0.5172 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.7506, allocations: 1.266 kB / 0.5172 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.7506, allocations: 3.969 kB / 0.5172 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.7506, allocations: 2.812 kB / 0.5172 GB, free: 30.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.7507, allocations: 84.2 kB / 0.5173 GB, free: 30.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7507, allocations: 0 / 0.5173 GB, free: 30.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007543/0.7515, allocations: 90.64 kB / 0.5174 GB, free: 30.24 MB / 382.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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005928/0.7521, allocations: 192 kB / 0.5176 GB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.7525, allocations: 229 kB / 0.5178 GB, free: 30.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7525, allocations: 0 / 0.5178 GB, free: 30.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7528, allocations: 202.6 kB / 0.518 GB, free: 29.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.7536, allocations: 90.25 kB / 0.5181 GB, free: 29.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.7547, allocations: 0.5115 MB / 0.5186 GB, free: 29.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.7552, allocations: 0.8009 MB / 0.5193 GB, free: 28.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.7554, allocations: 21.39 kB / 0.5194 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.7554, allocations: 22.88 kB / 0.5194 GB, free: 28.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7554, allocations: 4 kB / 0.5194 GB, free: 28.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01447/0.7699, allocations: 4.77 MB / 0.524 GB, free: 28.41 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1)