Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.233/2.233, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 185.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 90.72 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.23e-05/1.242e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6594/0.6595, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9677/1.627, allocations: 430.5 MB / 1.383 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.628, allocations: 91.2 kB / 1.383 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.692/5.319, allocations: 0.7636 GB / 2.147 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001386/5.321, allocations: 196 kB / 2.147 GB, free: 133.4 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.02247/5.343, allocations: 5.534 MB / 2.152 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/5.343, allocations: 14.7 kB / 2.152 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006741/5.35, allocations: 0.8427 MB / 2.153 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08596/5.436, allocations: 23.29 MB / 2.176 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005223/5.437, allocations: 247.8 kB / 2.176 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002256/5.439, allocations: 309 kB / 2.177 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01807/5.457, allocations: 5.174 MB / 2.182 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/5.48, allocations: 6.399 MB / 2.188 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/5.48, allocations: 21.16 kB / 2.188 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/5.482, allocations: 13.28 kB / 2.188 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/5.482, allocations: 176.1 kB / 2.188 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07006/5.552, allocations: 29.08 MB / 2.216 GB, free: 89.14 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/5.566, allocations: 3.236 MB / 2.22 GB, free: 85.91 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006187/5.572, allocations: 1.685 MB / 2.221 GB, free: 84.22 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/5.574, allocations: 0.9754 MB / 2.222 GB, free: 83.06 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/5.574, allocations: 73.06 kB / 2.222 GB, free: 82.98 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 9.317e-06/5.574, allocations: 0 / 2.222 GB, free: 82.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.01632/5.591, allocations: 3.16 MB / 2.225 GB, free: 79.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/5.591, allocations: 77.41 kB / 2.225 GB, free: 79.71 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01903/5.61, allocations: 4.77 MB / 2.23 GB, free: 74.95 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/5.611, allocations: 29.7 kB / 2.23 GB, free: 74.92 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004831/5.616, allocations: 2.056 MB / 2.232 GB, free: 72.84 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.004464/5.62, allocations: 0.8663 MB / 2.233 GB, free: 71.96 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/5.621, allocations: 0 / 2.233 GB, free: 71.96 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004048/5.621, allocations: 453.1 kB / 2.233 GB, free: 71.51 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/5.627, allocations: 1.455 MB / 2.235 GB, free: 70.05 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/5.633, allocations: 2.579 MB / 2.237 GB, free: 66.99 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/5.644, allocations: 2.203 MB / 2.24 GB, free: 64.81 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-05/5.644, allocations: 11.94 kB / 2.24 GB, free: 64.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01845/5.662, allocations: 4.477 MB / 2.244 GB, free: 60.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003807/5.666, allocations: 16.49 MB / 2.26 GB, free: 42.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/5.666, allocations: 39.09 kB / 2.26 GB, free: 42.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/5.666, allocations: 60.09 kB / 2.26 GB, free: 42.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009245/5.676, allocations: 0.8868 MB / 2.261 GB, free: 41.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009906/5.677, allocations: 1.256 MB / 2.262 GB, free: 40.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/5.688, allocations: 437.4 kB / 2.263 GB, free: 40.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/5.689, allocations: 160.6 kB / 2.263 GB, free: 39.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/5.689, allocations: 7.984 kB / 2.263 GB, free: 39.85 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0154/5.705, allocations: 3.976 MB / 2.267 GB, free: 35.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.498e-05/5.705, allocations: 36 kB / 2.267 GB, free: 35.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.871e-05/5.705, allocations: 60 kB / 2.267 GB, free: 35.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006677/5.712, allocations: 0.8625 MB / 2.268 GB, free: 34.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.462e-05/5.712, allocations: 75.72 kB / 2.268 GB, free: 34.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007872/5.72, allocations: 375.5 kB / 2.268 GB, free: 34.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009619/5.721, allocations: 164 kB / 2.268 GB, free: 34.29 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.001217/5.722, allocations: 215.7 kB / 2.268 GB, free: 34.07 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002082/5.724, allocations: 490.1 kB / 2.269 GB, free: 33.59 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/5.736, allocations: 3.679 MB / 2.272 GB, free: 29.86 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/5.736, allocations: 24 kB / 2.272 GB, free: 29.84 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/5.736, allocations: 3.938 kB / 2.272 GB, free: 29.84 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008248/5.744, allocations: 2.813 MB / 2.275 GB, free: 26.97 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/5.774, allocations: 8.784 MB / 2.284 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/5.774, allocations: 0 / 2.284 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008369/5.782, allocations: 0.5336 MB / 2.284 GB, free: 17.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.813e-05/5.782, allocations: 12 kB / 2.284 GB, free: 17.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000969/5.783, allocations: 43.95 kB / 2.284 GB, free: 17.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000856/5.784, allocations: 1.195 MB / 2.286 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/5.784, allocations: 0 / 2.286 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01475/5.799, allocations: 5.619 MB / 2.291 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00529/5.804, allocations: 1.256 MB / 2.292 GB, free: 9.301 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002212/5.807, allocations: 27.88 kB / 2.292 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00751/5.814, allocations: 203.2 kB / 2.292 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000755/5.815, allocations: 137.8 kB / 2.293 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006539/5.816, allocations: 147.8 kB / 2.293 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.009429/5.825, allocations: 3.685 MB / 2.296 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01602/5.841, allocations: 3.204 MB / 2.299 GB, free: 1.914 MB / 0.9323 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.002316/5.844, allocations: 0.6642 MB / 2.3 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01513/5.859, allocations: 5.703 MB / 2.306 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/5.859, allocations: 12.75 kB / 2.306 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/5.863, allocations: 1.546 MB / 2.307 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0283/5.891, allocations: 3.03 MB / 2.31 GB, free: 7.137 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4337/6.325, allocations: 11.56 MB / 2.321 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/6.336, allocations: 5.13 MB / 2.326 GB, free: 229.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/6.336, allocations: 3.719 kB / 2.326 GB, free: 229.2 MB / 0.948 GB Notification: Performance of Templates: time 0.3061/6.642, allocations: 125.8 MB / 2.449 GB, free: 224 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)