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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001143/0.001143, allocations: 179 kB / 371.6 MB, free: 3.359 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.715/1.715, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009891/0.0009893, allocations: 91.03 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.555e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.339, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.926/2.265, allocations: 432.4 MB / 1.402 GB, free: 257.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/2.266, allocations: 90.64 kB / 1.402 GB, free: 257.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.079/5.345, allocations: 0.7647 GB / 2.167 GB, free: 140.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.236e-06/5.345, allocations: 0 / 2.167 GB, free: 140.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001636/5.346, allocations: 189 kB / 2.167 GB, free: 140.5 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.02144/5.368, allocations: 5.617 MB / 2.173 GB, free: 138.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/5.368, allocations: 10.22 kB / 2.173 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/5.373, allocations: 0.8376 MB / 2.173 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04878/5.422, allocations: 23.14 MB / 2.196 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/5.423, allocations: 421.2 kB / 2.196 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/5.425, allocations: 0.5075 MB / 2.197 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/5.441, allocations: 7.009 MB / 2.204 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/5.441, allocations: 26.08 kB / 2.204 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/5.442, allocations: 224.6 kB / 2.204 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/5.443, allocations: 167 kB / 2.204 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/5.455, allocations: 5.346 MB / 2.209 GB, free: 135.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.05383/5.509, allocations: 29.79 MB / 2.238 GB, free: 122.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006153/5.515, allocations: 3.359 MB / 2.242 GB, free: 122.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/5.517, allocations: 1.7 MB / 2.243 GB, free: 122.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009137/5.518, allocations: 0.9758 MB / 2.244 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.47e-05/5.519, allocations: 80.69 kB / 2.244 GB, free: 121.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 4.699e-06/5.519, allocations: 0 / 2.244 GB, free: 121.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.007043/5.526, allocations: 3.141 MB / 2.247 GB, free: 121.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/5.526, allocations: 76.44 kB / 2.248 GB, free: 121.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/5.537, allocations: 5.693 MB / 2.253 GB, free: 120.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009312/5.538, allocations: 80.27 kB / 2.253 GB, free: 120.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/5.54, allocations: 2.981 MB / 2.256 GB, free: 119.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/5.541, allocations: 0.901 MB / 2.257 GB, free: 119.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/5.542, allocations: 69.53 kB / 2.257 GB, free: 119.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001936/5.542, allocations: 453.2 kB / 2.257 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/5.544, allocations: 1.451 MB / 2.259 GB, free: 118.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/5.546, allocations: 2.61 MB / 2.261 GB, free: 117.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/5.548, allocations: 2.074 MB / 2.263 GB, free: 117.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/5.548, allocations: 10.31 kB / 2.263 GB, free: 117.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007342/5.556, allocations: 4.664 MB / 2.268 GB, free: 117.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003409/5.559, allocations: 17.15 MB / 2.285 GB, free: 99.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/5.559, allocations: 35.44 kB / 2.285 GB, free: 99.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.961e-05/5.559, allocations: 58.25 kB / 2.285 GB, free: 99.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/5.563, allocations: 0.8875 MB / 2.286 GB, free: 99.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005404/5.563, allocations: 1.243 MB / 2.287 GB, free: 98.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/5.57, allocations: 0.584 MB / 2.288 GB, free: 97.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006907/5.571, allocations: 166.9 kB / 2.288 GB, free: 97.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/5.571, allocations: 7.062 kB / 2.288 GB, free: 97.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006744/5.578, allocations: 4.157 MB / 2.292 GB, free: 96.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/5.578, allocations: 35.25 kB / 2.292 GB, free: 96.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.683e-05/5.578, allocations: 65.45 kB / 2.292 GB, free: 96.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/5.581, allocations: 0.8569 MB / 2.293 GB, free: 96.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.896e-05/5.581, allocations: 76.97 kB / 2.293 GB, free: 96.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006262/5.587, allocations: 0.5185 MB / 2.293 GB, free: 96.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/5.588, allocations: 166.3 kB / 2.293 GB, free: 96.03 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.001127/5.589, allocations: 340.9 kB / 2.294 GB, free: 95.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002386/5.591, allocations: 0.5454 MB / 2.294 GB, free: 95.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007578/5.599, allocations: 3.639 MB / 2.298 GB, free: 94.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/5.599, allocations: 28.41 kB / 2.298 GB, free: 94.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/5.599, allocations: 0 / 2.298 GB, free: 94.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00393/5.603, allocations: 2.744 MB / 2.301 GB, free: 93.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/5.625, allocations: 9.312 MB / 2.31 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/5.625, allocations: 0 / 2.31 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/5.628, allocations: 0.5451 MB / 2.31 GB, free: 89.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.47e-05/5.628, allocations: 14 kB / 2.31 GB, free: 89.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002627/5.628, allocations: 81.03 kB / 2.31 GB, free: 89.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004311/5.629, allocations: 1.18 MB / 2.311 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/5.629, allocations: 10.81 kB / 2.311 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008738/5.637, allocations: 5.544 MB / 2.317 GB, free: 86.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005229/5.643, allocations: 1.338 MB / 2.318 GB, free: 85.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002506/5.645, allocations: 66.5 kB / 2.318 GB, free: 85.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005818/5.651, allocations: 261.7 kB / 2.318 GB, free: 85.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/5.651, allocations: 147.9 kB / 2.319 GB, free: 85.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005338/5.652, allocations: 146.2 kB / 2.319 GB, free: 85.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007906/5.66, allocations: 4.478 MB / 2.323 GB, free: 83.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/5.66, allocations: 0 / 2.323 GB, free: 83.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01317/5.673, allocations: 3.243 MB / 2.326 GB, free: 83.14 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.001921/5.675, allocations: 0.7034 MB / 2.327 GB, free: 82.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008744/5.684, allocations: 5.803 MB / 2.333 GB, free: 80.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/5.684, allocations: 10.12 kB / 2.333 GB, free: 80.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/5.686, allocations: 1.527 MB / 2.334 GB, free: 80.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02067/5.707, allocations: 3.864 MB / 2.338 GB, free: 79.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/5.732, allocations: 11.69 MB / 2.349 GB, free: 75.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/5.737, allocations: 4.64 MB / 2.354 GB, free: 73.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01648/5.753, allocations: 4.972 MB / 2.359 GB, free: 72.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/5.755, allocations: 357.7 kB / 2.359 GB, free: 72.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/5.755, allocations: 0 / 2.359 GB, free: 72.43 MB / 0.948 GB Notification: Performance of Templates: time 0.8328/6.588, allocations: 130.2 MB / 2.486 GB, free: 166.1 MB / 0.9792 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)