Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.00204/0.002041, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.502/1.502, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007845/0.0007846, allocations: 85.16 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.2e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7604, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.665, allocations: 2.357 GB / 3.321 GB, free: 120.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/6.665, allocations: 92 kB / 3.321 GB, free: 120.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.574/10.24, allocations: 0.9214 GB / 4.243 GB, free: 172.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.983e-06/10.24, allocations: 0 / 4.243 GB, free: 172.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006448/10.24, allocations: 133.9 kB / 4.243 GB, free: 172.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.01367/10.25, allocations: 4.259 MB / 4.247 GB, free: 171.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/10.25, allocations: 12.38 kB / 4.247 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008644/10.26, allocations: 1.255 MB / 4.248 GB, free: 170.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/10.28, allocations: 5.385 MB / 4.254 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/10.28, allocations: 121.8 kB / 4.254 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/10.28, allocations: 217.7 kB / 4.254 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01032/10.29, allocations: 4.353 MB / 4.258 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009976/10.3, allocations: 4.508 MB / 4.263 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.524e-05/10.3, allocations: 15.47 kB / 4.263 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/10.3, allocations: 13.06 kB / 4.263 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/10.3, allocations: 174.8 kB / 4.263 GB, free: 169.6 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.02986/10.33, allocations: 18.6 MB / 4.281 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/10.33, allocations: 3.073 MB / 4.284 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/10.34, allocations: 1.588 MB / 4.285 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/10.34, allocations: 1.868 MB / 4.287 GB, free: 161.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002469/10.34, allocations: 1.762 MB / 4.289 GB, free: 161.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 4.499e-06/10.34, allocations: 0 / 4.289 GB, free: 161.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.0578/10.4, allocations: 7.313 MB / 4.296 GB, free: 160.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/10.4, allocations: 288.1 kB / 4.296 GB, free: 160.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/10.4, allocations: 2.989 MB / 4.299 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006262/10.4, allocations: 32.17 kB / 4.299 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/10.4, allocations: 1.976 MB / 4.301 GB, free: 159.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/10.41, allocations: 0.86 MB / 4.302 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/10.41, allocations: 0.8438 kB / 4.302 GB, free: 158.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000168/10.41, allocations: 422.5 kB / 4.303 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/10.41, allocations: 1.296 MB / 4.304 GB, free: 158.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/10.41, allocations: 1.959 MB / 4.306 GB, free: 157.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1473/10.56, allocations: 13.17 MB / 4.319 GB, free: 157.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/10.56, allocations: 2.812 kB / 4.319 GB, free: 157.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1492/10.71, allocations: 15.23 MB / 4.333 GB, free: 156.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/10.71, allocations: 7.285 MB / 4.341 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/10.71, allocations: 14.5 kB / 4.341 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/10.71, allocations: 113.6 kB / 4.341 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/10.71, allocations: 0.8111 MB / 4.342 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/10.71, allocations: 1.507 MB / 4.343 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/10.72, allocations: 452.4 kB / 4.343 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/10.72, allocations: 146.8 kB / 4.344 GB, free: 147.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/10.72, allocations: 4.812 kB / 4.344 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1496/10.87, allocations: 14.84 MB / 4.358 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/10.87, allocations: 25.62 kB / 4.358 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/10.87, allocations: 110.9 kB / 4.358 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/10.87, allocations: 0.8093 MB / 4.359 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/10.87, allocations: 1.496 MB / 4.36 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/10.88, allocations: 403.5 kB / 4.361 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005139/10.88, allocations: 144.1 kB / 4.361 GB, free: 145.3 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.0009505/10.88, allocations: 187 kB / 4.361 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/10.88, allocations: 351.6 kB / 4.361 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05922/10.94, allocations: 8.04 MB / 4.369 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/10.94, allocations: 30.31 kB / 4.369 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/10.94, allocations: 3.953 kB / 4.369 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05487/11, allocations: 7.249 MB / 4.376 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06396/11.06, allocations: 12.52 MB / 4.389 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/11.06, allocations: 7.219 kB / 4.389 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/11.06, allocations: 0.6314 MB / 4.389 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/11.06, allocations: 91.52 kB / 4.389 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/11.06, allocations: 64.27 kB / 4.389 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/11.07, allocations: 1.51 MB / 4.391 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/11.07, allocations: 7.062 kB / 4.391 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05935/11.12, allocations: 9.919 MB / 4.401 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/11.13, allocations: 1.055 MB / 4.402 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007452/11.13, allocations: 19.22 kB / 4.402 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/11.13, allocations: 265.1 kB / 4.402 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/11.13, allocations: 180.5 kB / 4.402 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000267/11.13, allocations: 134.3 kB / 4.402 GB, free: 137.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003262/11.14, allocations: 2.301 MB / 4.404 GB, free: 136.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/11.14, allocations: 0 / 4.404 GB, free: 136.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008171/11.14, allocations: 2.327 MB / 4.407 GB, free: 135.7 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.002897/11.15, allocations: 1.64 MB / 4.408 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008088/11.15, allocations: 5.322 MB / 4.414 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/11.15, allocations: 5.719 kB / 4.414 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002501/11.16, allocations: 1.68 MB / 4.415 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009747/11.17, allocations: 1.739 MB / 4.417 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/11.18, allocations: 7.703 MB / 4.424 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/11.18, allocations: 3.125 MB / 4.427 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008726/11.19, allocations: 2.747 MB / 4.43 GB, free: 116.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009849/11.19, allocations: 312.2 kB / 4.43 GB, free: 116.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/11.19, allocations: 0 / 4.43 GB, free: 116.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1045/11.3, allocations: 79.22 MB / 4.508 GB, free: 41.06 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)