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.787/1.787, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.001334/0.001335, allocations: 183.5 kB / 372 MB, free: 10.28 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.921/1.921, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009088/0.0009092, allocations: 94.78 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 14.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03489/0.2842, allocations: 42.37 MB / 1.021 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.3002, allocations: 10.67 MB / 1.031 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.3023, allocations: 51.69 kB / 1.031 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.304, allocations: 484.8 kB / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/0.3093, allocations: 1.733 MB / 1.034 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.3128, allocations: 1.118 MB / 1.035 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02756/0.3404, allocations: 24.7 MB / 1.059 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.351, allocations: 6.406 MB / 1.065 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.008/1.359, allocations: 5.441 MB / 1.07 GB, free: 16.16 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01762/1.376, allocations: 5.312 MB / 1.076 GB, free: 16.16 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.003661/1.38, allocations: 288 kB / 1.076 GB, free: 16.16 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00985/1.39, allocations: 1.084 MB / 1.077 GB, free: 16.16 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.004106/1.394, allocations: 1.341 MB / 1.078 GB, free: 16.16 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.006302/1.4, allocations: 1.57 MB / 1.08 GB, free: 16.13 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0219/1.422, allocations: 10.2 MB / 1.09 GB, free: 15.61 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.422, allocations: 1.688 kB / 1.09 GB, free: 15.61 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.525e-06/1.422, allocations: 4.031 kB / 1.09 GB, free: 15.61 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0006/1.423, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.6824 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.02406/1.447, allocations: 6.634 MB / 1.096 GB, free: 12.83 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.447, allocations: 9.312 kB / 1.096 GB, free: 12.83 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006552/1.454, allocations: 0.8412 MB / 1.097 GB, free: 12.45 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/1.473, allocations: 7.448 MB / 1.104 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004684/1.474, allocations: 420.2 kB / 1.105 GB, free: 11.5 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/1.476, allocations: 0.5141 MB / 1.105 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/1.497, allocations: 7.629 MB / 1.113 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001763/1.497, allocations: 20.19 kB / 1.113 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/1.498, allocations: 227.3 kB / 1.113 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/1.498, allocations: 164.5 kB / 1.113 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/1.515, allocations: 6.042 MB / 1.119 GB, free: 10.04 MB / 0.6824 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.06262/1.577, allocations: 29.23 MB / 1.147 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/1.585, allocations: 3.39 MB / 1.151 GB, free: 7.371 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/1.589, allocations: 1.95 MB / 1.153 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.59, allocations: 1.002 MB / 1.154 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/1.591, allocations: 76.36 kB / 1.154 GB, free: 5.234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.839e-06/1.591, allocations: 0 / 1.154 GB, free: 5.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.01363/1.604, allocations: 4.68 MB / 1.158 GB, free: 2.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/1.604, allocations: 80.75 kB / 1.158 GB, free: 2.836 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01802/1.622, allocations: 5.972 MB / 1.164 GB, free: 15.81 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001345/1.624, allocations: 82.73 kB / 1.164 GB, free: 15.74 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004315/1.628, allocations: 2.942 MB / 1.167 GB, free: 13.19 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002496/1.631, allocations: 0.9027 MB / 1.168 GB, free: 12.41 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/1.631, allocations: 71.62 kB / 1.168 GB, free: 12.36 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0003524/1.631, allocations: 448 kB / 1.169 GB, free: 11.96 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/1.634, allocations: 1.617 MB / 1.17 GB, free: 11.12 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/1.638, allocations: 2.67 MB / 1.173 GB, free: 8.961 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/1.642, allocations: 2.213 MB / 1.175 GB, free: 7.055 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/1.642, allocations: 10.53 kB / 1.175 GB, free: 7.047 MB / 0.7137 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01434/1.656, allocations: 4.938 MB / 1.18 GB, free: 2.25 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001793/1.658, allocations: 1.036 MB / 1.181 GB, free: 0.7852 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.658, allocations: 32 kB / 1.181 GB, free: 0.7539 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/1.658, allocations: 52 kB / 1.181 GB, free: 0.7031 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005333/1.664, allocations: 0.8119 MB / 1.182 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/1.666, allocations: 1.246 MB / 1.183 GB, free: 14.67 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/1.677, allocations: 0.6123 MB / 1.183 GB, free: 14.05 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.679, allocations: 160 kB / 1.184 GB, free: 13.89 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.679, allocations: 2.734 kB / 1.184 GB, free: 13.89 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/1.691, allocations: 4.431 MB / 1.188 GB, free: 9.625 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.691, allocations: 32 kB / 1.188 GB, free: 9.594 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.409e-05/1.691, allocations: 52.09 kB / 1.188 GB, free: 9.543 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/1.695, allocations: 0.787 MB / 1.189 GB, free: 8.809 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001232/1.695, allocations: 74.78 kB / 1.189 GB, free: 8.75 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00768/1.703, allocations: 0.5468 MB / 1.189 GB, free: 8.199 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009306/1.703, allocations: 160 kB / 1.189 GB, free: 8.043 MB / 0.7293 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.0078/1.711, allocations: 2.493 MB / 1.192 GB, free: 5.59 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003239/1.715, allocations: 0.5481 MB / 1.192 GB, free: 5.035 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009486/1.724, allocations: 3.9 MB / 1.196 GB, free: 1.082 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/1.724, allocations: 24 kB / 1.196 GB, free: 1.059 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.724, allocations: 0 / 1.196 GB, free: 1.059 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005432/1.73, allocations: 2.992 MB / 1.199 GB, free: 14.02 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02867/1.758, allocations: 9.708 MB / 1.209 GB, free: 4.266 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.758, allocations: 0 / 1.209 GB, free: 4.266 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/1.761, allocations: 0.5927 MB / 1.209 GB, free: 3.695 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.547e-05/1.761, allocations: 12.5 kB / 1.209 GB, free: 3.684 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.762, allocations: 75.94 kB / 1.209 GB, free: 3.609 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007406/1.762, allocations: 1.192 MB / 1.211 GB, free: 2.379 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.762, allocations: 4.75 kB / 1.211 GB, free: 2.375 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.775, allocations: 5.632 MB / 1.216 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00654/1.781, allocations: 1.31 MB / 1.217 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003592/1.785, allocations: 55.98 kB / 1.217 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008078/1.793, allocations: 387.3 kB / 1.218 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000832/1.794, allocations: 153.8 kB / 1.218 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/1.795, allocations: 141.7 kB / 1.218 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01203/1.807, allocations: 4.215 MB / 1.222 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.583e-06/1.807, allocations: 0 / 1.222 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01977/1.827, allocations: 3.226 MB / 1.225 GB, free: 3.176 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.00253/1.829, allocations: 480.3 kB / 1.226 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01381/1.843, allocations: 5.987 MB / 1.232 GB, free: 12.96 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 2.078e-05/1.843, allocations: 6.125 kB / 1.232 GB, free: 12.95 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.847, allocations: 1.591 MB / 1.233 GB, free: 11.41 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02853/1.875, allocations: 3.945 MB / 1.237 GB, free: 7.531 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/1.911, allocations: 15.76 MB / 1.252 GB, free: 7.766 MB / 0.7918 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/1.917, allocations: 4.509 MB / 1.257 GB, free: 3.234 MB / 0.7918 GB Notification: Performance of simCode: alias equations: time 0.01172/1.929, allocations: 2.859 MB / 1.26 GB, free: 384 kB / 0.7918 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/1.931, allocations: 472.6 kB / 1.26 GB, free: 15.92 MB / 0.8074 GB Notification: Performance of SimCode: time 1.673e-06/1.931, allocations: 0 / 1.26 GB, free: 15.92 MB / 0.8074 GB Notification: Performance of Templates: time 0.2254/2.156, allocations: 124.7 MB / 1.382 GB, free: 4.355 MB / 0.9168 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)