Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.106/2.106, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001293/0.001293, allocations: 180.7 kB / 326.2 MB, free: 2.844 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.37/2.37, 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.0009308/0.0009306, allocations: 92.59 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000651/0.0006515, allocations: 15.94 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2054, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.622/7.828, allocations: 2.475 GB / 3.374 GB, free: 43.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/7.828, allocations: 98.14 kB / 3.374 GB, free: 43.85 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 14.68/22.5, allocations: 2.757 GB / 6.131 GB, free: 62.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.677e-06/22.5, allocations: 0 / 6.131 GB, free: 62.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003029/22.51, allocations: 375.1 kB / 6.132 GB, free: 61.82 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.06924/22.58, allocations: 14.67 MB / 6.146 GB, free: 47.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/22.58, allocations: 8.031 kB / 6.146 GB, free: 47.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/22.61, allocations: 3.01 MB / 6.149 GB, free: 44.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06885/22.68, allocations: 17.12 MB / 6.166 GB, free: 27.37 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/22.68, allocations: 0.8169 MB / 6.166 GB, free: 26.56 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005909/22.68, allocations: 1.103 MB / 6.167 GB, free: 25.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06475/22.75, allocations: 16.62 MB / 6.184 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000954/22.75, allocations: 39.62 kB / 6.184 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005627/22.76, allocations: 475.4 kB / 6.184 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007112/22.76, allocations: 0.5601 MB / 6.185 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06413/22.82, allocations: 15.09 MB / 6.199 GB, free: 8.152 MB / 0.9323 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 1.686/24.51, allocations: 62.44 MB / 6.26 GB, free: 85.15 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03583/24.54, allocations: 10.25 MB / 6.27 GB, free: 84.87 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02051/24.56, allocations: 5.624 MB / 6.276 GB, free: 84.8 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004602/24.57, allocations: 2.388 MB / 6.278 GB, free: 82.35 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02347/24.59, allocations: 5.667 MB / 6.284 GB, free: 82.14 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=706): time 1.767e-05/24.59, allocations: 5.156 kB / 6.284 GB, free: 82.14 MB / 0.9324 GB Notification: Performance of matching and sorting (n=706): time 0.06351/24.65, allocations: 13.95 MB / 6.297 GB, free: 81.23 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/24.65, allocations: 363.4 kB / 6.298 GB, free: 80.88 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03478/24.69, allocations: 11.21 MB / 6.309 GB, free: 80.26 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.002698/24.69, allocations: 164.7 kB / 6.309 GB, free: 80.23 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01115/24.7, allocations: 6.25 MB / 6.315 GB, free: 78.73 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.005802/24.71, allocations: 2.454 MB / 6.317 GB, free: 77.5 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/24.71, allocations: 169.5 kB / 6.318 GB, free: 77.5 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001032/24.71, allocations: 0.6573 MB / 6.318 GB, free: 77.17 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0187/24.73, allocations: 4.625 MB / 6.323 GB, free: 77.15 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02107/24.75, allocations: 6.935 MB / 6.329 GB, free: 74.61 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02186/24.77, allocations: 5.83 MB / 6.335 GB, free: 74.52 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/24.77, allocations: 19.19 kB / 6.335 GB, free: 74.52 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.0565/24.83, allocations: 13.02 MB / 6.348 GB, free: 73.75 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.001623/24.83, allocations: 2.046 MB / 6.35 GB, free: 71.29 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002067/24.83, allocations: 65.5 kB / 6.35 GB, free: 71.29 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/24.83, allocations: 198.5 kB / 6.35 GB, free: 71.28 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02178/24.86, allocations: 2.214 MB / 6.352 GB, free: 71.28 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/24.86, allocations: 1.674 MB / 6.354 GB, free: 69.98 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02415/24.88, allocations: 1.488 MB / 6.355 GB, free: 69.51 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002961/24.89, allocations: 429.8 kB / 6.356 GB, free: 69.51 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/24.89, allocations: 3.906 kB / 6.356 GB, free: 69.51 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04988/24.94, allocations: 12.07 MB / 6.368 GB, free: 69.32 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/24.94, allocations: 65.12 kB / 6.368 GB, free: 69.32 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/24.94, allocations: 198.4 kB / 6.368 GB, free: 69.31 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02211/24.96, allocations: 2.211 MB / 6.37 GB, free: 69.27 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/24.96, allocations: 1.678 MB / 6.372 GB, free: 67.94 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02317/24.99, allocations: 1.353 MB / 6.373 GB, free: 67.53 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003095/24.99, allocations: 429.1 kB / 6.373 GB, free: 67.53 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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.01664/25.01, allocations: 4.802 MB / 6.378 GB, free: 67.18 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006006/25.01, allocations: 1.107 MB / 6.379 GB, free: 66.6 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05515/25.07, allocations: 12.05 MB / 6.391 GB, free: 66.09 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/25.07, allocations: 78.95 kB / 6.391 GB, free: 66.09 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/25.07, allocations: 2.656 kB / 6.391 GB, free: 66.09 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04173/25.11, allocations: 9.231 MB / 6.4 GB, free: 65.54 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.104/25.21, allocations: 25.84 MB / 6.425 GB, free: 57.96 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.348e-05/25.21, allocations: 11.28 kB / 6.425 GB, free: 57.96 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01973/25.23, allocations: 1.784 MB / 6.427 GB, free: 57.84 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/25.23, allocations: 113.5 kB / 6.427 GB, free: 57.82 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002226/25.24, allocations: 243.9 kB / 6.427 GB, free: 57.72 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/25.24, allocations: 1.595 MB / 6.429 GB, free: 56.27 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/25.24, allocations: 18.72 kB / 6.429 GB, free: 56.27 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06464/25.3, allocations: 16.62 MB / 6.445 GB, free: 49.29 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0121/25.32, allocations: 2.827 MB / 6.448 GB, free: 47.74 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006067/25.32, allocations: 170.7 kB / 6.448 GB, free: 47.64 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02098/25.34, allocations: 0.8219 MB / 6.449 GB, free: 47.43 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/25.35, allocations: 456 kB / 6.449 GB, free: 47.34 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002239/25.35, allocations: 350.5 kB / 6.45 GB, free: 47.29 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.02699/25.37, allocations: 7.848 MB / 6.457 GB, free: 44.67 MB / 0.9324 GB Notification: Performance of sort global known variables: time 1.312e-06/25.37, allocations: 0 / 6.457 GB, free: 44.67 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.05109/25.43, allocations: 7.038 MB / 6.464 GB, free: 42.53 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.0105/25.44, allocations: 2.119 MB / 6.466 GB, free: 41.12 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0654/25.5, allocations: 17.3 MB / 6.483 GB, free: 26.37 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.788e-05/25.5, allocations: 11 kB / 6.483 GB, free: 26.36 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.01921/25.52, allocations: 5.044 MB / 6.488 GB, free: 22.04 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06248/25.58, allocations: 6.972 MB / 6.495 GB, free: 17.05 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09696/25.68, allocations: 34.61 MB / 6.529 GB, free: 1.793 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02791/25.71, allocations: 8.711 MB / 6.537 GB, free: 12.29 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.04908/25.76, allocations: 7.013 MB / 6.544 GB, free: 7.504 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009146/25.77, allocations: 1.058 MB / 6.545 GB, free: 6.586 MB / 0.9637 GB Notification: Performance of SimCode: time 1.242e-06/25.77, allocations: 0 / 6.545 GB, free: 6.586 MB / 0.9637 GB Notification: Performance of Templates: time 1.391/27.16, allocations: 242.4 MB / 6.782 GB, free: 108 MB / 0.9793 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)