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 2.882/2.882, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001513/0.001513, allocations: 186.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001098/0.001098, allocations: 93.86 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006832, allocations: 11.91 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.266, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05847/0.3245, allocations: 38.47 MB / 1.016 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.3468, allocations: 9.842 MB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.3491, allocations: 47.69 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.3524, allocations: 0.6218 MB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009735/0.3622, allocations: 1.941 MB / 1.028 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007266/0.3695, allocations: 1.546 MB / 1.029 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02333/0.3928, allocations: 12.04 MB / 1.041 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/0.4067, allocations: 6.419 MB / 1.047 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.4194, allocations: 4.582 MB / 1.052 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009813/0.4293, allocations: 3.679 MB / 1.056 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00227/0.4316, allocations: 288 kB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007367/0.439, allocations: 0.995 MB / 1.057 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003635/0.4427, allocations: 1.288 MB / 1.058 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004196/0.447, allocations: 1.568 MB / 1.06 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.7027/1.15, allocations: 10.09 MB / 1.069 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.15, allocations: 0.7188 kB / 1.069 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.577e-06/1.15, allocations: 0 / 1.069 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004728/1.15, allocations: 0 / 1.069 GB, free: 23.69 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.0293/1.18, allocations: 6.615 MB / 1.076 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.42e-05/1.18, allocations: 8.906 kB / 1.076 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/1.19, allocations: 0.8468 MB / 1.077 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03842/1.229, allocations: 6.824 MB / 1.083 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/1.23, allocations: 417.3 kB / 1.084 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003632/1.234, allocations: 0.5068 MB / 1.084 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/1.267, allocations: 7.595 MB / 1.092 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005306/1.267, allocations: 24.47 kB / 1.092 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0026/1.27, allocations: 224.1 kB / 1.092 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003632/1.271, allocations: 169 kB / 1.092 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/1.293, allocations: 6.034 MB / 1.098 GB, free: 18.75 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.06764/1.361, allocations: 29.61 MB / 1.127 GB, free: 21.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/1.372, allocations: 3.597 MB / 1.13 GB, free: 20.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/1.374, allocations: 0.9994 MB / 1.131 GB, free: 19.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/1.374, allocations: 73.53 kB / 1.131 GB, free: 19.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 5.901e-06/1.374, allocations: 0 / 1.131 GB, free: 19.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.01579/1.39, allocations: 4.659 MB / 1.136 GB, free: 18.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.39, allocations: 81.45 kB / 1.136 GB, free: 18.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/1.407, allocations: 6.569 MB / 1.142 GB, free: 15.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009647/1.408, allocations: 84.3 kB / 1.143 GB, free: 15.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004198/1.412, allocations: 2.943 MB / 1.145 GB, free: 13.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.414, allocations: 0.9086 MB / 1.146 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/1.415, allocations: 67.47 kB / 1.146 GB, free: 12.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003849/1.415, allocations: 451.8 kB / 1.147 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004805/1.42, allocations: 1.616 MB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006177/1.426, allocations: 2.64 MB / 1.151 GB, free: 8.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006029/1.432, allocations: 2.21 MB / 1.153 GB, free: 7.727 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-05/1.432, allocations: 7.938 kB / 1.153 GB, free: 7.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01554/1.448, allocations: 4.923 MB / 1.158 GB, free: 5.395 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.007969/1.456, allocations: 15.03 MB / 1.173 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.456, allocations: 32.53 kB / 1.173 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/1.456, allocations: 56.48 kB / 1.173 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007098/1.463, allocations: 0.876 MB / 1.174 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.464, allocations: 1.255 MB / 1.175 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009239/1.474, allocations: 0.6534 MB / 1.175 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008862/1.475, allocations: 160 kB / 1.176 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.475, allocations: 4 kB / 1.176 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01339/1.488, allocations: 4.415 MB / 1.18 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.488, allocations: 32 kB / 1.18 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.282e-05/1.488, allocations: 56.12 kB / 1.18 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00686/1.495, allocations: 0.8647 MB / 1.181 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/1.495, allocations: 66.97 kB / 1.181 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00891/1.504, allocations: 0.5928 MB / 1.181 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/1.505, allocations: 160 kB / 1.182 GB, free: 13.44 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.007427/1.513, allocations: 2.5 MB / 1.184 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003072/1.516, allocations: 0.552 MB / 1.185 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.529, allocations: 3.882 MB / 1.188 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/1.529, allocations: 27.95 kB / 1.188 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.529, allocations: 0 / 1.188 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008706/1.538, allocations: 2.982 MB / 1.191 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03206/1.57, allocations: 9.876 MB / 1.201 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.57, allocations: 0 / 1.201 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005024/1.575, allocations: 0.557 MB / 1.202 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.482e-05/1.575, allocations: 8 kB / 1.202 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/1.575, allocations: 83.95 kB / 1.202 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/1.576, allocations: 1.187 MB / 1.203 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.576, allocations: 0 / 1.203 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.593, allocations: 5.736 MB / 1.208 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006282/1.599, allocations: 1.427 MB / 1.21 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002836/1.602, allocations: 59.98 kB / 1.21 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/1.612, allocations: 388.5 kB / 1.21 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008369/1.613, allocations: 157.8 kB / 1.21 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006196/1.614, allocations: 144.8 kB / 1.21 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01381/1.627, allocations: 4.683 MB / 1.215 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.52e-07/1.627, allocations: 2.297 kB / 1.215 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01672/1.644, allocations: 3.273 MB / 1.218 GB, free: 7.703 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.002204/1.646, allocations: 492.2 kB / 1.219 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01789/1.664, allocations: 5.989 MB / 1.225 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/1.664, allocations: 4.562 kB / 1.225 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00482/1.669, allocations: 1.586 MB / 1.226 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03184/1.701, allocations: 3.897 MB / 1.23 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/1.742, allocations: 15.66 MB / 1.245 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008709/1.75, allocations: 4.624 MB / 1.25 GB, free: 7.781 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0164/1.767, allocations: 2.891 MB / 1.253 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003074/1.77, allocations: 481.5 kB / 1.253 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of SimCode: time 1.062e-06/1.77, allocations: 0 / 1.253 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of Templates: time 0.3655/2.135, allocations: 127.8 MB / 1.378 GB, free: 5.906 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)