Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 285.4 MB / 298 MB, free: 6.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001494, allocations: 180.9 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 90.91 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.293e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6621, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.665/6.327, allocations: 2.358 GB / 3.329 GB, free: 144.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/6.328, allocations: 91.95 kB / 3.329 GB, free: 144.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.867/15.2, allocations: 2.097 GB / 5.426 GB, free: 169.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.853e-06/15.2, allocations: 0 / 5.426 GB, free: 169.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002401/15.2, allocations: 297.5 kB / 5.426 GB, free: 169.1 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.0519/15.25, allocations: 9.577 MB / 5.436 GB, free: 165.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/15.25, allocations: 10.59 kB / 5.436 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/15.27, allocations: 2.031 MB / 5.438 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0452/15.31, allocations: 14.73 MB / 5.452 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009317/15.31, allocations: 0.6495 MB / 5.453 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004854/15.32, allocations: 0.8722 MB / 5.453 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05199/15.37, allocations: 12.76 MB / 5.466 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008238/15.37, allocations: 31.59 kB / 5.466 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005137/15.37, allocations: 385.6 kB / 5.466 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005683/15.38, allocations: 464.7 kB / 5.467 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03188/15.41, allocations: 11.02 MB / 5.478 GB, free: 155.2 MB / 0.948 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.1178/15.53, allocations: 50.72 MB / 5.527 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/15.54, allocations: 7.665 MB / 5.535 GB, free: 109.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007814/15.55, allocations: 4.073 MB / 5.539 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/15.55, allocations: 1.504 MB / 5.54 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009801/15.56, allocations: 3.92 MB / 5.544 GB, free: 99.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.276e-05/15.56, allocations: 0 / 5.544 GB, free: 99.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.02142/15.58, allocations: 6.971 MB / 5.551 GB, free: 92.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/15.58, allocations: 343 kB / 5.551 GB, free: 92.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02525/15.61, allocations: 8.916 MB / 5.56 GB, free: 83.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002285/15.61, allocations: 141.7 kB / 5.56 GB, free: 83.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008522/15.62, allocations: 4.947 MB / 5.565 GB, free: 78.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004354/15.62, allocations: 1.918 MB / 5.567 GB, free: 76.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/15.62, allocations: 140 kB / 5.567 GB, free: 76.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0009184/15.63, allocations: 0.5831 MB / 5.567 GB, free: 75.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006892/15.63, allocations: 3.258 MB / 5.57 GB, free: 72.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008607/15.64, allocations: 5.134 MB / 5.575 GB, free: 66.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/15.65, allocations: 4.289 MB / 5.58 GB, free: 62.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.741e-05/15.65, allocations: 16 kB / 5.58 GB, free: 62.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02773/15.68, allocations: 9.499 MB / 5.589 GB, free: 52.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006909/15.68, allocations: 28.52 MB / 5.617 GB, free: 22.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/15.68, allocations: 52 kB / 5.617 GB, free: 22.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/15.68, allocations: 96 kB / 5.617 GB, free: 22.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009975/15.69, allocations: 1.837 MB / 5.619 GB, free: 20.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001847/15.69, allocations: 123.6 kB / 5.619 GB, free: 20.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01447/15.71, allocations: 1.233 MB / 5.62 GB, free: 18.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/15.71, allocations: 335.9 kB / 5.62 GB, free: 18.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/15.71, allocations: 5.094 kB / 5.62 GB, free: 18.51 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02252/15.73, allocations: 8.736 MB / 5.629 GB, free: 9.707 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002268/15.73, allocations: 52 kB / 5.629 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/15.73, allocations: 100.8 kB / 5.629 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009823/15.74, allocations: 1.833 MB / 5.631 GB, free: 7.723 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001868/15.74, allocations: 123.6 kB / 5.631 GB, free: 7.602 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/15.76, allocations: 1.113 MB / 5.632 GB, free: 6.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/15.76, allocations: 335.8 kB / 5.632 GB, free: 6.152 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * 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.00472/15.77, allocations: 0.5183 MB / 5.633 GB, free: 5.625 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005601/15.77, allocations: 0.8762 MB / 5.634 GB, free: 4.738 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02694/15.8, allocations: 8.142 MB / 5.642 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.902e-05/15.8, allocations: 52 kB / 5.642 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/15.8, allocations: 0 / 5.642 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01687/15.82, allocations: 6.249 MB / 5.648 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8767/16.69, allocations: 19.47 MB / 5.667 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/16.69, allocations: 1.406 kB / 5.667 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007586/16.7, allocations: 1.317 MB / 5.668 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/16.7, allocations: 19.75 kB / 5.668 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/16.7, allocations: 180 kB / 5.668 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.787e-05/16.7, allocations: 21 kB / 5.668 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/16.7, allocations: 5.172 kB / 5.668 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/16.73, allocations: 11.97 MB / 5.68 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01284/16.74, allocations: 2.438 MB / 5.682 GB, free: 180 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00561/16.75, allocations: 125.4 kB / 5.682 GB, free: 180 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01328/16.76, allocations: 0.7123 MB / 5.683 GB, free: 180 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/16.76, allocations: 324.3 kB / 5.683 GB, free: 180 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002463/16.76, allocations: 293.2 kB / 5.684 GB, free: 180 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02047/16.78, allocations: 6.974 MB / 5.691 GB, free: 179.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.473e-06/16.78, allocations: 0 / 5.691 GB, free: 179.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03608/16.82, allocations: 5.609 MB / 5.696 GB, free: 179.3 MB / 0.9636 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * 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.00659/16.83, allocations: 1.38 MB / 5.697 GB, free: 179.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.034/16.86, allocations: 12.59 MB / 5.71 GB, free: 178.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.919e-05/16.86, allocations: 10.59 kB / 5.71 GB, free: 178.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.009675/16.87, allocations: 3.503 MB / 5.713 GB, free: 178.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03424/16.91, allocations: 5.575 MB / 5.719 GB, free: 178.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05075/16.96, allocations: 19.92 MB / 5.738 GB, free: 175.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01256/16.97, allocations: 7.127 MB / 5.745 GB, free: 174.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0404/17.01, allocations: 9.579 MB / 5.754 GB, free: 173 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00451/17.01, allocations: 0.6749 MB / 5.755 GB, free: 173 MB / 0.9636 GB Notification: Performance of SimCode: time 2.154e-06/17.01, allocations: 0.8438 kB / 5.755 GB, free: 173 MB / 0.9636 GB Notification: Performance of Templates: time 0.3189/17.33, allocations: 203.9 MB / 5.954 GB, free: 41.17 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)