Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.895/1.895, allocations: 287.5 MB / 302.6 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.002445/0.002445, allocations: 187.1 kB / 371.2 MB, free: 10.82 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.592/1.592, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.000761/0.0007611, allocations: 98.28 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 15.59 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03973/0.2935, allocations: 42.36 MB / 1.02 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.3103, allocations: 10.67 MB / 1.03 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.3127, allocations: 47.69 kB / 1.03 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.3148, allocations: 492.8 kB / 1.031 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.3208, allocations: 1.738 MB / 1.033 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.3248, allocations: 1.111 MB / 1.034 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02717/0.352, allocations: 24.82 MB / 1.058 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.3634, allocations: 7.268 MB / 1.065 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5626/0.926, allocations: 5.446 MB / 1.07 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01754/0.9436, allocations: 5.314 MB / 1.076 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003554/0.9472, allocations: 287.4 kB / 1.076 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009733/0.9569, allocations: 1.09 MB / 1.077 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004272/0.9612, allocations: 1.341 MB / 1.078 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005659/0.9669, allocations: 1.568 MB / 1.08 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.9852, allocations: 10.2 MB / 1.09 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9853, allocations: 1.344 kB / 1.09 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9853, allocations: 2.734 kB / 1.09 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005675/0.9859, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.6823 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.02584/1.012, allocations: 6.56 MB / 1.096 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.012, allocations: 9.688 kB / 1.096 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007491/1.019, allocations: 0.8489 MB / 1.097 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/1.037, allocations: 7.618 MB / 1.104 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/1.038, allocations: 419.9 kB / 1.105 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/1.04, allocations: 0.509 MB / 1.105 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/1.059, allocations: 7.629 MB / 1.113 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/1.059, allocations: 24.75 kB / 1.113 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009616/1.06, allocations: 225.6 kB / 1.113 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000262/1.06, allocations: 168.6 kB / 1.113 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.075, allocations: 6.035 MB / 1.119 GB, free: 10.25 MB / 0.6823 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.04833/1.123, allocations: 29.25 MB / 1.148 GB, free: 9.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/1.128, allocations: 3.397 MB / 1.151 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/1.13, allocations: 1.949 MB / 1.153 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.132, allocations: 0.9998 MB / 1.154 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/1.132, allocations: 77.03 kB / 1.154 GB, free: 5.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 5.601e-06/1.132, allocations: 0 / 1.154 GB, free: 5.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.00884/1.141, allocations: 4.669 MB / 1.158 GB, free: 3.477 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/1.141, allocations: 84.94 kB / 1.159 GB, free: 3.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.151, allocations: 5.979 MB / 1.164 GB, free: 376 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009728/1.152, allocations: 80.83 kB / 1.164 GB, free: 308 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/1.155, allocations: 2.939 MB / 1.167 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.157, allocations: 0.8961 MB / 1.168 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/1.157, allocations: 66.81 kB / 1.168 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003015/1.158, allocations: 451.8 kB / 1.169 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/1.16, allocations: 1.623 MB / 1.17 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/1.163, allocations: 2.669 MB / 1.173 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006042/1.169, allocations: 4.581 MB / 1.177 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/1.169, allocations: 8 kB / 1.177 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0097/1.179, allocations: 4.937 MB / 1.182 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007919/1.18, allocations: 1.033 MB / 1.183 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/1.18, allocations: 35.66 kB / 1.183 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-05/1.18, allocations: 48 kB / 1.183 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.183, allocations: 0.8129 MB / 1.184 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009229/1.184, allocations: 1.256 MB / 1.185 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006774/1.191, allocations: 0.6084 MB / 1.186 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/1.191, allocations: 164.6 kB / 1.186 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.191, allocations: 0 / 1.186 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007486/1.199, allocations: 4.43 MB / 1.19 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-05/1.199, allocations: 32 kB / 1.19 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.845e-05/1.199, allocations: 48 kB / 1.19 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/1.202, allocations: 0.7854 MB / 1.191 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001014/1.202, allocations: 69.25 kB / 1.191 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/1.208, allocations: 0.5602 MB / 1.192 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/1.209, allocations: 157.5 kB / 1.192 GB, free: 5.676 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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.006163/1.215, allocations: 2.498 MB / 1.194 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002489/1.217, allocations: 0.5482 MB / 1.195 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00775/1.225, allocations: 3.886 MB / 1.199 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/1.225, allocations: 28 kB / 1.199 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.225, allocations: 4 kB / 1.199 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004711/1.23, allocations: 2.992 MB / 1.202 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.253, allocations: 9.701 MB / 1.211 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.253, allocations: 4 kB / 1.211 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.255, allocations: 0.5903 MB / 1.212 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.026e-05/1.255, allocations: 14.52 kB / 1.212 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.255, allocations: 79.94 kB / 1.212 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/1.256, allocations: 1.192 MB / 1.213 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.256, allocations: 4 kB / 1.213 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009658/1.266, allocations: 5.628 MB / 1.219 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004946/1.271, allocations: 1.306 MB / 1.22 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/1.273, allocations: 59.98 kB / 1.22 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005441/1.278, allocations: 384.7 kB / 1.22 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/1.279, allocations: 157.9 kB / 1.22 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005483/1.279, allocations: 139.9 kB / 1.22 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.009116/1.288, allocations: 4.211 MB / 1.225 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.91e-07/1.288, allocations: 4 kB / 1.225 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01669/1.305, allocations: 3.23 MB / 1.228 GB, free: 0.8008 MB / 0.7605 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.00213/1.307, allocations: 481.7 kB / 1.228 GB, free: 392 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.318, allocations: 5.999 MB / 1.234 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/1.318, allocations: 4.562 kB / 1.234 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/1.321, allocations: 1.591 MB / 1.236 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02329/1.345, allocations: 3.877 MB / 1.239 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/1.372, allocations: 15.75 MB / 1.255 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004854/1.377, allocations: 4.507 MB / 1.259 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01091/1.388, allocations: 2.854 MB / 1.262 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.39, allocations: 468.3 kB / 1.262 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/1.39, allocations: 6.734 kB / 1.262 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.2115/1.602, allocations: 124.9 MB / 1.384 GB, free: 1.879 MB / 0.9167 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)