Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.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.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.431/2.431, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001649/0.001649, allocations: 181.8 kB / 325.6 MB, free: 2.832 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.348/2.348, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001533/0.001533, allocations: 99.97 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006354, allocations: 11.75 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2081, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03546/0.2436, allocations: 25.83 MB / 0.9241 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2424/0.4861, allocations: 135 MB / 1.056 GB, free: 0.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.4887, allocations: 39.75 kB / 1.056 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.4915, allocations: 0.5126 MB / 1.056 GB, free: 200 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.6647/1.156, allocations: 1.614 MB / 1.058 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006815/1.163, allocations: 1.581 MB / 1.06 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03227/1.195, allocations: 17.93 MB / 1.077 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02741/1.223, allocations: 11.46 MB / 1.088 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01827/1.241, allocations: 6.682 MB / 1.095 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01543/1.257, allocations: 5.727 MB / 1.1 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.004251/1.261, allocations: 439.9 kB / 1.101 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/1.274, allocations: 1.161 MB / 1.102 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00752/1.282, allocations: 2.183 MB / 1.104 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.008847/1.29, allocations: 2.511 MB / 1.107 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02677/1.317, allocations: 16.37 MB / 1.123 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.317, allocations: 3.062 kB / 1.123 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.956e-06/1.317, allocations: 0 / 1.123 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0008199/1.318, allocations: 0 / 1.123 GB, free: 11.27 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: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.04371/1.362, allocations: 11.31 MB / 1.134 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.362, allocations: 11 kB / 1.134 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02054/1.383, allocations: 2.205 MB / 1.136 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0451/1.428, allocations: 12.1 MB / 1.148 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009824/1.429, allocations: 0.6624 MB / 1.148 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004431/1.433, allocations: 0.8936 MB / 1.149 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0529/1.486, allocations: 13.97 MB / 1.163 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005287/1.487, allocations: 35.02 kB / 1.163 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004189/1.491, allocations: 386.5 kB / 1.163 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006804/1.492, allocations: 471.4 kB / 1.164 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05874/1.55, allocations: 12.73 MB / 1.176 GB, free: 8.941 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.1537/1.704, allocations: 52.05 MB / 1.227 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03362/1.738, allocations: 8.346 MB / 1.235 GB, free: 9.805 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005223/1.743, allocations: 1.561 MB / 1.237 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02505/1.768, allocations: 4.184 MB / 1.241 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=553): time 2.018e-05/1.768, allocations: 7.984 kB / 1.241 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of matching and sorting (n=553): time 0.06856/1.837, allocations: 10.77 MB / 1.251 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002878/1.837, allocations: 290.7 kB / 1.251 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03594/1.873, allocations: 9.599 MB / 1.261 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.00237/1.876, allocations: 132.1 kB / 1.261 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01251/1.888, allocations: 4.984 MB / 1.266 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.005702/1.894, allocations: 1.927 MB / 1.268 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.896, allocations: 135.1 kB / 1.268 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001059/1.897, allocations: 0.5724 MB / 1.268 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0225/1.919, allocations: 3.59 MB / 1.272 GB, free: 13.85 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02619/1.945, allocations: 5.437 MB / 1.277 GB, free: 7.656 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02974/1.975, allocations: 4.585 MB / 1.282 GB, free: 3.086 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.975, allocations: 12 kB / 1.282 GB, free: 3.074 MB / 0.823 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.06243/2.038, allocations: 10.16 MB / 1.292 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.01308/2.051, allocations: 28.66 MB / 1.32 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002216/2.051, allocations: 56 kB / 1.32 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/2.051, allocations: 96 kB / 1.32 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01693/2.068, allocations: 1.819 MB / 1.321 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/2.069, allocations: 118.9 kB / 1.322 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/2.085, allocations: 1.241 MB / 1.323 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/2.088, allocations: 335.9 kB / 1.323 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/2.088, allocations: 7.75 kB / 1.323 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03816/2.126, allocations: 9.39 MB / 1.332 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/2.126, allocations: 56.03 kB / 1.332 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/2.126, allocations: 96 kB / 1.332 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/2.143, allocations: 1.814 MB / 1.334 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002504/2.143, allocations: 122.8 kB / 1.334 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01605/2.159, allocations: 1.121 MB / 1.335 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/2.161, allocations: 331.9 kB / 1.336 GB, free: 10.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 867 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01271/2.174, allocations: 4.002 MB / 1.34 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004261/2.179, allocations: 0.8761 MB / 1.34 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03756/2.216, allocations: 8.814 MB / 1.349 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-05/2.216, allocations: 56 kB / 1.349 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/2.216, allocations: 0 / 1.349 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02954/2.246, allocations: 6.937 MB / 1.356 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07421/2.32, allocations: 19.53 MB / 1.375 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/2.32, allocations: 5.859 kB / 1.375 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01418/2.334, allocations: 1.289 MB / 1.376 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.791e-05/2.335, allocations: 20 kB / 1.376 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001627/2.336, allocations: 188.6 kB / 1.376 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.801e-05/2.336, allocations: 16 kB / 1.376 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.336, allocations: 4 kB / 1.376 GB, free: 0.6953 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04923/2.386, allocations: 12.93 MB / 1.389 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009349/2.395, allocations: 2.331 MB / 1.391 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004042/2.399, allocations: 127.9 kB / 1.392 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0171/2.416, allocations: 0.7602 MB / 1.392 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002745/2.419, allocations: 324 kB / 1.393 GB, free: 16 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002993/2.422, allocations: 267.7 kB / 1.393 GB, free: 15.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.03105/2.453, allocations: 6.804 MB / 1.399 GB, free: 8.984 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.764e-06/2.453, allocations: 0 / 1.399 GB, free: 8.984 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03893/2.492, allocations: 5.311 MB / 1.405 GB, free: 3.66 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (569): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008044/2.5, allocations: 1.245 MB / 1.406 GB, free: 2.859 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.727/3.227, allocations: 13.28 MB / 1.419 GB, free: 363.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.519e-05/3.227, allocations: 8.344 kB / 1.419 GB, free: 363.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01914/3.247, allocations: 3.818 MB / 1.423 GB, free: 363.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05333/3.3, allocations: 5.541 MB / 1.428 GB, free: 363.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1008/3.401, allocations: 27.18 MB / 1.455 GB, free: 350.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01425/3.415, allocations: 7.161 MB / 1.462 GB, free: 348.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03579/3.451, allocations: 6.082 MB / 1.467 GB, free: 345.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005952/3.457, allocations: 0.8528 MB / 1.468 GB, free: 345.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/3.457, allocations: 0 / 1.468 GB, free: 345.1 MB / 0.948 GB Notification: Performance of Templates: time 0.4396/3.897, allocations: 192.2 MB / 1.656 GB, free: 155.6 MB / 0.948 GB