Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.717/1.717, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 184.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000913/0.0009131, allocations: 91 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005568/0.0005573, allocations: 15.94 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9055, allocations: 120.3 MB / 1.026 GB, free: 56.59 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.762/6.667, allocations: 2.191 GB / 3.218 GB, free: 317 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/6.668, allocations: 101.1 kB / 3.218 GB, free: 317 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.106/9.773, allocations: 0.9289 GB / 4.147 GB, free: 170.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.075e-06/9.773, allocations: 0 / 4.147 GB, free: 170.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009531/9.774, allocations: 127.6 kB / 4.147 GB, free: 170.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 985 * Number of variables: 985 Notification: Performance of Generate backend data structure: time 0.02003/9.794, allocations: 5.096 MB / 4.152 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/9.794, allocations: 16.03 kB / 4.152 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008806/9.803, allocations: 1.279 MB / 4.153 GB, free: 164.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/9.82, allocations: 5.289 MB / 4.158 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/9.82, allocations: 288.4 kB / 4.159 GB, free: 159 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/9.822, allocations: 375.9 kB / 4.159 GB, free: 158.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/9.841, allocations: 5.459 MB / 4.164 GB, free: 153 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002746/9.841, allocations: 7.938 kB / 4.164 GB, free: 153 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001842/9.843, allocations: 163.4 kB / 4.164 GB, free: 152.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/9.843, allocations: 183.3 kB / 4.165 GB, free: 152.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/9.858, allocations: 5.306 MB / 4.17 GB, free: 147.4 MB / 0.9792 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.04137/9.9, allocations: 19.33 MB / 4.189 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006913/9.907, allocations: 3.54 MB / 4.192 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003563/9.91, allocations: 1.905 MB / 4.194 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/9.912, allocations: 1.864 MB / 4.196 GB, free: 120 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004329/9.917, allocations: 2.097 MB / 4.198 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=265): time 5.941e-06/9.917, allocations: 0 / 4.198 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=265): time 0.01189/9.929, allocations: 5.165 MB / 4.203 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/9.929, allocations: 291.1 kB / 4.203 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006185/9.935, allocations: 3.634 MB / 4.207 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/9.936, allocations: 77.7 kB / 4.207 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/9.938, allocations: 1.967 MB / 4.209 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/9.939, allocations: 0.9023 MB / 4.21 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/9.94, allocations: 60 kB / 4.21 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001809/9.94, allocations: 428 kB / 4.21 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/9.943, allocations: 1.583 MB / 4.212 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/9.947, allocations: 2.292 MB / 4.214 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00665/9.953, allocations: 3.939 MB / 4.218 GB, free: 96.86 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/9.953, allocations: 4 kB / 4.218 GB, free: 96.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.009567/9.963, allocations: 4.438 MB / 4.222 GB, free: 92.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003667/9.963, allocations: 0.6023 MB / 4.223 GB, free: 91.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/9.963, allocations: 16 kB / 4.223 GB, free: 91.51 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/9.964, allocations: 112.8 kB / 4.223 GB, free: 91.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/9.968, allocations: 0.7722 MB / 4.223 GB, free: 90.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/9.969, allocations: 1.575 MB / 4.225 GB, free: 88.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/9.975, allocations: 0.5276 MB / 4.225 GB, free: 88.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007582/9.975, allocations: 151.9 kB / 4.226 GB, free: 88.23 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/9.975, allocations: 4 kB / 4.226 GB, free: 88.23 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008289/9.984, allocations: 4.093 MB / 4.23 GB, free: 84.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/9.984, allocations: 19.94 kB / 4.23 GB, free: 84.08 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/9.984, allocations: 113.5 kB / 4.23 GB, free: 83.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/9.988, allocations: 0.7723 MB / 4.231 GB, free: 83.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/9.989, allocations: 1.57 MB / 4.232 GB, free: 81.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005095/9.994, allocations: 488.8 kB / 4.233 GB, free: 81.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000552/9.995, allocations: 147.9 kB / 4.233 GB, free: 80.86 MB / 0.9792 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 (372): * Single equations (assignments): 371 * 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.003781/9.999, allocations: 1.515 MB / 4.234 GB, free: 79.34 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/10, allocations: 391.2 kB / 4.234 GB, free: 78.95 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009604/10.01, allocations: 4.4 MB / 4.239 GB, free: 74.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/10.01, allocations: 28 kB / 4.239 GB, free: 74.48 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/10.01, allocations: 0 / 4.239 GB, free: 74.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00657/10.02, allocations: 3.546 MB / 4.242 GB, free: 70.84 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/10.04, allocations: 9.288 MB / 4.251 GB, free: 61.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/10.04, allocations: 4.5 kB / 4.251 GB, free: 61.42 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/10.04, allocations: 0.6631 MB / 4.252 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/10.04, allocations: 92.72 kB / 4.252 GB, free: 60.66 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002843/10.04, allocations: 99.91 kB / 4.252 GB, free: 60.56 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/10.04, allocations: 1.562 MB / 4.254 GB, free: 58.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/10.04, allocations: 7.938 kB / 4.254 GB, free: 58.86 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/10.05, allocations: 6.135 MB / 4.26 GB, free: 52.56 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/10.06, allocations: 1.05 MB / 4.261 GB, free: 51.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/10.06, allocations: 59.94 kB / 4.261 GB, free: 51.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004159/10.06, allocations: 315.4 kB / 4.261 GB, free: 51.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/10.07, allocations: 193.8 kB / 4.261 GB, free: 50.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/10.07, allocations: 132 kB / 4.261 GB, free: 50.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004783/10.07, allocations: 2.558 MB / 4.264 GB, free: 48.26 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.31e-07/10.07, allocations: 0 / 4.264 GB, free: 48.26 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009251/10.08, allocations: 2.466 MB / 4.266 GB, free: 45.79 MB / 0.9792 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 (285): * Single equations (assignments): 276 * 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.003635/10.08, allocations: 1.694 MB / 4.268 GB, free: 44.52 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01228/10.1, allocations: 6.189 MB / 4.274 GB, free: 38.28 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/10.1, allocations: 5 kB / 4.274 GB, free: 38.28 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003973/10.1, allocations: 1.976 MB / 4.276 GB, free: 36.29 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01257/10.11, allocations: 2.051 MB / 4.278 GB, free: 34.33 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/10.13, allocations: 11.35 MB / 4.289 GB, free: 22.94 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003067/10.13, allocations: 3.046 MB / 4.292 GB, free: 19.86 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009099/10.14, allocations: 2.042 MB / 4.294 GB, free: 17.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/10.14, allocations: 391.2 kB / 4.294 GB, free: 17.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.262e-06/10.14, allocations: 0 / 4.294 GB, free: 17.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.8249/10.97, allocations: 91.64 MB / 4.384 GB, free: 176.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)