Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") 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.199 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.001301/0.001301, allocations: 173 kB / 371.8 MB, free: 10.29 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.944/1.944, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.00137/0.001371, allocations: 90.88 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004709, allocations: 15.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2982, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.458/6.756, allocations: 2.11 GB / 3.089 GB, free: 197.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/6.756, allocations: 95.95 kB / 3.089 GB, free: 197.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.963/12.72, allocations: 1.415 GB / 4.504 GB, free: 139.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384e-06/12.72, allocations: 0 / 4.504 GB, free: 139.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000917/12.72, allocations: 130.7 kB / 4.505 GB, free: 139.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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02705/12.75, allocations: 6.351 MB / 4.511 GB, free: 136.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/12.75, allocations: 11.33 kB / 4.511 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/12.76, allocations: 1.599 MB / 4.512 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/12.78, allocations: 5.257 MB / 4.517 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/12.78, allocations: 285.4 kB / 4.518 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/12.78, allocations: 376.4 kB / 4.518 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/12.8, allocations: 5.44 MB / 4.523 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-05/12.8, allocations: 5.531 kB / 4.523 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007181/12.8, allocations: 171 kB / 4.524 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/12.8, allocations: 156.2 kB / 4.524 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/12.81, allocations: 5.321 MB / 4.529 GB, free: 135.4 MB / 0.948 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.04973/12.86, allocations: 19.21 MB / 4.548 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/12.87, allocations: 3.819 MB / 4.551 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002782/12.88, allocations: 2.538 MB / 4.554 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006328/12.88, allocations: 2.113 MB / 4.556 GB, free: 126.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 1.139e-05/12.88, allocations: 0 / 4.556 GB, free: 126.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.02255/12.91, allocations: 6.835 MB / 4.563 GB, free: 125.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/12.91, allocations: 287.7 kB / 4.563 GB, free: 125.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/12.92, allocations: 3.353 MB / 4.566 GB, free: 124.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001322/12.92, allocations: 81.2 kB / 4.566 GB, free: 124.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003359/12.92, allocations: 1.943 MB / 4.568 GB, free: 122.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002291/12.93, allocations: 0.9677 MB / 4.569 GB, free: 122 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009026/12.93, allocations: 59.06 kB / 4.569 GB, free: 121.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004152/12.93, allocations: 423.5 kB / 4.57 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/12.93, allocations: 1.599 MB / 4.571 GB, free: 121 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/12.94, allocations: 2.248 MB / 4.573 GB, free: 119.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005857/12.94, allocations: 1.93 MB / 4.575 GB, free: 119 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.08e-05/12.94, allocations: 11.62 kB / 4.575 GB, free: 119 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01655/12.96, allocations: 4.474 MB / 4.58 GB, free: 117.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001725/12.96, allocations: 6.544 MB / 4.586 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/12.96, allocations: 24.73 kB / 4.586 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007271/12.96, allocations: 110 kB / 4.586 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004975/12.97, allocations: 0.7932 MB / 4.587 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/12.97, allocations: 2.168 MB / 4.589 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00723/12.98, allocations: 0.5307 MB / 4.589 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/12.98, allocations: 153.6 kB / 4.59 GB, free: 108.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/12.98, allocations: 3.594 kB / 4.59 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01394/12.99, allocations: 4.138 MB / 4.594 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.809e-05/12.99, allocations: 17.88 kB / 4.594 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006364/12.99, allocations: 110.1 kB / 4.594 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/13, allocations: 0.7872 MB / 4.595 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/13, allocations: 1.58 MB / 4.596 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006922/13.01, allocations: 0.4921 MB / 4.597 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/13.01, allocations: 158.9 kB / 4.597 GB, free: 104.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.006145/13.02, allocations: 1.524 MB / 4.598 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002649/13.02, allocations: 386.9 kB / 4.599 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/13.04, allocations: 5.14 MB / 4.604 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/13.04, allocations: 32.41 kB / 4.604 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/13.04, allocations: 3.938 kB / 4.604 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01215/13.05, allocations: 4.054 MB / 4.608 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03123/13.08, allocations: 9.971 MB / 4.617 GB, free: 94.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/13.08, allocations: 0 / 4.617 GB, free: 94.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003909/13.08, allocations: 0.612 MB / 4.618 GB, free: 94.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/13.09, allocations: 0.6702 MB / 4.619 GB, free: 93.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009048/13.09, allocations: 99.44 kB / 4.619 GB, free: 93.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/13.09, allocations: 7.553 MB / 4.626 GB, free: 85.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/13.09, allocations: 0 / 4.626 GB, free: 85.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01964/13.11, allocations: 6.794 MB / 4.633 GB, free: 79.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006953/13.12, allocations: 1.133 MB / 4.634 GB, free: 79.01 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003439/13.12, allocations: 67.7 kB / 4.634 GB, free: 78.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006192/13.13, allocations: 322.6 kB / 4.634 GB, free: 78.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/13.13, allocations: 183.2 kB / 4.634 GB, free: 78.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001018/13.13, allocations: 133.4 kB / 4.634 GB, free: 78.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007223/13.14, allocations: 2.649 MB / 4.637 GB, free: 76.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.72e-07/13.14, allocations: 7.531 kB / 4.637 GB, free: 76.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01779/13.16, allocations: 2.867 MB / 4.64 GB, free: 73.51 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007257/13.16, allocations: 1.837 MB / 4.642 GB, free: 72.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01862/13.18, allocations: 6.28 MB / 4.648 GB, free: 66.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/13.18, allocations: 4.562 kB / 4.648 GB, free: 66.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006142/13.19, allocations: 2.161 MB / 4.65 GB, free: 65.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01215/13.2, allocations: 1.935 MB / 4.652 GB, free: 63.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/13.23, allocations: 11.38 MB / 4.663 GB, free: 52.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005994/13.24, allocations: 3.147 MB / 4.666 GB, free: 49.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0158/13.25, allocations: 2.422 MB / 4.668 GB, free: 46.92 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003456/13.26, allocations: 430.5 kB / 4.669 GB, free: 46.51 MB / 0.948 GB Notification: Performance of SimCode: time 2.624e-06/13.26, allocations: 0 / 4.669 GB, free: 46.51 MB / 0.948 GB Notification: Performance of Templates: time 0.8942/14.15, allocations: 93.22 MB / 4.76 GB, free: 159.3 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)