Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 293 MB / 309 MB, free: 4.824 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.001195/0.001195, allocations: 179.7 kB / 378.7 MB, free: 1.031 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.041/2.041, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.000904/0.000904, allocations: 94.31 kB / 0.7527 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004835, allocations: 19.98 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3266, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.986/7.312, allocations: 2.359 GB / 3.349 GB, free: 220.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/7.313, allocations: 99.95 kB / 3.349 GB, free: 220.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.003/10.32, allocations: 0.9249 GB / 4.274 GB, free: 15.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.188e-06/10.32, allocations: 4 kB / 4.274 GB, free: 15.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009495/10.32, allocations: 123.9 kB / 4.274 GB, free: 15.22 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.01901/10.34, allocations: 5.047 MB / 4.279 GB, free: 10.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/10.34, allocations: 8.031 kB / 4.279 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009213/10.35, allocations: 1.251 MB / 4.28 GB, free: 8.832 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/10.36, allocations: 5.29 MB / 4.286 GB, free: 3.473 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/10.36, allocations: 280.3 kB / 4.286 GB, free: 3.199 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002836/10.37, allocations: 379.9 kB / 4.286 GB, free: 2.828 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7752/11.14, allocations: 5.388 MB / 4.292 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/11.14, allocations: 12.27 kB / 4.292 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008225/11.14, allocations: 162.6 kB / 4.292 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/11.14, allocations: 169.8 kB / 4.292 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/11.16, allocations: 5.242 MB / 4.297 GB, free: 112.6 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.06143/11.22, allocations: 19.17 MB / 4.316 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/11.23, allocations: 3.543 MB / 4.319 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005259/11.24, allocations: 1.892 MB / 4.321 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002473/11.24, allocations: 1.862 MB / 4.323 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006641/11.25, allocations: 2.072 MB / 4.325 GB, free: 104.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 1.255e-05/11.25, allocations: 0 / 4.325 GB, free: 104.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.019/11.27, allocations: 5.103 MB / 4.33 GB, free: 104.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/11.27, allocations: 286.1 kB / 4.33 GB, free: 103.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/11.28, allocations: 3.605 MB / 4.334 GB, free: 103.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001666/11.28, allocations: 80.39 kB / 4.334 GB, free: 103.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00353/11.28, allocations: 1.973 MB / 4.336 GB, free: 103 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002571/11.29, allocations: 0.8988 MB / 4.337 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/11.29, allocations: 62.22 kB / 4.337 GB, free: 102.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002996/11.29, allocations: 422.6 kB / 4.337 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/11.29, allocations: 1.568 MB / 4.339 GB, free: 102.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/11.3, allocations: 2.278 MB / 4.341 GB, free: 101.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008304/11.3, allocations: 3.893 MB / 4.345 GB, free: 100.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-05/11.3, allocations: 2.781 kB / 4.345 GB, free: 100.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01234/11.32, allocations: 4.397 MB / 4.349 GB, free: 100.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005422/11.32, allocations: 0.5963 MB / 4.349 GB, free: 99.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/11.32, allocations: 20.88 kB / 4.349 GB, free: 99.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/11.32, allocations: 119.6 kB / 4.35 GB, free: 99.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/11.32, allocations: 0.7641 MB / 4.35 GB, free: 99.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/11.32, allocations: 1.569 MB / 4.352 GB, free: 98.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/11.33, allocations: 0.5081 MB / 4.352 GB, free: 98.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/11.33, allocations: 146.2 kB / 4.352 GB, free: 98.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/11.33, allocations: 5.344 kB / 4.352 GB, free: 98.45 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01328/11.35, allocations: 4.068 MB / 4.356 GB, free: 98.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/11.35, allocations: 18.62 kB / 4.356 GB, free: 98.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/11.35, allocations: 106.6 kB / 4.357 GB, free: 98.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/11.35, allocations: 0.7685 MB / 4.357 GB, free: 98.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/11.35, allocations: 1.579 MB / 4.359 GB, free: 97.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/11.36, allocations: 474.8 kB / 4.359 GB, free: 96.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/11.36, allocations: 146.4 kB / 4.359 GB, free: 96.98 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.005987/11.37, allocations: 1.514 MB / 4.361 GB, free: 96.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002405/11.37, allocations: 385.2 kB / 4.361 GB, free: 96.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/11.39, allocations: 4.339 MB / 4.366 GB, free: 96.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/11.39, allocations: 34.16 kB / 4.366 GB, free: 96.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/11.39, allocations: 6.719 kB / 4.366 GB, free: 96.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008918/11.4, allocations: 3.494 MB / 4.369 GB, free: 96.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/11.43, allocations: 9.219 MB / 4.378 GB, free: 95.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/11.43, allocations: 3.781 kB / 4.378 GB, free: 95.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/11.43, allocations: 0.6478 MB / 4.379 GB, free: 95.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/11.43, allocations: 104 kB / 4.379 GB, free: 95.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006185/11.43, allocations: 86.7 kB / 4.379 GB, free: 95.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/11.43, allocations: 1.569 MB / 4.38 GB, free: 93.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/11.43, allocations: 5.938 kB / 4.38 GB, free: 93.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/11.45, allocations: 6.078 MB / 4.386 GB, free: 93.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004671/11.45, allocations: 1.042 MB / 4.387 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002204/11.46, allocations: 62.5 kB / 4.387 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005455/11.46, allocations: 306.6 kB / 4.388 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007066/11.46, allocations: 193.2 kB / 4.388 GB, free: 92.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007849/11.46, allocations: 128.2 kB / 4.388 GB, free: 92.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00728/11.47, allocations: 2.531 MB / 4.39 GB, free: 92.72 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.11e-07/11.47, allocations: 0 / 4.39 GB, free: 92.72 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01542/11.49, allocations: 2.426 MB / 4.393 GB, free: 92.56 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.005315/11.49, allocations: 1.623 MB / 4.394 GB, free: 92.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01983/11.51, allocations: 6.124 MB / 4.4 GB, free: 92.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.893e-05/11.51, allocations: 1 kB / 4.4 GB, free: 92.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00609/11.52, allocations: 1.952 MB / 4.402 GB, free: 91.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0192/11.54, allocations: 2.055 MB / 4.404 GB, free: 91.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/11.57, allocations: 11.29 MB / 4.415 GB, free: 87.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005204/11.58, allocations: 3.034 MB / 4.418 GB, free: 87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01095/11.59, allocations: 2.049 MB / 4.42 GB, free: 86.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/11.59, allocations: 393.8 kB / 4.421 GB, free: 86.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/11.59, allocations: 1.438 kB / 4.421 GB, free: 86.96 MB / 0.948 GB Notification: Performance of Templates: time 0.1809/11.77, allocations: 91.02 MB / 4.51 GB, free: 81.47 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)