Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.684/1.684, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 0.6626 GB, free: 4.199 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008262, allocations: 99.52 kB / 0.7808 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 16 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7647, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.796, allocations: 434.5 MB / 1.451 GB, free: 240 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.796, allocations: 96.19 kB / 1.451 GB, free: 240 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.639/4.436, allocations: 0.7741 GB / 2.225 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.925e-06/4.436, allocations: 0 / 2.225 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001089/4.437, allocations: 188.4 kB / 2.225 GB, free: 124.2 MB / 0.9792 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.02337/4.46, allocations: 6.932 MB / 2.232 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/4.46, allocations: 9.438 kB / 2.232 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005855/4.466, allocations: 0.8424 MB / 2.233 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04637/4.512, allocations: 20.54 MB / 2.253 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/4.513, allocations: 419.9 kB / 2.253 GB, free: 119.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/4.515, allocations: 0.5101 MB / 2.254 GB, free: 119.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/4.528, allocations: 7.163 MB / 2.261 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/4.528, allocations: 18.31 kB / 2.261 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007301/4.528, allocations: 231.3 kB / 2.261 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/4.529, allocations: 164.8 kB / 2.261 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008872/4.538, allocations: 5.485 MB / 2.266 GB, free: 118.9 MB / 0.9792 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.03854/4.576, allocations: 29.48 MB / 2.295 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/4.58, allocations: 3.207 MB / 2.298 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/4.582, allocations: 1.809 MB / 2.3 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/4.583, allocations: 0.972 MB / 2.301 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/4.583, allocations: 82.06 kB / 2.301 GB, free: 102 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=253): time 4.98e-06/4.583, allocations: 0 / 2.301 GB, free: 102 MB / 0.9792 GB Notification: Performance of matching and sorting (n=253): time 0.006835/4.59, allocations: 4.436 MB / 2.305 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/4.59, allocations: 78.56 kB / 2.305 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00783/4.598, allocations: 5.778 MB / 2.311 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006079/4.598, allocations: 84.33 kB / 2.311 GB, free: 98.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/4.6, allocations: 2.957 MB / 2.314 GB, free: 96.11 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/4.601, allocations: 0.8963 MB / 2.315 GB, free: 95.42 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/4.602, allocations: 71.25 kB / 2.315 GB, free: 95.37 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001715/4.602, allocations: 450.2 kB / 2.315 GB, free: 95 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/4.604, allocations: 1.513 MB / 2.317 GB, free: 94.51 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/4.606, allocations: 2.684 MB / 2.32 GB, free: 92.57 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/4.611, allocations: 4.525 MB / 2.324 GB, free: 89.83 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/4.611, allocations: 11.31 kB / 2.324 GB, free: 89.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007394/4.618, allocations: 4.776 MB / 2.329 GB, free: 88.01 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005917/4.619, allocations: 1.166 MB / 2.33 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/4.619, allocations: 38 kB / 2.33 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.548e-05/4.619, allocations: 55.28 kB / 2.33 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/4.622, allocations: 0.8107 MB / 2.331 GB, free: 86.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005045/4.622, allocations: 1.24 MB / 2.332 GB, free: 85.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/4.628, allocations: 0.5537 MB / 2.332 GB, free: 84.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/4.628, allocations: 167 kB / 2.333 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/4.628, allocations: 3.875 kB / 2.333 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005915/4.634, allocations: 4.277 MB / 2.337 GB, free: 83.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/4.634, allocations: 44.95 kB / 2.337 GB, free: 83.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.224e-05/4.634, allocations: 59.77 kB / 2.337 GB, free: 83.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/4.636, allocations: 0.7844 MB / 2.338 GB, free: 83.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.593e-05/4.637, allocations: 73.64 kB / 2.338 GB, free: 83.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006653/4.643, allocations: 0.4921 MB / 2.338 GB, free: 82.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/4.644, allocations: 168.5 kB / 2.338 GB, free: 82.93 MB / 0.9792 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.006198/4.65, allocations: 2.506 MB / 2.341 GB, free: 81.84 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/4.652, allocations: 0.5504 MB / 2.341 GB, free: 81.56 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005944/4.658, allocations: 3.726 MB / 2.345 GB, free: 80.19 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/4.658, allocations: 24.88 kB / 2.345 GB, free: 80.19 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/4.658, allocations: 0 / 2.345 GB, free: 80.19 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003352/4.661, allocations: 2.844 MB / 2.348 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/4.676, allocations: 9.231 MB / 2.357 GB, free: 75.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/4.676, allocations: 7.5 kB / 2.357 GB, free: 75.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/4.678, allocations: 0.5746 MB / 2.357 GB, free: 75.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/4.678, allocations: 7.781 kB / 2.357 GB, free: 75.59 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/4.679, allocations: 76.36 kB / 2.357 GB, free: 75.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004011/4.679, allocations: 1.183 MB / 2.359 GB, free: 74.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/4.679, allocations: 3.188 kB / 2.359 GB, free: 74.37 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006942/4.686, allocations: 5.436 MB / 2.364 GB, free: 72.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003525/4.689, allocations: 1.23 MB / 2.365 GB, free: 71.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/4.691, allocations: 68.88 kB / 2.365 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/4.694, allocations: 289.2 kB / 2.365 GB, free: 71.39 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/4.694, allocations: 153.4 kB / 2.366 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/4.695, allocations: 147.1 kB / 2.366 GB, free: 71.34 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005934/4.701, allocations: 4.063 MB / 2.37 GB, free: 70 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.41e-07/4.701, allocations: 0 / 2.37 GB, free: 70 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01088/4.711, allocations: 3.19 MB / 2.373 GB, free: 69.38 MB / 0.9792 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.001513/4.713, allocations: 0.689 MB / 2.373 GB, free: 69.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007448/4.72, allocations: 5.76 MB / 2.379 GB, free: 67.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/4.72, allocations: 4.469 kB / 2.379 GB, free: 67.32 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/4.722, allocations: 1.542 MB / 2.381 GB, free: 66.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0207/4.743, allocations: 3.85 MB / 2.384 GB, free: 66.14 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/4.774, allocations: 15.67 MB / 2.4 GB, free: 53.23 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006364/4.78, allocations: 4.511 MB / 2.404 GB, free: 49.75 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0111/4.791, allocations: 2.908 MB / 2.407 GB, free: 47.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/4.793, allocations: 469.6 kB / 2.407 GB, free: 47.4 MB / 0.9792 GB Notification: Performance of SimCode: time 8.62e-07/4.793, allocations: 0 / 2.407 GB, free: 47.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.7494/5.542, allocations: 126.2 MB / 2.531 GB, free: 120 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)