Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001471/0.001471, allocations: 187.1 kB / 325.6 MB, free: 2.793 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.484/2.484, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001162/0.001162, allocations: 94.06 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004749, allocations: 11.75 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2089, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.645/7.854, allocations: 2.474 GB / 3.373 GB, free: 43.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/7.854, allocations: 100.4 kB / 3.373 GB, free: 43.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.912/12.77, allocations: 0.9085 GB / 4.282 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.327e-06/12.77, allocations: 4 kB / 4.282 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008064/12.77, allocations: 126.9 kB / 4.282 GB, free: 179.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.02151/12.79, allocations: 5.082 MB / 4.287 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/12.79, allocations: 11.97 kB / 4.287 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/12.8, allocations: 1.262 MB / 4.288 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/12.82, allocations: 5.394 MB / 4.293 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/12.82, allocations: 282.4 kB / 4.294 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/12.82, allocations: 371.9 kB / 4.294 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/12.84, allocations: 5.307 MB / 4.299 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/12.84, allocations: 11.94 kB / 4.299 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/12.85, allocations: 159 kB / 4.299 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/12.85, allocations: 179.1 kB / 4.3 GB, free: 161 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/12.87, allocations: 5.239 MB / 4.305 GB, free: 155.8 MB / 0.8855 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.05086/12.92, allocations: 19.28 MB / 4.324 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/12.93, allocations: 3.599 MB / 4.327 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00289/12.94, allocations: 1.863 MB / 4.329 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008197/12.94, allocations: 2.023 MB / 4.331 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=264): time 7.945e-06/12.94, allocations: 0 / 4.331 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264): time 0.02461/12.97, allocations: 5.088 MB / 4.336 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/12.97, allocations: 299 kB / 4.336 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009153/12.98, allocations: 3.476 MB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009486/12.98, allocations: 77.7 kB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/12.98, allocations: 1.967 MB / 4.342 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/12.98, allocations: 0.8992 MB / 4.342 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/12.98, allocations: 60 kB / 4.342 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002836/12.98, allocations: 424 kB / 4.343 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006641/12.99, allocations: 1.559 MB / 4.344 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007662/13, allocations: 2.261 MB / 4.347 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007569/13.01, allocations: 1.899 MB / 4.348 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-05/13.01, allocations: 7.938 kB / 4.348 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01914/13.03, allocations: 4.395 MB / 4.353 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00151/13.03, allocations: 7.41 MB / 4.36 GB, free: 97.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/13.03, allocations: 18.62 kB / 4.36 GB, free: 97.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/13.03, allocations: 120.7 kB / 4.36 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008196/13.04, allocations: 0.7995 MB / 4.361 GB, free: 96.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/13.04, allocations: 1.583 MB / 4.362 GB, free: 94.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008036/13.05, allocations: 0.5275 MB / 4.363 GB, free: 94.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009969/13.05, allocations: 143.9 kB / 4.363 GB, free: 93.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/13.05, allocations: 4 kB / 4.363 GB, free: 93.94 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01633/13.06, allocations: 4.053 MB / 4.367 GB, free: 89.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/13.06, allocations: 19.94 kB / 4.367 GB, free: 89.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009565/13.07, allocations: 117.5 kB / 4.367 GB, free: 89.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007721/13.07, allocations: 0.7957 MB / 4.368 GB, free: 88.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/13.08, allocations: 1.584 MB / 4.37 GB, free: 87.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007622/13.08, allocations: 496.8 kB / 4.37 GB, free: 86.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009839/13.08, allocations: 155.8 kB / 4.37 GB, free: 86.56 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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.004453/13.09, allocations: 1.503 MB / 4.372 GB, free: 85.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/13.09, allocations: 383.3 kB / 4.372 GB, free: 84.67 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/13.11, allocations: 4.352 MB / 4.376 GB, free: 80.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/13.11, allocations: 31.14 kB / 4.376 GB, free: 80.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/13.11, allocations: 0 / 4.376 GB, free: 80.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01483/13.12, allocations: 3.488 MB / 4.38 GB, free: 76.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03319/13.16, allocations: 9.252 MB / 4.389 GB, free: 67.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/13.16, allocations: 0 / 4.389 GB, free: 67.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006859/13.16, allocations: 0.6394 MB / 4.389 GB, free: 66.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009021/13.16, allocations: 96.66 kB / 4.389 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006673/13.17, allocations: 91.92 kB / 4.389 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/13.17, allocations: 1.578 MB / 4.391 GB, free: 64.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/13.17, allocations: 11.94 kB / 4.391 GB, free: 64.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02332/13.19, allocations: 6.457 MB / 4.397 GB, free: 58.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00411/13.2, allocations: 1.077 MB / 4.398 GB, free: 56.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/13.2, allocations: 67.95 kB / 4.398 GB, free: 56.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007945/13.21, allocations: 307.4 kB / 4.399 GB, free: 56.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/13.21, allocations: 185.8 kB / 4.399 GB, free: 56.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006075/13.21, allocations: 123.9 kB / 4.399 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007586/13.21, allocations: 2.748 MB / 4.402 GB, free: 53.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.51e-07/13.21, allocations: 0 / 4.402 GB, free: 53.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01156/13.23, allocations: 2.438 MB / 4.404 GB, free: 51.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * 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.004268/13.23, allocations: 1.641 MB / 4.406 GB, free: 49.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02126/13.25, allocations: 6.13 MB / 4.412 GB, free: 43.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/13.25, allocations: 4.562 kB / 4.412 GB, free: 43.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006667/13.26, allocations: 1.951 MB / 4.414 GB, free: 41.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/13.27, allocations: 2.006 MB / 4.416 GB, free: 39.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/13.3, allocations: 11.24 MB / 4.427 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/13.3, allocations: 3.119 MB / 4.43 GB, free: 25.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01314/13.32, allocations: 2.054 MB / 4.432 GB, free: 23.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/13.32, allocations: 395.2 kB / 4.432 GB, free: 23.02 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/13.32, allocations: 0 / 4.432 GB, free: 23.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.943/14.26, allocations: 90.04 MB / 4.52 GB, free: 170.2 MB / 0.8855 GB