Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.794/2.794, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001547/0.001547, allocations: 185.4 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.16/2.16, 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.001173/0.001173, allocations: 99.66 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006905/0.0006908, allocations: 12.28 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.215, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.04181/0.2569, allocations: 30.89 MB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.8968/1.154, allocations: 135.6 MB / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/1.157, allocations: 47.81 kB / 1.141 GB, free: 14.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003053/1.16, allocations: 0.5224 MB / 1.141 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008653/1.169, allocations: 1.684 MB / 1.143 GB, free: 13.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008794/1.177, allocations: 1.795 MB / 1.145 GB, free: 13.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01699/1.194, allocations: 6.832 MB / 1.151 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/1.207, allocations: 4.561 MB / 1.156 GB, free: 7.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009623/1.216, allocations: 2.775 MB / 1.159 GB, free: 6.207 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007045/1.223, allocations: 2.296 MB / 1.161 GB, free: 4.816 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001801/1.225, allocations: 176.7 kB / 1.161 GB, free: 4.816 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006947/1.232, allocations: 0.9971 MB / 1.162 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002712/1.235, allocations: 0.9138 MB / 1.163 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/1.238, allocations: 1.039 MB / 1.164 GB, free: 3.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/1.251, allocations: 6.848 MB / 1.171 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.251, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.887e-06/1.251, allocations: 3.984 kB / 1.171 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003215/1.252, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.01825/1.27, allocations: 4.944 MB / 1.175 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.27, allocations: 10.12 kB / 1.175 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/1.285, allocations: 1.427 MB / 1.177 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01784/1.302, allocations: 4.632 MB / 1.181 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/1.303, allocations: 306.1 kB / 1.182 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/1.305, allocations: 394 kB / 1.182 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/1.329, allocations: 5.785 MB / 1.188 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/1.329, allocations: 11.84 kB / 1.188 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/1.331, allocations: 168 kB / 1.188 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/1.331, allocations: 187.5 kB / 1.188 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/1.355, allocations: 5.576 MB / 1.193 GB, free: 12.82 MB / 0.7292 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.05525/1.411, allocations: 20.52 MB / 1.213 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/1.425, allocations: 3.664 MB / 1.217 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003738/1.429, allocations: 1.903 MB / 1.219 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008577/1.438, allocations: 2.077 MB / 1.221 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=267): time 7.034e-06/1.438, allocations: 0 / 1.221 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=267): time 0.02517/1.463, allocations: 5.113 MB / 1.226 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/1.463, allocations: 239.7 kB / 1.226 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009893/1.473, allocations: 3.734 MB / 1.23 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000873/1.474, allocations: 85.69 kB / 1.23 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003219/1.477, allocations: 2.03 MB / 1.232 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.479, allocations: 0.9166 MB / 1.233 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/1.48, allocations: 56 kB / 1.233 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00033/1.48, allocations: 424 kB / 1.233 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006873/1.487, allocations: 1.54 MB / 1.235 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/1.495, allocations: 2.223 MB / 1.237 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007933/1.503, allocations: 1.883 MB / 1.239 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/1.503, allocations: 4 kB / 1.239 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01962/1.522, allocations: 4.371 MB / 1.243 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00321/1.526, allocations: 7.513 MB / 1.25 GB, free: 248 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.438e-05/1.526, allocations: 20 kB / 1.25 GB, free: 228 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.527, allocations: 116.7 kB / 1.25 GB, free: 108 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007937/1.535, allocations: 0.8112 MB / 1.251 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/1.539, allocations: 2.165 MB / 1.253 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007353/1.546, allocations: 0.5236 MB / 1.254 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009179/1.547, allocations: 139.9 kB / 1.254 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.547, allocations: 4 kB / 1.254 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01773/1.565, allocations: 4.034 MB / 1.258 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.722e-05/1.565, allocations: 20 kB / 1.258 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009707/1.566, allocations: 117.3 kB / 1.258 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007682/1.573, allocations: 0.7956 MB / 1.259 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/1.577, allocations: 1.584 MB / 1.26 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/1.584, allocations: 490.3 kB / 1.261 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009682/1.585, allocations: 147.9 kB / 1.261 GB, free: 4.945 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005059/1.59, allocations: 1.529 MB / 1.263 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.592, allocations: 391.2 kB / 1.263 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/1.612, allocations: 4.397 MB / 1.267 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/1.612, allocations: 28 kB / 1.267 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.612, allocations: 0 / 1.267 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01539/1.627, allocations: 3.512 MB / 1.271 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03236/1.66, allocations: 8.958 MB / 1.279 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.66, allocations: 4 kB / 1.279 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006823/1.666, allocations: 0.6397 MB / 1.28 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009195/1.667, allocations: 92.77 kB / 1.28 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006629/1.668, allocations: 87.92 kB / 1.28 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/1.671, allocations: 2.161 MB / 1.282 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.671, allocations: 0 / 1.282 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02505/1.696, allocations: 6.254 MB / 1.288 GB, free: 8.367 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004203/1.701, allocations: 1.073 MB / 1.289 GB, free: 7.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.702, allocations: 63.98 kB / 1.29 GB, free: 7.207 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007071/1.709, allocations: 323.4 kB / 1.29 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009046/1.71, allocations: 170 kB / 1.29 GB, free: 6.723 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006071/1.711, allocations: 132 kB / 1.29 GB, free: 6.594 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007199/1.718, allocations: 2.648 MB / 1.293 GB, free: 3.965 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.52e-07/1.718, allocations: 0 / 1.293 GB, free: 3.965 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01122/1.729, allocations: 2.31 MB / 1.295 GB, free: 1.648 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003472/1.733, allocations: 0.87 MB / 1.296 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02503/1.758, allocations: 6.151 MB / 1.302 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/1.758, allocations: 5 kB / 1.302 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.008029/1.766, allocations: 1.999 MB / 1.304 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01659/1.783, allocations: 2.01 MB / 1.306 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/1.816, allocations: 11.48 MB / 1.317 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005938/1.822, allocations: 3.184 MB / 1.32 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01528/1.838, allocations: 2.13 MB / 1.322 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/1.841, allocations: 391.2 kB / 1.322 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/1.841, allocations: 0 / 1.322 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.2174/2.058, allocations: 79.89 MB / 1.401 GB, free: 6.051 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)