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.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.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.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001027/0.001027, allocations: 180.9 kB / 366.7 MB, free: 1.637 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.628/1.628, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008386/0.0008384, allocations: 88.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.278e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7604, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.004/6.765, allocations: 2.358 GB / 3.331 GB, free: 132.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/6.765, allocations: 92.5 kB / 3.331 GB, free: 132.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.422/10.19, allocations: 0.9214 GB / 4.253 GB, free: 171.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.515e-06/10.19, allocations: 3.656 kB / 4.253 GB, free: 171.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009273/10.19, allocations: 130.3 kB / 4.253 GB, free: 171.6 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.01483/10.2, allocations: 4.267 MB / 4.257 GB, free: 170.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/10.2, allocations: 9.625 kB / 4.257 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008721/10.21, allocations: 1.25 MB / 4.258 GB, free: 169.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/10.23, allocations: 5.39 MB / 4.263 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/10.23, allocations: 121.8 kB / 4.264 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/10.23, allocations: 218.9 kB / 4.264 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009112/10.24, allocations: 4.352 MB / 4.268 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009627/10.25, allocations: 4.508 MB / 4.272 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/10.25, allocations: 11.16 kB / 4.272 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/10.25, allocations: 6.625 kB / 4.272 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/10.25, allocations: 174.7 kB / 4.273 GB, free: 168.7 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.03154/10.28, allocations: 18.61 MB / 4.291 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/10.28, allocations: 3.074 MB / 4.294 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/10.29, allocations: 1.593 MB / 4.295 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/10.29, allocations: 1.859 MB / 4.297 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002337/10.29, allocations: 1.762 MB / 4.299 GB, free: 160.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 5.691e-06/10.29, allocations: 5.875 kB / 4.299 GB, free: 160.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.05836/10.35, allocations: 7.312 MB / 4.306 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/10.35, allocations: 288.9 kB / 4.306 GB, free: 159.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/10.35, allocations: 2.988 MB / 4.309 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007609/10.35, allocations: 31.98 kB / 4.309 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/10.35, allocations: 1.975 MB / 4.311 GB, free: 158.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/10.36, allocations: 0.8659 MB / 4.312 GB, free: 158 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/10.36, allocations: 0 / 4.312 GB, free: 158 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001514/10.36, allocations: 419.9 kB / 4.312 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/10.36, allocations: 1.295 MB / 4.314 GB, free: 157.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/10.36, allocations: 1.959 MB / 4.316 GB, free: 157 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1455/10.51, allocations: 13.17 MB / 4.328 GB, free: 156.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-05/10.51, allocations: 5.688 kB / 4.328 GB, free: 156.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1496/10.66, allocations: 15.22 MB / 4.343 GB, free: 155.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001648/10.66, allocations: 7.297 MB / 4.35 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/10.66, allocations: 19.5 kB / 4.35 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/10.66, allocations: 111.8 kB / 4.351 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/10.66, allocations: 0.8018 MB / 4.351 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/10.66, allocations: 1.504 MB / 4.353 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005287/10.67, allocations: 448.6 kB / 4.353 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006434/10.67, allocations: 146.6 kB / 4.353 GB, free: 146.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/10.67, allocations: 4.656 kB / 4.353 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1471/10.82, allocations: 14.85 MB / 4.368 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/10.82, allocations: 18.47 kB / 4.368 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/10.82, allocations: 117 kB / 4.368 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/10.82, allocations: 0.7969 MB / 4.369 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/10.82, allocations: 1.511 MB / 4.37 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/10.83, allocations: 401.8 kB / 4.371 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/10.83, allocations: 146 kB / 4.371 GB, free: 144.4 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 (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.0008379/10.83, allocations: 180.9 kB / 4.371 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/10.83, allocations: 354.7 kB / 4.371 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05767/10.89, allocations: 8.048 MB / 4.379 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/10.89, allocations: 27.41 kB / 4.379 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/10.89, allocations: 3.953 kB / 4.379 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05642/10.94, allocations: 7.248 MB / 4.386 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06577/11.01, allocations: 12.53 MB / 4.399 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/11.01, allocations: 3.781 kB / 4.399 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/11.01, allocations: 0.6289 MB / 4.399 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/11.01, allocations: 96.86 kB / 4.399 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/11.01, allocations: 63.08 kB / 4.399 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/11.01, allocations: 1.5 MB / 4.401 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/11.01, allocations: 8 kB / 4.401 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05855/11.07, allocations: 9.923 MB / 4.41 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002806/11.08, allocations: 1.058 MB / 4.411 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000872/11.08, allocations: 16.83 kB / 4.411 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/11.08, allocations: 256.2 kB / 4.412 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/11.08, allocations: 193 kB / 4.412 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002805/11.08, allocations: 129 kB / 4.412 GB, free: 133.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003304/11.08, allocations: 2.305 MB / 4.414 GB, free: 131.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/11.08, allocations: 0 / 4.414 GB, free: 131.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00829/11.09, allocations: 2.324 MB / 4.417 GB, free: 129.1 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) * 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.003173/11.1, allocations: 1.635 MB / 4.418 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008591/11.1, allocations: 5.328 MB / 4.423 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/11.1, allocations: 4.781 kB / 4.423 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/11.11, allocations: 1.673 MB / 4.425 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009766/11.12, allocations: 1.744 MB / 4.427 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/11.13, allocations: 7.715 MB / 4.434 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/11.13, allocations: 3.117 MB / 4.437 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009683/11.14, allocations: 2.742 MB / 4.44 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/11.14, allocations: 315.2 kB / 4.44 GB, free: 109.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.61e-07/11.14, allocations: 0 / 4.44 GB, free: 109.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1153/11.26, allocations: 79.2 MB / 4.518 GB, free: 31.45 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)