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.774/1.774, allocations: 288.3 MB / 303.2 MB, free: 8.23 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.001163/0.001164, allocations: 181 kB / 371.8 MB, free: 10.28 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.699/1.699, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000927/0.0009271, allocations: 98.77 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004219, allocations: 10.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.0201/0.2582, allocations: 25.82 MB / 1.005 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6723/0.9306, allocations: 135 MB / 1.136 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.9343, allocations: 48.53 kB / 1.136 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.9372, allocations: 0.5112 MB / 1.137 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008676/0.9459, allocations: 1.616 MB / 1.139 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008217/0.9541, allocations: 1.627 MB / 1.14 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03217/0.9863, allocations: 18.01 MB / 1.158 GB, free: 6.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02954/1.016, allocations: 11.54 MB / 1.169 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02027/1.036, allocations: 6.728 MB / 1.176 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/1.053, allocations: 5.743 MB / 1.181 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.004232/1.058, allocations: 454.3 kB / 1.182 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/1.071, allocations: 1.163 MB / 1.183 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.007991/1.079, allocations: 2.222 MB / 1.185 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.01046/1.089, allocations: 2.523 MB / 1.187 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.03015/1.119, allocations: 16.58 MB / 1.204 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.119, allocations: 4 kB / 1.204 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.975e-06/1.119, allocations: 0 / 1.204 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007974/1.12, allocations: 0 / 1.204 GB, free: 2.805 MB / 0.7292 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.03907/1.159, allocations: 11.33 MB / 1.215 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.159, allocations: 8.031 kB / 1.215 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/1.177, allocations: 2.222 MB / 1.217 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04273/1.22, allocations: 12.16 MB / 1.229 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001136/1.221, allocations: 0.6622 MB / 1.229 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004052/1.225, allocations: 0.8904 MB / 1.23 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03951/1.265, allocations: 14.14 MB / 1.244 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005635/1.266, allocations: 27.72 kB / 1.244 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003284/1.269, allocations: 396 kB / 1.244 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005931/1.27, allocations: 469.4 kB / 1.245 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/1.302, allocations: 12.73 MB / 1.257 GB, free: 11.11 MB / 0.7917 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.09593/1.398, allocations: 52.24 MB / 1.308 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.417, allocations: 8.349 MB / 1.316 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002668/1.419, allocations: 1.564 MB / 1.318 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01213/1.431, allocations: 4.279 MB / 1.322 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=553): time 1.388e-05/1.432, allocations: 0 / 1.322 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=553): time 0.03005/1.462, allocations: 10.78 MB / 1.333 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/1.462, allocations: 295.6 kB / 1.333 GB, free: 11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02073/1.483, allocations: 9.603 MB / 1.342 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00162/1.484, allocations: 145.7 kB / 1.342 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.007489/1.492, allocations: 4.982 MB / 1.347 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003271/1.495, allocations: 1.922 MB / 1.349 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/1.496, allocations: 132 kB / 1.349 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0006998/1.497, allocations: 0.5831 MB / 1.35 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008889/1.506, allocations: 3.581 MB / 1.353 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/1.517, allocations: 5.435 MB / 1.359 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.527, allocations: 4.581 MB / 1.363 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-05/1.527, allocations: 16 kB / 1.363 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02841/1.555, allocations: 10.15 MB / 1.373 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01024/1.565, allocations: 28.68 MB / 1.401 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/1.566, allocations: 52 kB / 1.401 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/1.566, allocations: 96 kB / 1.401 GB, free: 2.188 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009392/1.575, allocations: 1.814 MB / 1.403 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002094/1.576, allocations: 119.6 kB / 1.403 GB, free: 260 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/1.587, allocations: 1.246 MB / 1.404 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/1.588, allocations: 343.8 kB / 1.405 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.588, allocations: 4 kB / 1.405 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02244/1.611, allocations: 9.38 MB / 1.414 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/1.611, allocations: 52 kB / 1.414 GB, free: 5.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/1.611, allocations: 96.84 kB / 1.414 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008896/1.62, allocations: 1.814 MB / 1.416 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/1.62, allocations: 123.6 kB / 1.416 GB, free: 3.129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.631, allocations: 1.133 MB / 1.417 GB, free: 1.988 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/1.633, allocations: 331.8 kB / 1.417 GB, free: 1.664 MB / 0.948 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.008642/1.642, allocations: 4 MB / 1.421 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002895/1.645, allocations: 0.88 MB / 1.422 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02011/1.665, allocations: 8.827 MB / 1.431 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.665, allocations: 52 kB / 1.431 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.665, allocations: 3.984 kB / 1.431 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.8211/2.486, allocations: 6.943 MB / 1.438 GB, free: 334.5 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04594/2.532, allocations: 19.63 MB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/2.532, allocations: 4.719 kB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007694/2.54, allocations: 1.285 MB / 1.458 GB, free: 327.2 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.828e-05/2.54, allocations: 18.94 kB / 1.458 GB, free: 327.2 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009613/2.541, allocations: 186.7 kB / 1.458 GB, free: 327.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.388e-05/2.541, allocations: 19.59 kB / 1.458 GB, free: 327.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.541, allocations: 1.281 kB / 1.458 GB, free: 327.1 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02461/2.566, allocations: 12.94 MB / 1.471 GB, free: 322.4 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007941/2.574, allocations: 2.385 MB / 1.473 GB, free: 321.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003395/2.577, allocations: 123 kB / 1.473 GB, free: 321.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009068/2.586, allocations: 0.7585 MB / 1.474 GB, free: 321.4 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/2.587, allocations: 321.8 kB / 1.474 GB, free: 321.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001132/2.588, allocations: 294.5 kB / 1.475 GB, free: 321.3 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01417/2.602, allocations: 6.811 MB / 1.481 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of sort global known variables: time 3.01e-07/2.603, allocations: 0 / 1.481 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.0171/2.62, allocations: 5.333 MB / 1.486 GB, free: 317.9 MB / 0.9637 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.003324/2.623, allocations: 1.249 MB / 1.488 GB, free: 317.4 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.02485/2.648, allocations: 13.28 MB / 1.501 GB, free: 311 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/2.648, allocations: 13.75 kB / 1.501 GB, free: 311 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.007198/2.655, allocations: 3.812 MB / 1.504 GB, free: 308.6 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02567/2.681, allocations: 5.559 MB / 1.51 GB, free: 303.4 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04773/2.729, allocations: 27.2 MB / 1.536 GB, free: 276.2 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009004/2.738, allocations: 7.159 MB / 1.543 GB, free: 269 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02356/2.761, allocations: 6.119 MB / 1.549 GB, free: 262.8 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004587/2.766, allocations: 0.8583 MB / 1.55 GB, free: 262 MB / 0.9637 GB Notification: Performance of SimCode: time 8.51e-07/2.766, allocations: 0 / 1.55 GB, free: 262 MB / 0.9637 GB Notification: Performance of Templates: time 0.2546/3.021, allocations: 194.2 MB / 1.74 GB, free: 68.51 MB / 0.9637 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)