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.279/2.279, allocations: 253.2 MB / 260.6 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 178 kB / 319.9 MB, free: 3.062 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.179/2.179, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001073/0.001073, allocations: 90.64 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.97e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2113, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.375/8.586, allocations: 2.475 GB / 3.363 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/8.587, allocations: 90.48 kB / 3.363 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.97/13.56, allocations: 0.9001 GB / 4.263 GB, free: 125 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/13.56, allocations: 0 / 4.263 GB, free: 125 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009556/13.56, allocations: 127.7 kB / 4.264 GB, free: 125 MB / 0.8698 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.01935/13.58, allocations: 4.267 MB / 4.268 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/13.58, allocations: 9.062 kB / 4.268 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/13.59, allocations: 1.241 MB / 4.269 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02253/13.61, allocations: 5.365 MB / 4.274 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/13.61, allocations: 119.4 kB / 4.274 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/13.62, allocations: 223.2 kB / 4.275 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01488/13.63, allocations: 4.354 MB / 4.279 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/13.65, allocations: 4.462 MB / 4.283 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/13.65, allocations: 8.594 kB / 4.283 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009619/13.65, allocations: 7.25 kB / 4.283 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/13.65, allocations: 172.8 kB / 4.283 GB, free: 122.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.05298/13.7, allocations: 18.56 MB / 4.301 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008561/13.71, allocations: 3.079 MB / 4.304 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/13.71, allocations: 1.59 MB / 4.306 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002901/13.72, allocations: 1.862 MB / 4.308 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004711/13.72, allocations: 1.729 MB / 4.309 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 7.243e-06/13.72, allocations: 0 / 4.309 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.1275/13.85, allocations: 7.314 MB / 4.317 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/13.85, allocations: 287.7 kB / 4.317 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007316/13.86, allocations: 2.985 MB / 4.32 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009459/13.86, allocations: 29.36 kB / 4.32 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002694/13.86, allocations: 1.973 MB / 4.322 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001698/13.86, allocations: 0.8703 MB / 4.323 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/13.86, allocations: 0 / 4.323 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002246/13.86, allocations: 428.6 kB / 4.323 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/13.87, allocations: 1.287 MB / 4.324 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/13.87, allocations: 1.972 MB / 4.326 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3424/14.21, allocations: 13.17 MB / 4.339 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.325e-05/14.21, allocations: 3.844 kB / 4.339 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.3519/14.57, allocations: 15.22 MB / 4.354 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001596/14.57, allocations: 7.289 MB / 4.361 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-05/14.57, allocations: 18.81 kB / 4.361 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/14.57, allocations: 117.8 kB / 4.361 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007801/14.58, allocations: 0.8082 MB / 4.362 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/14.58, allocations: 1.504 MB / 4.363 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008506/14.59, allocations: 443 kB / 4.364 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/14.59, allocations: 146 kB / 4.364 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/14.59, allocations: 3.719 kB / 4.364 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3552/14.94, allocations: 14.85 MB / 4.379 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.785e-05/14.94, allocations: 19.41 kB / 4.379 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009512/14.94, allocations: 116 kB / 4.379 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007708/14.95, allocations: 0.8019 MB / 4.379 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/14.95, allocations: 1.498 MB / 4.381 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007743/14.96, allocations: 405.2 kB / 4.381 GB, free: 98.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/14.96, allocations: 150.3 kB / 4.381 GB, free: 98.1 MB / 0.8698 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 () * 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.001632/14.97, allocations: 174.1 kB / 4.382 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/14.97, allocations: 357.4 kB / 4.382 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1315/15.1, allocations: 8.039 MB / 4.39 GB, free: 97.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/15.1, allocations: 27.56 kB / 4.39 GB, free: 97.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/15.1, allocations: 0 / 4.39 GB, free: 97.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1264/15.23, allocations: 7.248 MB / 4.397 GB, free: 96.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1502/15.38, allocations: 12.49 MB / 4.409 GB, free: 95.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/15.38, allocations: 6.156 kB / 4.409 GB, free: 95.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01043/15.39, allocations: 0.6342 MB / 4.41 GB, free: 95.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/15.39, allocations: 94.92 kB / 4.41 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009974/15.39, allocations: 62.42 kB / 4.41 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/15.39, allocations: 1.5 MB / 4.411 GB, free: 94.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/15.39, allocations: 11.56 kB / 4.411 GB, free: 94.17 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1458/15.54, allocations: 9.924 MB / 4.421 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004256/15.54, allocations: 1.043 MB / 4.422 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001683/15.54, allocations: 18.02 kB / 4.422 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007083/15.55, allocations: 255.1 kB / 4.422 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007966/15.55, allocations: 192.2 kB / 4.422 GB, free: 92.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005324/15.55, allocations: 127.8 kB / 4.423 GB, free: 92.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005349/15.56, allocations: 2.293 MB / 4.425 GB, free: 92.24 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.51e-07/15.56, allocations: 0 / 4.425 GB, free: 92.24 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01274/15.57, allocations: 2.331 MB / 4.427 GB, free: 91.81 MB / 0.8698 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) * 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.004381/15.57, allocations: 1.636 MB / 4.429 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01326/15.59, allocations: 5.317 MB / 4.434 GB, free: 91.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/15.59, allocations: 4.094 kB / 4.434 GB, free: 91.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004319/15.59, allocations: 1.675 MB / 4.436 GB, free: 91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01474/15.61, allocations: 1.735 MB / 4.437 GB, free: 90.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/15.63, allocations: 7.717 MB / 4.445 GB, free: 88.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005251/15.64, allocations: 3.119 MB / 4.448 GB, free: 88.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01769/15.65, allocations: 2.731 MB / 4.45 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/15.66, allocations: 310.9 kB / 4.451 GB, free: 87.85 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/15.66, allocations: 4 kB / 4.451 GB, free: 87.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.1884/15.85, allocations: 78.66 MB / 4.528 GB, free: 26.5 MB / 0.8698 GB