Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.648/2.648, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.001442/0.001442, allocations: 174 kB / 371.4 MB, free: 10.68 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.12/2.12, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001072/0.001072, allocations: 102 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.000452, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03469/0.1868, allocations: 30.89 MB / 1.009 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7256/0.9124, allocations: 135.6 MB / 1.141 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.915, allocations: 50.53 kB / 1.141 GB, free: 14.53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.9174, allocations: 0.5289 MB / 1.142 GB, free: 14.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006788/0.9242, allocations: 1.677 MB / 1.144 GB, free: 13.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.9313, allocations: 1.788 MB / 1.145 GB, free: 13.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.9432, allocations: 6.838 MB / 1.152 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008832/0.9521, allocations: 4.55 MB / 1.156 GB, free: 7.582 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.9622, allocations: 2.777 MB / 1.159 GB, free: 6.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007204/0.9695, allocations: 2.303 MB / 1.161 GB, free: 4.609 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.9708, allocations: 175.6 kB / 1.162 GB, free: 4.609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/0.9759, allocations: 0.9945 MB / 1.162 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.978, allocations: 0.9079 MB / 1.163 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.9803, allocations: 1.044 MB / 1.164 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.9909, allocations: 6.857 MB / 1.171 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.473e-06/0.991, allocations: 4 kB / 1.171 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/0.991, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001985/0.9912, allocations: 2.969 kB / 1.171 GB, free: 14.18 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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01311/1.004, allocations: 4.951 MB / 1.176 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.004, allocations: 10.66 kB / 1.176 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009796/1.014, allocations: 1.427 MB / 1.177 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.027, allocations: 4.612 MB / 1.182 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/1.027, allocations: 301.2 kB / 1.182 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.029, allocations: 406.1 kB / 1.183 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/1.045, allocations: 5.786 MB / 1.188 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/1.045, allocations: 11.94 kB / 1.188 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006751/1.046, allocations: 172 kB / 1.188 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/1.046, allocations: 179.6 kB / 1.189 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/1.065, allocations: 5.598 MB / 1.194 GB, free: 12.54 MB / 0.7292 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.04546/1.11, allocations: 20.25 MB / 1.214 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.121, allocations: 3.615 MB / 1.217 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003005/1.124, allocations: 1.907 MB / 1.219 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00664/1.131, allocations: 2.073 MB / 1.221 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=266): time 7.001e-06/1.131, allocations: 0 / 1.221 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=266): time 0.01886/1.15, allocations: 5.128 MB / 1.226 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/1.15, allocations: 243.8 kB / 1.226 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00847/1.159, allocations: 3.762 MB / 1.23 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006134/1.159, allocations: 81.7 kB / 1.23 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.162, allocations: 2.042 MB / 1.232 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/1.164, allocations: 0.901 MB / 1.233 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/1.164, allocations: 60 kB / 1.233 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003379/1.165, allocations: 420 kB / 1.234 GB, free: 2.793 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0053/1.17, allocations: 1.552 MB / 1.235 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/1.176, allocations: 2.239 MB / 1.237 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/1.183, allocations: 1.891 MB / 1.239 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/1.183, allocations: 4 kB / 1.239 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01532/1.198, allocations: 4.387 MB / 1.243 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.004027/1.202, allocations: 7.614 MB / 1.251 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.806e-05/1.202, allocations: 16 kB / 1.251 GB, free: 120 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008456/1.203, allocations: 124.8 kB / 1.251 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005305/1.208, allocations: 0.8034 MB / 1.252 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/1.211, allocations: 1.579 MB / 1.253 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00545/1.217, allocations: 0.5282 MB / 1.254 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007545/1.217, allocations: 143.9 kB / 1.254 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.217, allocations: 4 kB / 1.254 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01367/1.231, allocations: 4.049 MB / 1.258 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.277e-05/1.231, allocations: 20 kB / 1.258 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/1.232, allocations: 109.7 kB / 1.258 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/1.237, allocations: 0.7996 MB / 1.259 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/1.24, allocations: 1.596 MB / 1.26 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005225/1.245, allocations: 0.4901 MB / 1.261 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007439/1.246, allocations: 143.9 kB / 1.261 GB, free: 5.41 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (372): * Single equations (assignments): 371 * 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.004239/1.25, allocations: 1.532 MB / 1.262 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.252, allocations: 391.2 kB / 1.263 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/1.267, allocations: 4.487 MB / 1.267 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.495e-05/1.267, allocations: 24 kB / 1.267 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.267, allocations: 4 kB / 1.267 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01179/1.278, allocations: 3.511 MB / 1.271 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/1.306, allocations: 9.332 MB / 1.28 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/1.306, allocations: 4 kB / 1.28 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004531/1.311, allocations: 0.6245 MB / 1.28 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006634/1.311, allocations: 104.8 kB / 1.28 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004807/1.312, allocations: 87.92 kB / 1.281 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/1.314, allocations: 1.583 MB / 1.282 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-06/1.314, allocations: 8.062 kB / 1.282 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/1.334, allocations: 6.719 MB / 1.289 GB, free: 8.277 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/1.338, allocations: 1.081 MB / 1.29 GB, free: 7.172 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.339, allocations: 63.98 kB / 1.29 GB, free: 7.109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005493/1.344, allocations: 330.8 kB / 1.29 GB, free: 6.789 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000707/1.345, allocations: 193.8 kB / 1.29 GB, free: 6.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005109/1.346, allocations: 135.9 kB / 1.29 GB, free: 6.465 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006621/1.352, allocations: 2.66 MB / 1.293 GB, free: 3.824 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.139e-06/1.352, allocations: 0 / 1.293 GB, free: 3.824 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01496/1.367, allocations: 2.298 MB / 1.295 GB, free: 1.52 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (284): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005065/1.372, allocations: 0.878 MB / 1.296 GB, free: 0.793 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03468/1.407, allocations: 6.161 MB / 1.302 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/1.407, allocations: 5 kB / 1.302 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01136/1.419, allocations: 2.012 MB / 1.304 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.021/1.44, allocations: 2.05 MB / 1.306 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/1.467, allocations: 11.55 MB / 1.317 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005223/1.472, allocations: 3.178 MB / 1.32 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01173/1.484, allocations: 2.074 MB / 1.322 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/1.486, allocations: 395.2 kB / 1.323 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of SimCode: time 1.584e-06/1.486, allocations: 0 / 1.323 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of Templates: time 0.1869/1.673, allocations: 80.46 MB / 1.401 GB, free: 5.121 MB / 0.9323 GB