Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.341/2.341, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 178 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.53/2.53, allocations: 205.4 MB / 0.5766 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 94.12 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006311/0.0006313, allocations: 16.97 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2089, allocations: 106.2 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.05448/0.2634, allocations: 38.34 MB / 0.9363 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9258/1.189, allocations: 138 MB / 1.071 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/1.193, allocations: 50.94 kB / 1.071 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003734/1.197, allocations: 485.7 kB / 1.072 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01572/1.213, allocations: 3.38 MB / 1.075 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/1.224, allocations: 2.487 MB / 1.077 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01429/1.238, allocations: 7.047 MB / 1.084 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/1.249, allocations: 4.624 MB / 1.089 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01502/1.264, allocations: 5.318 MB / 1.094 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006192/1.27, allocations: 2.356 MB / 1.096 GB, free: 17.76 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001699/1.272, allocations: 179.2 kB / 1.096 GB, free: 17.76 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/1.285, allocations: 3.445 MB / 1.1 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002562/1.287, allocations: 0.9376 MB / 1.101 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002926/1.29, allocations: 1.053 MB / 1.102 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/1.304, allocations: 7.462 MB / 1.109 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.304, allocations: 0 / 1.109 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.815e-06/1.304, allocations: 7.219 kB / 1.109 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003312/1.304, allocations: 0 / 1.109 GB, free: 15.44 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.02007/1.324, allocations: 5.118 MB / 1.114 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.324, allocations: 9.094 kB / 1.114 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/1.345, allocations: 1.771 MB / 1.116 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/1.362, allocations: 4.416 MB / 1.12 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/1.363, allocations: 304.8 kB / 1.12 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/1.365, allocations: 391.9 kB / 1.121 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/1.388, allocations: 5.881 MB / 1.126 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/1.389, allocations: 7.781 kB / 1.126 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001687/1.39, allocations: 177.6 kB / 1.127 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/1.39, allocations: 167.4 kB / 1.127 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/1.414, allocations: 5.675 MB / 1.132 GB, free: 7.102 MB / 0.7136 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.05697/1.471, allocations: 20.9 MB / 1.153 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.487, allocations: 3.844 MB / 1.156 GB, free: 9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004234/1.491, allocations: 2.404 MB / 1.159 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009433/1.501, allocations: 2.141 MB / 1.161 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=284): time 8.696e-06/1.501, allocations: 0 / 1.161 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=284): time 0.03322/1.534, allocations: 6.868 MB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.534, allocations: 239.8 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.544, allocations: 3.629 MB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/1.545, allocations: 79.44 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0032/1.549, allocations: 2.013 MB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002208/1.551, allocations: 0.9668 MB / 1.174 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004908/1.551, allocations: 58.38 kB / 1.174 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000386/1.552, allocations: 429.2 kB / 1.175 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007289/1.559, allocations: 1.605 MB / 1.176 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008284/1.568, allocations: 2.225 MB / 1.179 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00972/1.577, allocations: 1.944 MB / 1.18 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.127e-05/1.577, allocations: 4 kB / 1.18 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01949/1.597, allocations: 4.487 MB / 1.185 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002657/1.6, allocations: 6.652 MB / 1.191 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.6, allocations: 16 kB / 1.191 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/1.601, allocations: 115 kB / 1.191 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.609, allocations: 0.7932 MB / 1.192 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/1.613, allocations: 2.161 MB / 1.194 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008999/1.622, allocations: 0.5206 MB / 1.195 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.623, allocations: 161.6 kB / 1.195 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.623, allocations: 6.625 kB / 1.195 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01891/1.642, allocations: 4.153 MB / 1.199 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/1.642, allocations: 16 kB / 1.199 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/1.643, allocations: 114.9 kB / 1.199 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007864/1.651, allocations: 0.7783 MB / 1.2 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/1.654, allocations: 1.58 MB / 1.202 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/1.663, allocations: 493.5 kB / 1.202 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.664, allocations: 157.1 kB / 1.202 GB, free: 1.879 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (379): * Single equations (assignments): 377 * 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.007843/1.672, allocations: 1.55 MB / 1.204 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002745/1.675, allocations: 395.2 kB / 1.204 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03086/1.706, allocations: 5.088 MB / 1.209 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.105e-05/1.706, allocations: 28 kB / 1.209 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.706, allocations: 3.984 kB / 1.209 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02/1.726, allocations: 4.087 MB / 1.213 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03805/1.764, allocations: 9.711 MB / 1.222 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/1.764, allocations: 4 kB / 1.222 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006873/1.771, allocations: 0.6093 MB / 1.223 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005203/1.776, allocations: 0.6532 MB / 1.224 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009108/1.777, allocations: 102.4 kB / 1.224 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008426/1.786, allocations: 7.545 MB / 1.231 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.786, allocations: 0 / 1.231 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/1.815, allocations: 6.863 MB / 1.238 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/1.82, allocations: 1.082 MB / 1.239 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/1.822, allocations: 73.06 kB / 1.239 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008366/1.83, allocations: 314.4 kB / 1.239 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/1.831, allocations: 185.8 kB / 1.239 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008207/1.832, allocations: 140.6 kB / 1.24 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.008605/1.841, allocations: 2.543 MB / 1.242 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.82e-07/1.841, allocations: 0 / 1.242 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01571/1.857, allocations: 2.543 MB / 1.245 GB, free: 104 kB / 0.7917 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.004789/1.861, allocations: 1.094 MB / 1.246 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02796/1.889, allocations: 6.32 MB / 1.252 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.89, allocations: 4.562 kB / 1.252 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.009618/1.899, allocations: 2.182 MB / 1.254 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01591/1.915, allocations: 1.905 MB / 1.256 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.951, allocations: 11.6 MB / 1.267 GB, free: 13.34 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005787/1.957, allocations: 3.211 MB / 1.27 GB, free: 10.46 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01605/1.973, allocations: 2.327 MB / 1.273 GB, free: 8.145 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003419/1.976, allocations: 435 kB / 1.273 GB, free: 7.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.803e-06/1.976, allocations: 0 / 1.273 GB, free: 7.75 MB / 0.823 GB Notification: Performance of Templates: time 0.2305/2.207, allocations: 82.68 MB / 1.354 GB, free: 5.707 MB / 0.9011 GB