Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 285.6 MB / 293.1 MB, free: 10.12 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.001355/0.001355, allocations: 172.9 kB / 361.4 MB, free: 6.801 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.583/1.583, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008735, allocations: 92.98 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.612e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6888, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.812/6.501, allocations: 2.357 GB / 3.321 GB, free: 121.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/6.501, allocations: 101.9 kB / 3.321 GB, free: 121.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.044/10.54, allocations: 0.9202 GB / 4.242 GB, free: 171.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.306e-06/10.54, allocations: 0 / 4.242 GB, free: 171.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001493/10.55, allocations: 122.7 kB / 4.242 GB, free: 171.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02306/10.57, allocations: 4.259 MB / 4.246 GB, free: 169.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/10.57, allocations: 12.12 kB / 4.246 GB, free: 169.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/10.58, allocations: 1.255 MB / 4.247 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/10.6, allocations: 5.387 MB / 4.252 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/10.6, allocations: 121.2 kB / 4.253 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/10.6, allocations: 215.5 kB / 4.253 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0155/10.62, allocations: 4.355 MB / 4.257 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/10.64, allocations: 4.518 MB / 4.261 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004893/10.64, allocations: 16.22 kB / 4.261 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/10.64, allocations: 7.438 kB / 4.261 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/10.64, allocations: 171 kB / 4.262 GB, free: 168.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.05565/10.7, allocations: 18.87 MB / 4.28 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/10.71, allocations: 3.121 MB / 4.283 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/10.71, allocations: 1.603 MB / 4.285 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0025/10.71, allocations: 1.873 MB / 4.286 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005164/10.72, allocations: 1.769 MB / 4.288 GB, free: 159.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 1.19e-05/10.72, allocations: 1.875 kB / 4.288 GB, free: 159.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.06397/10.78, allocations: 7.333 MB / 4.295 GB, free: 159.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/10.78, allocations: 289.1 kB / 4.296 GB, free: 159.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007589/10.79, allocations: 2.968 MB / 4.298 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/10.79, allocations: 28.8 kB / 4.299 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002319/10.79, allocations: 1.964 MB / 4.3 GB, free: 158 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/10.8, allocations: 0.8755 MB / 4.301 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/10.8, allocations: 0 / 4.301 GB, free: 157.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001907/10.8, allocations: 422.3 kB / 4.302 GB, free: 157.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/10.8, allocations: 1.286 MB / 4.303 GB, free: 157.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/10.8, allocations: 1.962 MB / 4.305 GB, free: 156.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1503/10.95, allocations: 13.16 MB / 4.318 GB, free: 156.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.373e-05/10.95, allocations: 10.83 kB / 4.318 GB, free: 156.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.1526/11.1, allocations: 15.22 MB / 4.333 GB, free: 155.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001574/11.11, allocations: 7.291 MB / 4.34 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/11.11, allocations: 18.91 kB / 4.34 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/11.11, allocations: 115.6 kB / 4.34 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/11.11, allocations: 0.8032 MB / 4.341 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/11.11, allocations: 2.099 MB / 4.343 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/11.12, allocations: 442.1 kB / 4.343 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007467/11.12, allocations: 149.5 kB / 4.343 GB, free: 145.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/11.12, allocations: 4.391 kB / 4.343 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1488/11.27, allocations: 14.84 MB / 4.358 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/11.27, allocations: 21.09 kB / 4.358 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/11.27, allocations: 115.6 kB / 4.358 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/11.27, allocations: 0.8009 MB / 4.359 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/11.27, allocations: 1.503 MB / 4.36 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/11.28, allocations: 396 kB / 4.36 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000581/11.28, allocations: 138.9 kB / 4.361 GB, free: 143.3 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * 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.0009456/11.28, allocations: 187.4 kB / 4.361 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/11.28, allocations: 358.3 kB / 4.361 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05896/11.34, allocations: 8.059 MB / 4.369 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/11.34, allocations: 26.16 kB / 4.369 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/11.34, allocations: 3.906 kB / 4.369 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05611/11.4, allocations: 7.269 MB / 4.376 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06746/11.46, allocations: 12.28 MB / 4.388 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/11.46, allocations: 7.422 kB / 4.388 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/11.47, allocations: 0.6364 MB / 4.389 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/11.47, allocations: 89.3 kB / 4.389 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/11.47, allocations: 59.86 kB / 4.389 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/11.47, allocations: 2.082 MB / 4.391 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/11.47, allocations: 4.062 kB / 4.391 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06074/11.53, allocations: 9.589 MB / 4.4 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003457/11.53, allocations: 1.044 MB / 4.401 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/11.54, allocations: 13.09 kB / 4.401 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/11.54, allocations: 289.4 kB / 4.402 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/11.54, allocations: 169.8 kB / 4.402 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/11.54, allocations: 134.4 kB / 4.402 GB, free: 135.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003506/11.54, allocations: 2.285 MB / 4.404 GB, free: 134.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/11.54, allocations: 0 / 4.404 GB, free: 134.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008693/11.55, allocations: 2.322 MB / 4.406 GB, free: 134 MB / 0.948 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) * 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.003352/11.56, allocations: 1.639 MB / 4.408 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008404/11.56, allocations: 5.342 MB / 4.413 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/11.56, allocations: 5.109 kB / 4.413 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/11.57, allocations: 1.697 MB / 4.415 GB, free: 128.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009856/11.58, allocations: 1.744 MB / 4.417 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/11.59, allocations: 7.614 MB / 4.424 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004073/11.6, allocations: 3.119 MB / 4.427 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01007/11.61, allocations: 2.749 MB / 4.43 GB, free: 116.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/11.61, allocations: 308.6 kB / 4.43 GB, free: 116 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/11.61, allocations: 0 / 4.43 GB, free: 116 MB / 0.948 GB Notification: Performance of Templates: time 0.134/11.74, allocations: 79.45 MB / 4.508 GB, free: 42.02 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)