Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.565/1.565, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001074/0.001074, allocations: 185.3 kB / 361.1 MB, free: 7.062 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.604/1.604, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000883/0.0008829, allocations: 88.38 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.084e-05, allocations: 4 kB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8218, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9814/1.803, allocations: 430.7 MB / 1.384 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.804, allocations: 90.03 kB / 1.384 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.75/4.553, allocations: 0.7636 GB / 2.148 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001678/4.555, allocations: 184.1 kB / 2.148 GB, free: 132.7 MB / 0.9323 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.01961/4.575, allocations: 5.539 MB / 2.154 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/4.575, allocations: 6.906 kB / 2.154 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006227/4.581, allocations: 0.847 MB / 2.154 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06536/4.646, allocations: 23.29 MB / 2.177 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005194/4.647, allocations: 245.9 kB / 2.177 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/4.649, allocations: 308.8 kB / 2.178 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01406/4.663, allocations: 5.179 MB / 2.183 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02401/4.688, allocations: 6.394 MB / 2.189 GB, free: 114 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004563/4.688, allocations: 28.42 kB / 2.189 GB, free: 114 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002203/4.69, allocations: 12.47 kB / 2.189 GB, free: 114 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/4.691, allocations: 175 kB / 2.189 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/4.745, allocations: 29.06 MB / 2.218 GB, free: 86.05 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/4.751, allocations: 3.238 MB / 2.221 GB, free: 82.82 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002435/4.753, allocations: 1.685 MB / 2.222 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/4.754, allocations: 0.9709 MB / 2.223 GB, free: 79.97 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.397e-05/4.754, allocations: 80.67 kB / 2.223 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 5.089e-06/4.754, allocations: 0 / 2.223 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.007798/4.762, allocations: 3.16 MB / 2.226 GB, free: 76.71 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/4.762, allocations: 81.39 kB / 2.227 GB, free: 76.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/4.772, allocations: 4.766 MB / 2.231 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008829/4.773, allocations: 33.64 kB / 2.231 GB, free: 71.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/4.776, allocations: 2.058 MB / 2.233 GB, free: 69.74 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002349/4.778, allocations: 0.8619 MB / 2.234 GB, free: 68.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005236/4.779, allocations: 0 / 2.234 GB, free: 68.87 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003352/4.779, allocations: 453.1 kB / 2.234 GB, free: 68.42 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/4.782, allocations: 1.455 MB / 2.236 GB, free: 66.96 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/4.784, allocations: 2.584 MB / 2.238 GB, free: 63.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/4.788, allocations: 2.199 MB / 2.241 GB, free: 61.72 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.071e-05/4.788, allocations: 12 kB / 2.241 GB, free: 61.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009628/4.798, allocations: 4.481 MB / 2.245 GB, free: 57.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003289/4.801, allocations: 16.5 MB / 2.261 GB, free: 39.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.152e-05/4.801, allocations: 35.98 kB / 2.261 GB, free: 39.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.599e-05/4.801, allocations: 60 kB / 2.261 GB, free: 39.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/4.805, allocations: 0.8842 MB / 2.262 GB, free: 38.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007139/4.806, allocations: 1.253 MB / 2.263 GB, free: 37.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006271/4.812, allocations: 437.7 kB / 2.264 GB, free: 36.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/4.813, allocations: 166.7 kB / 2.264 GB, free: 36.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/4.813, allocations: 4 kB / 2.264 GB, free: 36.77 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008095/4.821, allocations: 3.976 MB / 2.268 GB, free: 32.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/4.822, allocations: 36.19 kB / 2.268 GB, free: 32.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-05/4.822, allocations: 60 kB / 2.268 GB, free: 32.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/4.825, allocations: 0.8581 MB / 2.269 GB, free: 31.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.559e-05/4.825, allocations: 83.7 kB / 2.269 GB, free: 31.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/4.831, allocations: 376.8 kB / 2.269 GB, free: 31.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008054/4.832, allocations: 167.9 kB / 2.269 GB, free: 31.2 MB / 0.9323 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.00148/4.834, allocations: 207.8 kB / 2.269 GB, free: 30.99 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002294/4.836, allocations: 490.1 kB / 2.27 GB, free: 30.51 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008546/4.845, allocations: 3.664 MB / 2.273 GB, free: 26.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/4.845, allocations: 24 kB / 2.274 GB, free: 26.77 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/4.845, allocations: 2.188 kB / 2.274 GB, free: 26.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004699/4.849, allocations: 2.818 MB / 2.276 GB, free: 23.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/4.873, allocations: 8.788 MB / 2.285 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/4.873, allocations: 4 kB / 2.285 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/4.876, allocations: 0.5334 MB / 2.285 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.775e-05/4.876, allocations: 10.62 kB / 2.285 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004429/4.876, allocations: 51.95 kB / 2.285 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004671/4.877, allocations: 1.187 MB / 2.287 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/4.877, allocations: 4 kB / 2.287 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009538/4.886, allocations: 5.623 MB / 2.292 GB, free: 7.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004838/4.891, allocations: 1.26 MB / 2.293 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002339/4.893, allocations: 27.83 kB / 2.293 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005587/4.899, allocations: 206.7 kB / 2.294 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/4.899, allocations: 133.8 kB / 2.294 GB, free: 5.855 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006512/4.9, allocations: 147.9 kB / 2.294 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.00815/4.908, allocations: 3.685 MB / 2.297 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01549/4.924, allocations: 3.204 MB / 2.301 GB, free: 14.82 MB / 0.948 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.00248/4.926, allocations: 0.6565 MB / 2.301 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01185/4.938, allocations: 5.722 MB / 2.307 GB, free: 8.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/4.938, allocations: 4.5 kB / 2.307 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003009/4.941, allocations: 1.546 MB / 2.308 GB, free: 6.949 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01781/4.959, allocations: 3.019 MB / 2.311 GB, free: 4.035 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.463/5.422, allocations: 11.57 MB / 2.323 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005694/5.428, allocations: 5.13 MB / 2.328 GB, free: 225.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/5.428, allocations: 0 / 2.328 GB, free: 225.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1898/5.618, allocations: 125.8 MB / 2.45 GB, free: 220.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)