Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.85/1.85, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 175 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 91.3 kB / 0.7808 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004575, allocations: 11.94 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.814, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.185/5.999, allocations: 2.191 GB / 3.218 GB, free: 38.02 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.999, allocations: 100.6 kB / 3.218 GB, free: 37.92 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.701/9.701, allocations: 0.9277 GB / 4.146 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.266e-06/9.701, allocations: 2.25 kB / 4.146 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001064/9.702, allocations: 124.5 kB / 4.146 GB, free: 175.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.02059/9.722, allocations: 5.088 MB / 4.151 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/9.722, allocations: 7.469 kB / 4.151 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008802/9.731, allocations: 1.283 MB / 4.152 GB, free: 173.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/9.747, allocations: 5.294 MB / 4.157 GB, free: 172.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/9.748, allocations: 285.1 kB / 4.157 GB, free: 172.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/9.75, allocations: 385.5 kB / 4.158 GB, free: 172.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/9.766, allocations: 5.444 MB / 4.163 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/9.766, allocations: 11.5 kB / 4.163 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/9.768, allocations: 163.9 kB / 4.163 GB, free: 171.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/9.768, allocations: 180.5 kB / 4.163 GB, free: 171.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/9.782, allocations: 5.293 MB / 4.168 GB, free: 170.1 MB / 0.9792 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.04068/9.823, allocations: 19.58 MB / 4.188 GB, free: 158.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008011/9.831, allocations: 3.583 MB / 4.191 GB, free: 157.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003833/9.835, allocations: 1.908 MB / 4.193 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/9.837, allocations: 1.868 MB / 4.195 GB, free: 154.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004978/9.842, allocations: 2.095 MB / 4.197 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=268): time 7.855e-06/9.842, allocations: 0 / 4.197 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=268): time 0.01389/9.856, allocations: 5.154 MB / 4.202 GB, free: 152 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/9.856, allocations: 291.5 kB / 4.202 GB, free: 151.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009341/9.865, allocations: 3.622 MB / 4.206 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/9.867, allocations: 80.95 kB / 4.206 GB, free: 150.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00324/9.87, allocations: 1.968 MB / 4.208 GB, free: 148.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002386/9.872, allocations: 0.9089 MB / 4.209 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000897/9.873, allocations: 59.81 kB / 4.209 GB, free: 148.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003961/9.874, allocations: 424.7 kB / 4.209 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/9.878, allocations: 1.56 MB / 4.211 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/9.883, allocations: 2.274 MB / 4.213 GB, free: 145.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/9.891, allocations: 3.906 MB / 4.217 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/9.891, allocations: 6.188 kB / 4.217 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01228/9.903, allocations: 4.407 MB / 4.221 GB, free: 142.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003981/9.904, allocations: 0.6023 MB / 4.221 GB, free: 141.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/9.904, allocations: 15.25 kB / 4.222 GB, free: 141.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/9.904, allocations: 112.1 kB / 4.222 GB, free: 141.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/9.909, allocations: 0.7892 MB / 4.222 GB, free: 141.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/9.911, allocations: 2.169 MB / 4.225 GB, free: 139.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005835/9.917, allocations: 0.5118 MB / 4.225 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009569/9.918, allocations: 145.4 kB / 4.225 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/9.918, allocations: 6.469 kB / 4.225 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01103/9.929, allocations: 4.06 MB / 4.229 GB, free: 137.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.554e-05/9.929, allocations: 22.58 kB / 4.229 GB, free: 137.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/9.929, allocations: 110.8 kB / 4.229 GB, free: 137.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/9.933, allocations: 0.772 MB / 4.23 GB, free: 137.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/9.935, allocations: 1.561 MB / 4.232 GB, free: 136.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00549/9.941, allocations: 488.8 kB / 4.232 GB, free: 136 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000886/9.942, allocations: 145 kB / 4.232 GB, free: 136 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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.004593/9.946, allocations: 1.521 MB / 4.234 GB, free: 135.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/9.948, allocations: 390.1 kB / 4.234 GB, free: 135 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/9.96, allocations: 4.389 MB / 4.238 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/9.96, allocations: 34.19 kB / 4.238 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/9.96, allocations: 5 kB / 4.238 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008136/9.969, allocations: 3.523 MB / 4.242 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/9.991, allocations: 9.016 MB / 4.251 GB, free: 125.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/9.991, allocations: 4 kB / 4.251 GB, free: 125.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/9.995, allocations: 0.6656 MB / 4.251 GB, free: 125 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/9.995, allocations: 95.14 kB / 4.251 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/9.996, allocations: 87.92 kB / 4.251 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/9.998, allocations: 2.157 MB / 4.253 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/9.998, allocations: 0 / 4.253 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/10.01, allocations: 6.078 MB / 4.259 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003564/10.02, allocations: 1.053 MB / 4.26 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/10.02, allocations: 59.98 kB / 4.261 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004802/10.02, allocations: 337.2 kB / 4.261 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000563/10.02, allocations: 178 kB / 4.261 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000562/10.02, allocations: 127.9 kB / 4.261 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005575/10.03, allocations: 2.554 MB / 4.264 GB, free: 112 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.21e-07/10.03, allocations: 0 / 4.264 GB, free: 112 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0113/10.04, allocations: 2.449 MB / 4.266 GB, free: 109.6 MB / 0.9792 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 (288): * Single equations (assignments): 278 * 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.004295/10.04, allocations: 1.68 MB / 4.268 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01489/10.06, allocations: 6.174 MB / 4.274 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/10.06, allocations: 5.328 kB / 4.274 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004607/10.06, allocations: 1.982 MB / 4.276 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01346/10.08, allocations: 2.062 MB / 4.278 GB, free: 98.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/10.1, allocations: 11.27 MB / 4.289 GB, free: 86.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/10.1, allocations: 3.046 MB / 4.292 GB, free: 83.87 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009779/10.11, allocations: 2.028 MB / 4.294 GB, free: 81.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/10.12, allocations: 399.2 kB / 4.294 GB, free: 81.52 MB / 0.9792 GB Notification: Performance of SimCode: time 9.12e-07/10.12, allocations: 4 kB / 4.294 GB, free: 81.52 MB / 0.9792 GB Notification: Performance of Templates: time 0.1462/10.26, allocations: 91.53 MB / 4.383 GB, free: 7.516 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)