Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.551/2.551, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001416, allocations: 172.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 96.41 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004542, allocations: 12.08 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.08046/0.2372, allocations: 38.33 MB / 1.016 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7367/0.9739, allocations: 138 MB / 1.151 GB, free: 7.699 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.9765, allocations: 47.91 kB / 1.151 GB, free: 7.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.9786, allocations: 497.9 kB / 1.151 GB, free: 7.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.9909, allocations: 3.391 MB / 1.155 GB, free: 5.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00934/1, allocations: 2.482 MB / 1.157 GB, free: 4.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01237/1.013, allocations: 7.035 MB / 1.164 GB, free: 28 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008721/1.021, allocations: 4.631 MB / 1.169 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/1.033, allocations: 5.327 MB / 1.174 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/1.038, allocations: 2.352 MB / 1.176 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/1.04, allocations: 177.6 kB / 1.176 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009887/1.05, allocations: 3.451 MB / 1.18 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002046/1.052, allocations: 0.9411 MB / 1.181 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/1.054, allocations: 1.054 MB / 1.182 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/1.067, allocations: 7.46 MB / 1.189 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.291e-06/1.067, allocations: 0 / 1.189 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.754e-06/1.067, allocations: 4 kB / 1.189 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002253/1.067, allocations: 0 / 1.189 GB, free: 1.105 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.01398/1.081, allocations: 5.122 MB / 1.194 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.081, allocations: 12.03 kB / 1.194 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.097, allocations: 1.773 MB / 1.196 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/1.111, allocations: 4.418 MB / 1.2 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/1.111, allocations: 300 kB / 1.2 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/1.112, allocations: 395.9 kB / 1.201 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/1.13, allocations: 5.878 MB / 1.206 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/1.131, allocations: 3.938 kB / 1.206 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/1.132, allocations: 172 kB / 1.206 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/1.132, allocations: 175.7 kB / 1.207 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/1.151, allocations: 5.67 MB / 1.212 GB, free: 8.875 MB / 0.7448 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.04668/1.197, allocations: 20.89 MB / 1.233 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/1.209, allocations: 3.843 MB / 1.236 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003567/1.213, allocations: 2.406 MB / 1.239 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00695/1.22, allocations: 2.139 MB / 1.241 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=284): time 7.399e-06/1.22, allocations: 3.938 kB / 1.241 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=284): time 0.02475/1.245, allocations: 6.878 MB / 1.247 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/1.245, allocations: 243.8 kB / 1.248 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0079/1.253, allocations: 3.613 MB / 1.251 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006318/1.253, allocations: 81.7 kB / 1.251 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002838/1.256, allocations: 2.011 MB / 1.253 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.258, allocations: 0.9704 MB / 1.254 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/1.258, allocations: 60 kB / 1.254 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003666/1.259, allocations: 428.2 kB / 1.255 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005479/1.264, allocations: 1.606 MB / 1.256 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006359/1.271, allocations: 2.231 MB / 1.258 GB, free: 7.562 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/1.277, allocations: 1.936 MB / 1.26 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/1.277, allocations: 4 kB / 1.26 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01571/1.293, allocations: 4.483 MB / 1.265 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.003759/1.296, allocations: 6.661 MB / 1.271 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.318e-05/1.297, allocations: 20 kB / 1.271 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008005/1.297, allocations: 112.7 kB / 1.271 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005412/1.303, allocations: 0.8035 MB / 1.272 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/1.306, allocations: 2.153 MB / 1.274 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/1.312, allocations: 0.5175 MB / 1.275 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008046/1.313, allocations: 160.2 kB / 1.275 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.313, allocations: 4 kB / 1.275 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01785/1.331, allocations: 4.147 MB / 1.279 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/1.331, allocations: 16 kB / 1.279 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/1.332, allocations: 116.8 kB / 1.279 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009724/1.342, allocations: 0.78 MB / 1.28 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/1.346, allocations: 1.575 MB / 1.281 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009905/1.356, allocations: 492.8 kB / 1.282 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.358, allocations: 159.9 kB / 1.282 GB, free: 14.48 MB / 0.823 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.006537/1.364, allocations: 1.544 MB / 1.284 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/1.366, allocations: 399.2 kB / 1.284 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03236/1.399, allocations: 5.1 MB / 1.289 GB, free: 7.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/1.399, allocations: 32 kB / 1.289 GB, free: 7.324 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.399, allocations: 0 / 1.289 GB, free: 7.324 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02174/1.42, allocations: 4.086 MB / 1.293 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/1.45, allocations: 9.699 MB / 1.302 GB, free: 9.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.45, allocations: 0 / 1.302 GB, free: 9.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004414/1.454, allocations: 0.6164 MB / 1.303 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004354/1.458, allocations: 0.6519 MB / 1.304 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006307/1.459, allocations: 107.9 kB / 1.304 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.47, allocations: 7.547 MB / 1.311 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.611e-06/1.471, allocations: 0 / 1.311 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04169/1.512, allocations: 6.852 MB / 1.318 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006303/1.519, allocations: 1.085 MB / 1.319 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/1.521, allocations: 63.94 kB / 1.319 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009113/1.53, allocations: 312 kB / 1.319 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/1.531, allocations: 186 kB / 1.319 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009435/1.532, allocations: 144.3 kB / 1.319 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01107/1.543, allocations: 2.542 MB / 1.322 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.226e-06/1.543, allocations: 0 / 1.322 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01524/1.558, allocations: 2.548 MB / 1.324 GB, free: 2.074 MB / 0.8542 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.003917/1.562, allocations: 1.095 MB / 1.326 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01997/1.582, allocations: 6.325 MB / 1.332 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.582, allocations: 4.562 kB / 1.332 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007248/1.59, allocations: 2.187 MB / 1.334 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/1.6, allocations: 1.898 MB / 1.336 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/1.628, allocations: 11.61 MB / 1.347 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005143/1.633, allocations: 3.2 MB / 1.35 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0118/1.645, allocations: 2.321 MB / 1.352 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002327/1.647, allocations: 435.1 kB / 1.353 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of SimCode: time 1.812e-06/1.647, allocations: 0 / 1.353 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of Templates: time 0.1991/1.846, allocations: 82.67 MB / 1.434 GB, free: 2.691 MB / 0.9636 GB