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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 304.3 MB, free: 8.16 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.0009991/0.0009992, allocations: 185.8 kB / 373 MB, free: 10.14 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.65/1.65, allocations: 205.4 MB / 0.6317 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008565/0.0008563, allocations: 100.1 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004286, allocations: 12.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.289, allocations: 431.6 MB / 1.402 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.289, allocations: 94.05 kB / 1.402 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.96/4.249, allocations: 0.762 GB / 2.164 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.545e-06/4.249, allocations: 0 / 2.164 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001291/4.25, allocations: 184.6 kB / 2.165 GB, free: 152.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.02421/4.274, allocations: 6.93 MB / 2.171 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/4.274, allocations: 7.875 kB / 2.171 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/4.28, allocations: 0.8435 MB / 2.172 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04594/4.326, allocations: 20.36 MB / 2.192 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/4.326, allocations: 420 kB / 2.192 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/4.328, allocations: 0.5088 MB / 2.193 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/4.344, allocations: 7.163 MB / 2.2 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/4.344, allocations: 26.28 kB / 2.2 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008953/4.345, allocations: 220.7 kB / 2.2 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/4.345, allocations: 172.6 kB / 2.2 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/4.357, allocations: 5.483 MB / 2.206 GB, free: 147.4 MB / 0.9323 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.04062/4.398, allocations: 29.48 MB / 2.234 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/4.402, allocations: 3.205 MB / 2.238 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/4.404, allocations: 1.806 MB / 2.239 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000866/4.405, allocations: 0.972 MB / 2.24 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.773e-05/4.405, allocations: 76.38 kB / 2.24 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 4.429e-06/4.405, allocations: 0 / 2.24 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.007892/4.413, allocations: 4.438 MB / 2.245 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/4.413, allocations: 77.47 kB / 2.245 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/4.426, allocations: 5.79 MB / 2.25 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008498/4.427, allocations: 79.67 kB / 2.25 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002535/4.429, allocations: 2.964 MB / 2.253 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/4.43, allocations: 0.896 MB / 2.254 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/4.431, allocations: 67.88 kB / 2.254 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002086/4.431, allocations: 452.9 kB / 2.255 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/4.433, allocations: 1.517 MB / 2.256 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/4.435, allocations: 2.675 MB / 2.259 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/4.44, allocations: 4.527 MB / 2.263 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/4.44, allocations: 11.34 kB / 2.263 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007294/4.447, allocations: 4.779 MB / 2.268 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006639/4.448, allocations: 1.161 MB / 2.269 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/4.448, allocations: 38.69 kB / 2.269 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.63e-05/4.448, allocations: 54.56 kB / 2.269 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/4.451, allocations: 0.8116 MB / 2.27 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005214/4.452, allocations: 1.256 MB / 2.271 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/4.457, allocations: 0.5487 MB / 2.272 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/4.458, allocations: 165.7 kB / 2.272 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/4.458, allocations: 6.125 kB / 2.272 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0058/4.463, allocations: 4.27 MB / 2.276 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/4.463, allocations: 33.78 kB / 2.276 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/4.464, allocations: 62.78 kB / 2.276 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/4.466, allocations: 0.7818 MB / 2.277 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.429e-05/4.466, allocations: 79.69 kB / 2.277 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/4.471, allocations: 0.4914 MB / 2.277 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/4.471, allocations: 164.6 kB / 2.278 GB, free: 124.1 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 () * 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.004681/4.476, allocations: 2.5 MB / 2.28 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/4.478, allocations: 0.5517 MB / 2.281 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005834/4.484, allocations: 3.728 MB / 2.284 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/4.484, allocations: 25.06 kB / 2.284 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/4.484, allocations: 0 / 2.284 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003355/4.487, allocations: 2.844 MB / 2.287 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/4.503, allocations: 9.246 MB / 2.296 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/4.503, allocations: 3.281 kB / 2.296 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/4.505, allocations: 0.5769 MB / 2.297 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/4.505, allocations: 10.62 kB / 2.297 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/4.505, allocations: 75.23 kB / 2.297 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/4.505, allocations: 1.183 MB / 2.298 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/4.505, allocations: 3.844 kB / 2.298 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007371/4.513, allocations: 5.44 MB / 2.303 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004223/4.517, allocations: 1.234 MB / 2.304 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/4.518, allocations: 61.05 kB / 2.304 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003476/4.522, allocations: 290.4 kB / 2.305 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/4.522, allocations: 154.6 kB / 2.305 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/4.522, allocations: 143.6 kB / 2.305 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007162/4.53, allocations: 4.059 MB / 2.309 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.31e-07/4.53, allocations: 0 / 2.309 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01309/4.543, allocations: 3.185 MB / 2.312 GB, free: 113.2 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 () * 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.001803/4.545, allocations: 0.6721 MB / 2.313 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008542/4.553, allocations: 5.769 MB / 2.318 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/4.553, allocations: 4.156 kB / 2.318 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/4.555, allocations: 1.538 MB / 2.32 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02412/4.58, allocations: 3.86 MB / 2.324 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/4.603, allocations: 15.67 MB / 2.339 GB, free: 102.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004118/4.607, allocations: 4.516 MB / 2.343 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009794/4.617, allocations: 2.904 MB / 2.346 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/4.619, allocations: 474.1 kB / 2.347 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.352e-06/4.619, allocations: 0 / 2.347 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.1664/4.785, allocations: 126.3 MB / 2.47 GB, free: 7.41 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)