Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.665/2.665, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.001432/0.001431, allocations: 183 kB / 371.8 MB, free: 10.83 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.1/2.1, allocations: 205.4 MB / 0.6305 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.0009138/0.0009133, allocations: 98.27 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007276/0.0007278, allocations: 11.89 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2453, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.738/7.983, allocations: 2.358 GB / 3.337 GB, free: 332.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/7.984, allocations: 96.42 kB / 3.337 GB, free: 332.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.445/12.43, allocations: 0.9248 GB / 4.262 GB, free: 143.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.795e-06/12.43, allocations: 0 / 4.262 GB, free: 143.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008617/12.43, allocations: 125.8 kB / 4.262 GB, free: 143.5 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.02141/12.45, allocations: 5.038 MB / 4.267 GB, free: 138.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/12.45, allocations: 8.031 kB / 4.267 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/12.46, allocations: 1.266 MB / 4.268 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/12.48, allocations: 5.274 MB / 4.273 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/12.49, allocations: 278.8 kB / 4.274 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/12.49, allocations: 375.2 kB / 4.274 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/12.51, allocations: 5.387 MB / 4.279 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/12.51, allocations: 11.84 kB / 4.279 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008425/12.51, allocations: 159.5 kB / 4.279 GB, free: 125.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/12.51, allocations: 175.2 kB / 4.28 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/12.53, allocations: 5.243 MB / 4.285 GB, free: 120.2 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.04952/12.58, allocations: 19.18 MB / 4.303 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/12.59, allocations: 3.553 MB / 4.307 GB, free: 97.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006979/12.6, allocations: 1.893 MB / 4.309 GB, free: 95.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002818/12.6, allocations: 1.873 MB / 4.311 GB, free: 92.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00784/12.61, allocations: 2.065 MB / 4.313 GB, free: 90.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 6.542e-06/12.61, allocations: 0 / 4.313 GB, free: 90.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=265): time 0.02353/12.63, allocations: 5.126 MB / 4.318 GB, free: 85.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/12.63, allocations: 291.1 kB / 4.318 GB, free: 85.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008395/12.64, allocations: 3.595 MB / 4.321 GB, free: 81.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/12.64, allocations: 77.7 kB / 4.321 GB, free: 81.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/12.64, allocations: 1.968 MB / 4.323 GB, free: 79.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/12.65, allocations: 0.9034 MB / 4.324 GB, free: 78.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/12.65, allocations: 60 kB / 4.324 GB, free: 78.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002331/12.65, allocations: 424 kB / 4.325 GB, free: 78.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00623/12.65, allocations: 1.559 MB / 4.326 GB, free: 76.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007338/12.66, allocations: 2.274 MB / 4.328 GB, free: 74.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/12.67, allocations: 3.896 MB / 4.332 GB, free: 69.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/12.67, allocations: 4 kB / 4.332 GB, free: 69.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01881/12.69, allocations: 4.403 MB / 4.337 GB, free: 65.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003648/12.69, allocations: 0.601 MB / 4.337 GB, free: 64.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/12.69, allocations: 20 kB / 4.337 GB, free: 64.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/12.69, allocations: 116.7 kB / 4.337 GB, free: 64.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007562/12.7, allocations: 0.7645 MB / 4.338 GB, free: 63.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/12.7, allocations: 1.562 MB / 4.34 GB, free: 62.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008261/12.71, allocations: 0.5043 MB / 4.34 GB, free: 61.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/12.71, allocations: 147.9 kB / 4.34 GB, free: 61.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/12.71, allocations: 4 kB / 4.34 GB, free: 61.39 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01642/12.73, allocations: 4.058 MB / 4.344 GB, free: 57.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/12.73, allocations: 16.11 kB / 4.344 GB, free: 57.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009557/12.73, allocations: 120.9 kB / 4.344 GB, free: 57.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007389/12.74, allocations: 0.7683 MB / 4.345 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/12.74, allocations: 1.567 MB / 4.347 GB, free: 54.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007544/12.75, allocations: 481 kB / 4.347 GB, free: 54.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/12.75, allocations: 143.9 kB / 4.347 GB, free: 54.06 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 (371): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.004581/12.75, allocations: 1.507 MB / 4.349 GB, free: 52.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/12.76, allocations: 383.3 kB / 4.349 GB, free: 52.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/12.77, allocations: 4.463 MB / 4.353 GB, free: 47.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-05/12.77, allocations: 28 kB / 4.353 GB, free: 47.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/12.77, allocations: 0 / 4.353 GB, free: 47.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01681/12.79, allocations: 3.499 MB / 4.357 GB, free: 44.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0352/12.83, allocations: 9.215 MB / 4.366 GB, free: 34.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/12.83, allocations: 4 kB / 4.366 GB, free: 34.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007016/12.83, allocations: 0.6519 MB / 4.366 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009199/12.83, allocations: 92.78 kB / 4.367 GB, free: 33.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008209/12.84, allocations: 95.91 kB / 4.367 GB, free: 33.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/12.84, allocations: 1.567 MB / 4.368 GB, free: 32.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/12.84, allocations: 7.938 kB / 4.368 GB, free: 32.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/12.86, allocations: 6.06 MB / 4.374 GB, free: 25.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004183/12.87, allocations: 1.046 MB / 4.375 GB, free: 24.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001803/12.87, allocations: 63.98 kB / 4.375 GB, free: 24.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007604/12.88, allocations: 319.4 kB / 4.375 GB, free: 24.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008949/12.88, allocations: 189.7 kB / 4.376 GB, free: 24.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006505/12.88, allocations: 135.9 kB / 4.376 GB, free: 24.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006873/12.88, allocations: 2.526 MB / 4.378 GB, free: 21.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/12.88, allocations: 0 / 4.378 GB, free: 21.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01234/12.9, allocations: 2.43 MB / 4.381 GB, free: 19.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.004716/12.9, allocations: 1.621 MB / 4.382 GB, free: 17.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02302/12.92, allocations: 6.127 MB / 4.388 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/12.92, allocations: 1 kB / 4.388 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/12.93, allocations: 1.956 MB / 4.39 GB, free: 9.633 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02198/12.95, allocations: 2.055 MB / 4.392 GB, free: 7.602 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7972/13.75, allocations: 11.28 MB / 4.403 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007704/13.76, allocations: 3.033 MB / 4.406 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01671/13.78, allocations: 2.04 MB / 4.408 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003257/13.78, allocations: 394.5 kB / 4.408 GB, free: 180.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/13.78, allocations: 0 / 4.408 GB, free: 180.5 MB / 0.948 GB Notification: Performance of Templates: time 0.2284/14.01, allocations: 90.06 MB / 4.496 GB, free: 176.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)