Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.54/2.54, allocations: 287.5 MB / 302.5 MB, free: 8.219 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.001569/0.001568, allocations: 183.8 kB / 371 MB, free: 10.79 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.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.001209/0.001209, allocations: 93.42 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.0007472, allocations: 10.8 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2695, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.035/8.305, allocations: 2.358 GB / 3.336 GB, free: 263.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/8.305, allocations: 94.95 kB / 3.336 GB, free: 263.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.611/12.92, allocations: 0.9298 GB / 4.266 GB, free: 78.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.427e-06/12.92, allocations: 3.938 kB / 4.266 GB, free: 78.24 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000898/12.92, allocations: 123.9 kB / 4.266 GB, free: 78.12 MB / 0.948 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.02303/12.94, allocations: 5.09 MB / 4.271 GB, free: 72.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/12.94, allocations: 8.031 kB / 4.271 GB, free: 72.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/12.95, allocations: 1.258 MB / 4.272 GB, free: 71.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/12.98, allocations: 5.418 MB / 4.277 GB, free: 66.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/12.98, allocations: 279.4 kB / 4.278 GB, free: 65.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/12.98, allocations: 371.9 kB / 4.278 GB, free: 65.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/13, allocations: 5.357 MB / 4.283 GB, free: 60.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/13, allocations: 15.92 kB / 4.283 GB, free: 60.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/13, allocations: 164 kB / 4.283 GB, free: 59.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/13, allocations: 175.1 kB / 4.284 GB, free: 59.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/13.02, allocations: 5.239 MB / 4.289 GB, free: 54.45 MB / 0.948 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.04949/13.07, allocations: 19.33 MB / 4.308 GB, free: 34.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/13.08, allocations: 3.608 MB / 4.311 GB, free: 30.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00289/13.09, allocations: 1.86 MB / 4.313 GB, free: 28.65 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00804/13.1, allocations: 2.049 MB / 4.315 GB, free: 26.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 6.622e-06/13.1, allocations: 4 kB / 4.315 GB, free: 26.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.02431/13.12, allocations: 5.088 MB / 4.32 GB, free: 21.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/13.12, allocations: 291.1 kB / 4.32 GB, free: 21.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009121/13.13, allocations: 3.476 MB / 4.324 GB, free: 17.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/13.13, allocations: 81.7 kB / 4.324 GB, free: 17.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/13.13, allocations: 1.971 MB / 4.326 GB, free: 15.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001713/13.13, allocations: 0.8972 MB / 4.327 GB, free: 14.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004581/13.13, allocations: 64 kB / 4.327 GB, free: 14.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002414/13.13, allocations: 420 kB / 4.327 GB, free: 14.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006396/13.14, allocations: 1.567 MB / 4.328 GB, free: 12.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007417/13.15, allocations: 2.257 MB / 4.331 GB, free: 10 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007292/13.16, allocations: 1.902 MB / 4.333 GB, free: 8.082 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/13.16, allocations: 4 kB / 4.333 GB, free: 8.078 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0184/13.17, allocations: 4.395 MB / 4.337 GB, free: 3.633 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.7541/13.93, allocations: 7.409 MB / 4.344 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-05/13.93, allocations: 17.7 kB / 4.344 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/13.93, allocations: 112.6 kB / 4.344 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008677/13.94, allocations: 0.8044 MB / 4.345 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/13.94, allocations: 1.575 MB / 4.347 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008582/13.95, allocations: 0.5289 MB / 4.347 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/13.95, allocations: 146.8 kB / 4.347 GB, free: 158.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/13.95, allocations: 5.844 kB / 4.347 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01899/13.97, allocations: 4.062 MB / 4.351 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-05/13.97, allocations: 17.12 kB / 4.351 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009925/13.97, allocations: 112.8 kB / 4.351 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008028/13.98, allocations: 0.8018 MB / 4.352 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/13.98, allocations: 1.585 MB / 4.354 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008064/13.99, allocations: 487.4 kB / 4.354 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/13.99, allocations: 147.8 kB / 4.354 GB, free: 157.5 MB / 0.948 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.005578/14, allocations: 1.509 MB / 4.356 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/14, allocations: 383.9 kB / 4.356 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02504/14.03, allocations: 4.356 MB / 4.36 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/14.03, allocations: 28.5 kB / 4.36 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/14.03, allocations: 1.188 kB / 4.36 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01726/14.04, allocations: 3.487 MB / 4.364 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03801/14.08, allocations: 9.285 MB / 4.373 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/14.08, allocations: 2.406 kB / 4.373 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006986/14.09, allocations: 0.6345 MB / 4.373 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009435/14.09, allocations: 101.9 kB / 4.374 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/14.09, allocations: 87 kB / 4.374 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/14.09, allocations: 1.587 MB / 4.375 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/14.09, allocations: 8.578 kB / 4.375 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02542/14.12, allocations: 6.463 MB / 4.381 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004953/14.12, allocations: 1.085 MB / 4.383 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/14.12, allocations: 62.17 kB / 4.383 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007798/14.13, allocations: 312.3 kB / 4.383 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/14.13, allocations: 183.3 kB / 4.383 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007323/14.13, allocations: 136.7 kB / 4.383 GB, free: 153.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009378/14.14, allocations: 2.742 MB / 4.386 GB, free: 153.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.41e-07/14.14, allocations: 3.062 kB / 4.386 GB, free: 153.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01489/14.16, allocations: 2.449 MB / 4.388 GB, free: 153 MB / 0.948 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.005299/14.16, allocations: 1.636 MB / 4.39 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02631/14.19, allocations: 6.119 MB / 4.396 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/14.19, allocations: 5.969 kB / 4.396 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008581/14.2, allocations: 1.955 MB / 4.398 GB, free: 152.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01708/14.22, allocations: 2.021 MB / 4.4 GB, free: 152.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/14.25, allocations: 11.25 MB / 4.411 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004581/14.25, allocations: 3.117 MB / 4.414 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01346/14.27, allocations: 2.065 MB / 4.416 GB, free: 147.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002907/14.27, allocations: 398.1 kB / 4.416 GB, free: 147.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.344e-06/14.27, allocations: 0 / 4.416 GB, free: 147.4 MB / 0.948 GB Notification: Performance of Templates: time 0.218/14.49, allocations: 90.63 MB / 4.505 GB, free: 142 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)