Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.112/2.112, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 181.8 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.411/2.411, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 101.6 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007403/0.0007409, allocations: 11.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2232, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.615/7.838, allocations: 2.474 GB / 3.374 GB, free: 44.16 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/7.839, allocations: 98.45 kB / 3.374 GB, free: 44.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.879/12.72, allocations: 0.9034 GB / 4.277 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.266e-06/12.72, allocations: 0 / 4.277 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009562/12.72, allocations: 127.4 kB / 4.277 GB, free: 184 MB / 0.8855 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.02255/12.74, allocations: 5.085 MB / 4.282 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/12.74, allocations: 11.81 kB / 4.282 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/12.75, allocations: 1.253 MB / 4.284 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02005/12.77, allocations: 5.138 MB / 4.289 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/12.77, allocations: 280.3 kB / 4.289 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/12.78, allocations: 379.4 kB / 4.289 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/12.8, allocations: 5.342 MB / 4.295 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/12.8, allocations: 7.938 kB / 4.295 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001391/12.8, allocations: 158 kB / 4.295 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/12.8, allocations: 171.2 kB / 4.295 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/12.82, allocations: 5.249 MB / 4.3 GB, free: 163.1 MB / 0.8855 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.04949/12.87, allocations: 19.14 MB / 4.319 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/12.89, allocations: 3.54 MB / 4.322 GB, free: 140 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00716/12.89, allocations: 1.89 MB / 4.324 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003011/12.9, allocations: 1.88 MB / 4.326 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008369/12.9, allocations: 2.042 MB / 4.328 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=265): time 7.104e-06/12.9, allocations: 0 / 4.328 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=265): time 0.02572/12.93, allocations: 5.114 MB / 4.333 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/12.93, allocations: 287.1 kB / 4.333 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009806/12.94, allocations: 3.599 MB / 4.337 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/12.94, allocations: 77.7 kB / 4.337 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002976/12.94, allocations: 1.966 MB / 4.339 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/12.95, allocations: 0.9014 MB / 4.339 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/12.95, allocations: 60 kB / 4.34 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002714/12.95, allocations: 424 kB / 4.34 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007005/12.95, allocations: 1.571 MB / 4.341 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00767/12.96, allocations: 2.264 MB / 4.344 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00784/12.97, allocations: 1.905 MB / 4.346 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/12.97, allocations: 11.94 kB / 4.346 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01904/12.99, allocations: 4.4 MB / 4.35 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003478/12.99, allocations: 0.602 MB / 4.35 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/12.99, allocations: 23.88 kB / 4.35 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/12.99, allocations: 108.8 kB / 4.351 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007665/13, allocations: 0.7645 MB / 4.351 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/13, allocations: 1.563 MB / 4.353 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00808/13.01, allocations: 0.5004 MB / 4.353 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/13.01, allocations: 147.9 kB / 4.353 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/13.01, allocations: 4 kB / 4.353 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01716/13.03, allocations: 4.066 MB / 4.357 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/13.03, allocations: 20 kB / 4.357 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009577/13.03, allocations: 116.7 kB / 4.358 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007555/13.04, allocations: 0.7682 MB / 4.358 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/13.04, allocations: 1.561 MB / 4.36 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007649/13.05, allocations: 473 kB / 4.36 GB, free: 99.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/13.05, allocations: 147.9 kB / 4.36 GB, free: 99.32 MB / 0.8855 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.004871/13.05, allocations: 1.515 MB / 4.362 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/13.05, allocations: 379.4 kB / 4.362 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/13.07, allocations: 4.466 MB / 4.367 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/13.07, allocations: 28 kB / 4.367 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/13.07, allocations: 3.984 kB / 4.367 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01496/13.09, allocations: 3.499 MB / 4.37 GB, free: 89.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03278/13.12, allocations: 9.177 MB / 4.379 GB, free: 79.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/13.12, allocations: 4 kB / 4.379 GB, free: 79.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007096/13.13, allocations: 0.6517 MB / 4.38 GB, free: 79.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009388/13.13, allocations: 96.77 kB / 4.38 GB, free: 79.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008856/13.13, allocations: 91.86 kB / 4.38 GB, free: 79.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/13.13, allocations: 1.575 MB / 4.381 GB, free: 77.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/13.13, allocations: 4 kB / 4.381 GB, free: 77.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/13.16, allocations: 6.064 MB / 4.387 GB, free: 71.19 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004103/13.16, allocations: 1.03 MB / 4.388 GB, free: 70.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/13.16, allocations: 67.92 kB / 4.388 GB, free: 70.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007494/13.17, allocations: 311.4 kB / 4.389 GB, free: 69.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008858/13.17, allocations: 193.7 kB / 4.389 GB, free: 69.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005994/13.17, allocations: 127.9 kB / 4.389 GB, free: 69.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007045/13.18, allocations: 2.526 MB / 4.391 GB, free: 66.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.81e-07/13.18, allocations: 0 / 4.391 GB, free: 66.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01272/13.19, allocations: 2.411 MB / 4.394 GB, free: 64.53 MB / 0.8855 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.004702/13.2, allocations: 1.635 MB / 4.395 GB, free: 63.33 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02394/13.22, allocations: 6.129 MB / 4.401 GB, free: 57.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/13.22, allocations: 2.312 kB / 4.401 GB, free: 57.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007873/13.23, allocations: 1.952 MB / 4.403 GB, free: 55.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01971/13.25, allocations: 2.082 MB / 4.405 GB, free: 53.17 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/13.28, allocations: 11.28 MB / 4.416 GB, free: 41.88 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005197/13.29, allocations: 3.026 MB / 4.419 GB, free: 38.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01382/13.3, allocations: 2.038 MB / 4.421 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/13.3, allocations: 391.2 kB / 4.422 GB, free: 36.46 MB / 0.8855 GB Notification: Performance of SimCode: time 2.584e-06/13.3, allocations: 0 / 4.422 GB, free: 36.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.9126/14.22, allocations: 88.99 MB / 4.509 GB, free: 173.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)