Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001197/0.001197, allocations: 173 kB / 377.1 MB, free: 1.512 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.081/2.081, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009422/0.0009421, allocations: 98.08 kB / 0.751 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.419, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.532/7.951, allocations: 2.359 GB / 3.347 GB, free: 224.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/7.952, allocations: 100.6 kB / 3.347 GB, free: 224.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.348/11.3, allocations: 0.9286 GB / 4.276 GB, free: 16.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.845e-06/11.3, allocations: 0 / 4.276 GB, free: 16.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009566/11.3, allocations: 123.9 kB / 4.276 GB, free: 16.52 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.0208/11.32, allocations: 5.086 MB / 4.281 GB, free: 11.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/11.32, allocations: 12.02 kB / 4.281 GB, free: 11.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00954/11.33, allocations: 1.247 MB / 4.282 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/11.35, allocations: 5.425 MB / 4.287 GB, free: 4.594 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/11.35, allocations: 283.4 kB / 4.288 GB, free: 4.316 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/11.35, allocations: 379.9 kB / 4.288 GB, free: 3.945 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7872/12.14, allocations: 5.343 MB / 4.293 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/12.14, allocations: 14.83 kB / 4.293 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/12.14, allocations: 157.4 kB / 4.293 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/12.14, allocations: 178.6 kB / 4.293 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/12.16, allocations: 5.22 MB / 4.299 GB, free: 112 MB / 0.948 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.05749/12.22, allocations: 19.58 MB / 4.318 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/12.23, allocations: 3.643 MB / 4.321 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/12.23, allocations: 1.866 MB / 4.323 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005612/12.23, allocations: 2.061 MB / 4.325 GB, free: 103.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 1.118e-05/12.23, allocations: 0.5625 kB / 4.325 GB, free: 103.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01539/12.25, allocations: 5.091 MB / 4.33 GB, free: 103.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/12.25, allocations: 289.7 kB / 4.33 GB, free: 102.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009403/12.26, allocations: 3.47 MB / 4.334 GB, free: 102.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008612/12.26, allocations: 82.08 kB / 4.334 GB, free: 102.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003061/12.26, allocations: 1.966 MB / 4.336 GB, free: 102.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/12.27, allocations: 0.9084 MB / 4.337 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/12.27, allocations: 59.44 kB / 4.337 GB, free: 101.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003222/12.27, allocations: 423.5 kB / 4.337 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/12.27, allocations: 1.545 MB / 4.339 GB, free: 101.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/12.27, allocations: 2.244 MB / 4.341 GB, free: 100.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00448/12.28, allocations: 1.888 MB / 4.343 GB, free: 100.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/12.28, allocations: 5.844 kB / 4.343 GB, free: 100.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01159/12.29, allocations: 4.361 MB / 4.347 GB, free: 100.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002047/12.29, allocations: 7.416 MB / 4.354 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-05/12.29, allocations: 18.09 kB / 4.354 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007431/12.29, allocations: 118.1 kB / 4.354 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/12.3, allocations: 0.8071 MB / 4.355 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/12.3, allocations: 2.169 MB / 4.357 GB, free: 90.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006609/12.31, allocations: 0.5194 MB / 4.358 GB, free: 90.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006686/12.31, allocations: 148.8 kB / 4.358 GB, free: 90.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/12.31, allocations: 7.047 kB / 4.358 GB, free: 90.51 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01013/12.32, allocations: 4.025 MB / 4.362 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.914e-05/12.32, allocations: 15.94 kB / 4.362 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/12.32, allocations: 111.6 kB / 4.362 GB, free: 90.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/12.32, allocations: 0.8029 MB / 4.363 GB, free: 90.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/12.32, allocations: 1.579 MB / 4.364 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005505/12.33, allocations: 489.9 kB / 4.365 GB, free: 89.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006349/12.33, allocations: 142.2 kB / 4.365 GB, free: 89.05 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 () * Number of clocked 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.004874/12.34, allocations: 1.516 MB / 4.366 GB, free: 88.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/12.34, allocations: 387.3 kB / 4.367 GB, free: 88.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/12.35, allocations: 4.364 MB / 4.371 GB, free: 88.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/12.35, allocations: 28.16 kB / 4.371 GB, free: 88.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/12.35, allocations: 3.953 kB / 4.371 GB, free: 88.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008066/12.36, allocations: 3.488 MB / 4.374 GB, free: 88.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02818/12.39, allocations: 8.999 MB / 4.383 GB, free: 87.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/12.39, allocations: 3.469 kB / 4.383 GB, free: 87.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/12.39, allocations: 0.6448 MB / 4.384 GB, free: 87.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006016/12.39, allocations: 89.69 kB / 4.384 GB, free: 87.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007076/12.39, allocations: 92.3 kB / 4.384 GB, free: 87.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/12.4, allocations: 2.169 MB / 4.386 GB, free: 85.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/12.4, allocations: 0 / 4.386 GB, free: 85.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/12.41, allocations: 6.073 MB / 4.392 GB, free: 84.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004433/12.42, allocations: 1.09 MB / 4.393 GB, free: 84.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/12.42, allocations: 57.19 kB / 4.393 GB, free: 84.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005492/12.42, allocations: 334.8 kB / 4.393 GB, free: 84.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006227/12.42, allocations: 176.9 kB / 4.394 GB, free: 84.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007195/12.42, allocations: 130.5 kB / 4.394 GB, free: 84.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007674/12.43, allocations: 2.742 MB / 4.396 GB, free: 84.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/12.43, allocations: 0 / 4.396 GB, free: 84.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01417/12.45, allocations: 2.429 MB / 4.399 GB, free: 84.35 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) * 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.005785/12.45, allocations: 1.633 MB / 4.4 GB, free: 84.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01828/12.47, allocations: 6.111 MB / 4.406 GB, free: 83.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-05/12.47, allocations: 4.109 kB / 4.406 GB, free: 83.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005891/12.48, allocations: 1.95 MB / 4.408 GB, free: 83.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01384/12.49, allocations: 2.033 MB / 4.41 GB, free: 83.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/12.52, allocations: 11.16 MB / 4.421 GB, free: 79.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007934/12.53, allocations: 3.116 MB / 4.424 GB, free: 78.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01181/12.54, allocations: 2.071 MB / 4.426 GB, free: 78.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/12.54, allocations: 398.4 kB / 4.427 GB, free: 78.84 MB / 0.948 GB Notification: Performance of SimCode: time 2.475e-06/12.54, allocations: 0 / 4.427 GB, free: 78.84 MB / 0.948 GB Notification: Performance of Templates: time 0.1712/12.72, allocations: 90.89 MB / 4.515 GB, free: 73.28 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)