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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 293 MB / 309 MB, free: 4.812 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.001082/0.001082, allocations: 181.8 kB / 378.7 MB, free: 1.039 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.784/1.784, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0008622/0.0008619, allocations: 86.58 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004137, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3188, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.647/1.966, allocations: 432.7 MB / 1.413 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.966, allocations: 94.5 kB / 1.413 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.88/4.845, allocations: 0.762 GB / 2.175 GB, free: 138.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384e-06/4.845, allocations: 0 / 2.175 GB, free: 138.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001566/4.847, allocations: 186.6 kB / 2.175 GB, free: 138.2 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.02642/4.873, allocations: 6.931 MB / 2.182 GB, free: 135.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/4.874, allocations: 7.906 kB / 2.182 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/4.88, allocations: 0.8419 MB / 2.183 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05397/4.934, allocations: 20.37 MB / 2.203 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005926/4.934, allocations: 417.5 kB / 2.203 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/4.937, allocations: 0.516 MB / 2.204 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/4.959, allocations: 7.16 MB / 2.211 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004624/4.96, allocations: 20.97 kB / 2.211 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002228/4.962, allocations: 223 kB / 2.211 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003318/4.962, allocations: 174.5 kB / 2.211 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/4.981, allocations: 5.485 MB / 2.216 GB, free: 132.9 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05886/5.04, allocations: 29.47 MB / 2.245 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/5.044, allocations: 3.209 MB / 2.248 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/5.047, allocations: 1.805 MB / 2.25 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008017/5.048, allocations: 0.9753 MB / 2.251 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.062e-05/5.048, allocations: 72.97 kB / 2.251 GB, free: 118.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 4.959e-06/5.048, allocations: 6.875 kB / 2.251 GB, free: 118.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.007666/5.055, allocations: 4.434 MB / 2.255 GB, free: 118.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/5.055, allocations: 80.25 kB / 2.255 GB, free: 118.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009205/5.065, allocations: 5.79 MB / 2.261 GB, free: 117.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008677/5.066, allocations: 81.33 kB / 2.261 GB, free: 117.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/5.068, allocations: 2.954 MB / 2.264 GB, free: 115.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/5.069, allocations: 0.9032 MB / 2.265 GB, free: 115 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/5.069, allocations: 65.44 kB / 2.265 GB, free: 114.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002055/5.07, allocations: 458.1 kB / 2.265 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/5.072, allocations: 1.512 MB / 2.267 GB, free: 114.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/5.074, allocations: 2.68 MB / 2.27 GB, free: 112.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/5.079, allocations: 4.523 MB / 2.274 GB, free: 109.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/5.079, allocations: 11.75 kB / 2.274 GB, free: 109.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007786/5.087, allocations: 4.784 MB / 2.279 GB, free: 107.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005633/5.088, allocations: 1.162 MB / 2.28 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/5.088, allocations: 35.84 kB / 2.28 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.288e-05/5.088, allocations: 52.38 kB / 2.28 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/5.09, allocations: 0.8072 MB / 2.281 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005212/5.091, allocations: 1.245 MB / 2.282 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/5.097, allocations: 0.5567 MB / 2.282 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006767/5.098, allocations: 167.8 kB / 2.283 GB, free: 104.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/5.098, allocations: 3.938 kB / 2.283 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006088/5.104, allocations: 4.278 MB / 2.287 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/5.104, allocations: 38.94 kB / 2.287 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/5.104, allocations: 56.75 kB / 2.287 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/5.106, allocations: 0.7738 MB / 2.288 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.672e-05/5.106, allocations: 82.86 kB / 2.288 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005479/5.112, allocations: 498.4 kB / 2.288 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/5.112, allocations: 166.7 kB / 2.288 GB, free: 102.7 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 () * Number of clocked 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.005968/5.118, allocations: 2.505 MB / 2.291 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003067/5.121, allocations: 0.5535 MB / 2.291 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/5.134, allocations: 3.729 MB / 2.295 GB, free: 99.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/5.134, allocations: 23.59 kB / 2.295 GB, free: 99.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/5.134, allocations: 2.75 kB / 2.295 GB, free: 99.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006347/5.14, allocations: 2.842 MB / 2.298 GB, free: 98.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/5.172, allocations: 9.247 MB / 2.307 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/5.172, allocations: 2 kB / 2.307 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004237/5.177, allocations: 0.5658 MB / 2.307 GB, free: 95.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-05/5.177, allocations: 10.94 kB / 2.307 GB, free: 95.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/5.177, allocations: 80.53 kB / 2.307 GB, free: 95.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005963/5.178, allocations: 1.183 MB / 2.309 GB, free: 94.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/5.178, allocations: 3.562 kB / 2.309 GB, free: 94.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/5.189, allocations: 5.447 MB / 2.314 GB, free: 91.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005772/5.195, allocations: 1.231 MB / 2.315 GB, free: 91.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/5.197, allocations: 64.36 kB / 2.315 GB, free: 91.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00589/5.203, allocations: 283.7 kB / 2.315 GB, free: 91.15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004834/5.204, allocations: 154.5 kB / 2.316 GB, free: 91.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006688/5.204, allocations: 141.1 kB / 2.316 GB, free: 91.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009764/5.214, allocations: 4.063 MB / 2.32 GB, free: 89.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.71e-07/5.214, allocations: 0 / 2.32 GB, free: 89.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01476/5.229, allocations: 3.184 MB / 2.323 GB, free: 89.16 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 () * Number of clocked 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.002449/5.231, allocations: 0.6911 MB / 2.324 GB, free: 88.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01147/5.243, allocations: 5.749 MB / 2.329 GB, free: 87.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/5.243, allocations: 4.062 kB / 2.329 GB, free: 87.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002975/5.246, allocations: 1.543 MB / 2.331 GB, free: 86.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02567/5.272, allocations: 3.854 MB / 2.334 GB, free: 85.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/5.306, allocations: 15.67 MB / 2.35 GB, free: 76.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009147/5.315, allocations: 4.513 MB / 2.354 GB, free: 73.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01361/5.328, allocations: 2.909 MB / 2.357 GB, free: 71.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002512/5.331, allocations: 469.9 kB / 2.357 GB, free: 70.83 MB / 0.948 GB Notification: Performance of SimCode: time 1.704e-06/5.331, allocations: 0 / 2.357 GB, free: 70.83 MB / 0.948 GB Notification: Performance of Templates: time 0.8026/6.134, allocations: 126.2 MB / 2.481 GB, free: 106.2 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)