Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001232/0.001232, allocations: 182.3 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009116/0.0009113, allocations: 98.91 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004621, allocations: 16.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2961, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.315/7.611, allocations: 2.358 GB / 3.337 GB, free: 262.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/7.612, allocations: 95.41 kB / 3.337 GB, free: 262.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.67/18.28, allocations: 2.839 GB / 6.177 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.495e-06/18.28, allocations: 0 / 6.177 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002937/18.28, allocations: 379.5 kB / 6.177 GB, free: 11.41 MB / 0.9948 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 1.425/19.71, allocations: 14.67 MB / 6.191 GB, free: 95.12 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/19.71, allocations: 18.94 kB / 6.191 GB, free: 95.12 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02565/19.73, allocations: 3.025 MB / 6.194 GB, free: 94.3 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07238/19.8, allocations: 18.21 MB / 6.212 GB, free: 93.3 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/19.81, allocations: 0.8267 MB / 6.213 GB, free: 93.27 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007617/19.81, allocations: 1.098 MB / 6.214 GB, free: 93.26 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06395/19.88, allocations: 16.72 MB / 6.23 GB, free: 91.58 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009634/19.88, allocations: 38.98 kB / 6.23 GB, free: 91.58 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006408/19.88, allocations: 488.5 kB / 6.231 GB, free: 91.58 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008558/19.89, allocations: 0.5608 MB / 6.231 GB, free: 91.55 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05176/19.94, allocations: 15.09 MB / 6.246 GB, free: 91.46 MB / 0.9949 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.1368/20.07, allocations: 63.23 MB / 6.308 GB, free: 68.88 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02494/20.1, allocations: 10.44 MB / 6.318 GB, free: 68.62 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002895/20.1, allocations: 2.391 MB / 6.32 GB, free: 66.18 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01369/20.12, allocations: 5.734 MB / 6.326 GB, free: 65.96 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=704): time 1.035e-05/20.12, allocations: 0 / 6.326 GB, free: 65.96 MB / 0.9949 GB Notification: Performance of matching and sorting (n=704): time 0.04207/20.16, allocations: 13.88 MB / 6.34 GB, free: 65.04 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/20.16, allocations: 363.5 kB / 6.34 GB, free: 64.69 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03213/20.19, allocations: 11.09 MB / 6.351 GB, free: 64.07 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.00309/20.19, allocations: 166.2 kB / 6.351 GB, free: 64.04 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01206/20.21, allocations: 6.259 MB / 6.357 GB, free: 61.93 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005701/20.21, allocations: 2.452 MB / 6.359 GB, free: 60.38 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/20.21, allocations: 179.8 kB / 6.36 GB, free: 60.38 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.00118/20.21, allocations: 0.6496 MB / 6.36 GB, free: 60.05 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/20.23, allocations: 4.602 MB / 6.365 GB, free: 60.03 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/20.24, allocations: 6.882 MB / 6.371 GB, free: 57.49 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/20.25, allocations: 5.809 MB / 6.377 GB, free: 57.4 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/20.26, allocations: 18.47 kB / 6.377 GB, free: 57.4 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04256/20.3, allocations: 12.99 MB / 6.39 GB, free: 56.63 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.01678/20.31, allocations: 37.01 MB / 6.426 GB, free: 50.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003349/20.31, allocations: 65.34 kB / 6.426 GB, free: 50.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/20.32, allocations: 197 kB / 6.426 GB, free: 50.51 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01426/20.33, allocations: 2.352 MB / 6.429 GB, free: 50.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/20.33, allocations: 1.695 MB / 6.43 GB, free: 49.22 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02064/20.35, allocations: 1.583 MB / 6.432 GB, free: 48.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003517/20.36, allocations: 425.7 kB / 6.432 GB, free: 48.67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/20.36, allocations: 7.594 kB / 6.432 GB, free: 48.67 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03663/20.39, allocations: 12.04 MB / 6.444 GB, free: 46.61 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003663/20.39, allocations: 65.81 kB / 6.444 GB, free: 46.61 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/20.4, allocations: 199.3 kB / 6.444 GB, free: 46.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/20.41, allocations: 2.348 MB / 6.446 GB, free: 46.53 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/20.41, allocations: 1.697 MB / 6.448 GB, free: 45.09 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01887/20.43, allocations: 1.418 MB / 6.45 GB, free: 44.51 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003574/20.43, allocations: 429.5 kB / 6.45 GB, free: 44.44 MB / 1.026 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.01867/20.45, allocations: 4.821 MB / 6.455 GB, free: 42.45 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008166/20.46, allocations: 1.102 MB / 6.456 GB, free: 41.88 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0413/20.5, allocations: 11.5 MB / 6.467 GB, free: 37.77 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.055e-05/20.5, allocations: 72.78 kB / 6.467 GB, free: 37.77 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-05/20.5, allocations: 2.969 kB / 6.467 GB, free: 37.77 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02803/20.53, allocations: 9.185 MB / 6.476 GB, free: 34.38 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09669/20.63, allocations: 26.24 MB / 6.502 GB, free: 23.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-05/20.63, allocations: 13.83 kB / 6.502 GB, free: 23.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01159/20.64, allocations: 1.707 MB / 6.503 GB, free: 23.75 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/20.64, allocations: 122.2 kB / 6.503 GB, free: 23.73 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002665/20.64, allocations: 239.4 kB / 6.504 GB, free: 23.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/20.64, allocations: 1.612 MB / 6.505 GB, free: 22.16 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/20.64, allocations: 15.12 kB / 6.505 GB, free: 22.16 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05364/20.7, allocations: 19.52 MB / 6.524 GB, free: 11.69 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01505/20.71, allocations: 3.056 MB / 6.527 GB, free: 9.105 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007723/20.72, allocations: 163.7 kB / 6.527 GB, free: 8.953 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01745/20.74, allocations: 0.8187 MB / 6.528 GB, free: 8.348 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002771/20.74, allocations: 459.6 kB / 6.529 GB, free: 8.051 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00325/20.75, allocations: 381.9 kB / 6.529 GB, free: 7.77 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02743/20.77, allocations: 8.697 MB / 6.538 GB, free: 0.707 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.71e-07/20.77, allocations: 0 / 6.538 GB, free: 0.707 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04857/20.82, allocations: 7.208 MB / 6.545 GB, free: 9.812 MB / 1.042 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.009235/20.83, allocations: 2.153 MB / 6.547 GB, free: 8.359 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.05747/20.89, allocations: 17.6 MB / 6.564 GB, free: 10.45 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.323e-05/20.89, allocations: 11.61 kB / 6.564 GB, free: 10.44 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01806/20.91, allocations: 5.043 MB / 6.569 GB, free: 6.121 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04577/20.95, allocations: 6.864 MB / 6.575 GB, free: 1.215 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8341/21.79, allocations: 34.67 MB / 6.609 GB, free: 138.5 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02947/21.82, allocations: 8.635 MB / 6.618 GB, free: 137.4 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.04626/21.86, allocations: 7.145 MB / 6.625 GB, free: 136.3 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009621/21.87, allocations: 1.081 MB / 6.626 GB, free: 136.3 MB / 1.057 GB Notification: Performance of SimCode: time 2.174e-06/21.87, allocations: 0 / 6.626 GB, free: 136.3 MB / 1.057 GB Notification: Performance of Templates: time 0.402/22.27, allocations: 248.3 MB / 6.868 GB, free: 66.18 MB / 1.057 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)