Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.8 MB / 297 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 181.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 0.6256 GB, free: 5.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009341/0.000934, allocations: 88.66 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.041e-05, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8184, allocations: 116.3 MB / 0.9725 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9701/1.789, allocations: 431.7 MB / 1.394 GB, free: 53.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.789, allocations: 88.52 kB / 1.394 GB, free: 53.92 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.639/4.428, allocations: 0.7636 GB / 2.158 GB, free: 143.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009445/4.429, allocations: 187.8 kB / 2.158 GB, free: 143.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01641/4.445, allocations: 5.539 MB / 2.163 GB, free: 139.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/4.445, allocations: 12.02 kB / 2.163 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005927/4.451, allocations: 0.8461 MB / 2.164 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05571/4.507, allocations: 23.28 MB / 2.187 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/4.507, allocations: 247.5 kB / 2.187 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/4.509, allocations: 307 kB / 2.187 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009336/4.518, allocations: 5.183 MB / 2.193 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009327/4.528, allocations: 6.4 MB / 2.199 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/4.528, allocations: 27.77 kB / 2.199 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005523/4.528, allocations: 12 kB / 2.199 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/4.528, allocations: 171.8 kB / 2.199 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/4.56, allocations: 29.07 MB / 2.227 GB, free: 73.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004/4.564, allocations: 3.235 MB / 2.231 GB, free: 69.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/4.566, allocations: 1.685 MB / 2.232 GB, free: 68.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/4.566, allocations: 0.9814 MB / 2.233 GB, free: 66.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/4.566, allocations: 77 kB / 2.233 GB, free: 66.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 4.268e-06/4.567, allocations: 0 / 2.233 GB, free: 66.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.00532/4.572, allocations: 3.16 MB / 2.236 GB, free: 63.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/4.572, allocations: 80.88 kB / 2.236 GB, free: 63.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/4.578, allocations: 4.77 MB / 2.241 GB, free: 58.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004614/4.578, allocations: 29.7 kB / 2.241 GB, free: 58.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/4.58, allocations: 2.052 MB / 2.243 GB, free: 56.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/4.581, allocations: 0.8662 MB / 2.244 GB, free: 55.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/4.581, allocations: 0 / 2.244 GB, free: 55.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001644/4.581, allocations: 449.2 kB / 2.244 GB, free: 55.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/4.583, allocations: 1.459 MB / 2.246 GB, free: 53.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/4.585, allocations: 2.58 MB / 2.248 GB, free: 50.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/4.588, allocations: 2.198 MB / 2.25 GB, free: 48.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/4.588, allocations: 12 kB / 2.25 GB, free: 48.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006799/4.595, allocations: 4.479 MB / 2.255 GB, free: 44.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002685/4.598, allocations: 16.5 MB / 2.271 GB, free: 26.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/4.598, allocations: 41.58 kB / 2.271 GB, free: 26.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.536e-05/4.598, allocations: 56 kB / 2.271 GB, free: 26.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/4.601, allocations: 0.8815 MB / 2.272 GB, free: 25.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000538/4.602, allocations: 1.254 MB / 2.273 GB, free: 24.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/4.607, allocations: 439.8 kB / 2.274 GB, free: 23.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/4.607, allocations: 168 kB / 2.274 GB, free: 23.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/4.607, allocations: 0 / 2.274 GB, free: 23.56 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005394/4.612, allocations: 3.976 MB / 2.278 GB, free: 19.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/4.612, allocations: 36 kB / 2.278 GB, free: 19.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.241e-05/4.612, allocations: 60 kB / 2.278 GB, free: 19.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/4.615, allocations: 0.8701 MB / 2.279 GB, free: 18.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-05/4.615, allocations: 79.72 kB / 2.279 GB, free: 18.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/4.62, allocations: 364.8 kB / 2.279 GB, free: 18.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/4.62, allocations: 164 kB / 2.279 GB, free: 17.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008941/4.621, allocations: 219.6 kB / 2.279 GB, free: 17.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/4.622, allocations: 494 kB / 2.28 GB, free: 17.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/4.628, allocations: 3.673 MB / 2.283 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/4.628, allocations: 24 kB / 2.283 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/4.628, allocations: 3.984 kB / 2.283 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003574/4.632, allocations: 2.815 MB / 2.286 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/4.649, allocations: 8.775 MB / 2.295 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/4.649, allocations: 3.938 kB / 2.295 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/4.651, allocations: 0.5345 MB / 2.295 GB, free: 1.305 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/4.651, allocations: 11.98 kB / 2.295 GB, free: 1.293 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/4.651, allocations: 47.95 kB / 2.295 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003692/4.652, allocations: 1.18 MB / 2.296 GB, free: 20 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.652, allocations: 7.938 kB / 2.296 GB, free: 12 kB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009989/4.662, allocations: 5.619 MB / 2.302 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004955/4.667, allocations: 1.264 MB / 2.303 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/4.668, allocations: 15.98 kB / 2.303 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004355/4.673, allocations: 215 kB / 2.303 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/4.673, allocations: 137.7 kB / 2.304 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004401/4.674, allocations: 143.9 kB / 2.304 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.006986/4.681, allocations: 3.689 MB / 2.307 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01329/4.694, allocations: 3.197 MB / 2.31 GB, free: 1.602 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/4.696, allocations: 0.6708 MB / 2.311 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.4259/5.122, allocations: 5.715 MB / 2.317 GB, free: 236.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/5.122, allocations: 4 kB / 2.317 GB, free: 236.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/5.124, allocations: 1.545 MB / 2.318 GB, free: 236.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/5.139, allocations: 3.033 MB / 2.321 GB, free: 236.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/5.165, allocations: 11.56 MB / 2.332 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007376/5.172, allocations: 5.134 MB / 2.337 GB, free: 233.4 MB / 0.9636 GB Notification: Performance of SimCode: time 3.246e-06/5.172, allocations: 0 / 2.337 GB, free: 233.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.2107/5.383, allocations: 125.8 MB / 2.46 GB, free: 227.4 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)