Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.000911, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009456/0.0009457, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005062, allocations: 18.81 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2468, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.02857/0.2754, allocations: 25.83 MB / 0.8123 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.6431/0.9186, allocations: 135 MB / 0.9441 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.9212, allocations: 46 kB / 0.9442 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.9235, allocations: 0.5125 MB / 0.9447 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.9297, allocations: 1.625 MB / 0.9463 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005636/0.9354, allocations: 1.62 MB / 0.9478 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02249/0.9579, allocations: 17.99 MB / 0.9654 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01957/0.9775, allocations: 11.55 MB / 0.9767 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.9949, allocations: 6.729 MB / 0.9833 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/1.009, allocations: 5.745 MB / 0.9889 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003734/1.013, allocations: 446.8 kB / 0.9893 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/1.026, allocations: 1.158 MB / 0.9904 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005827/1.032, allocations: 2.232 MB / 0.9926 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.008298/1.04, allocations: 2.516 MB / 0.9951 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02142/1.061, allocations: 16.59 MB / 1.011 GB, free: 0 / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.062, allocations: 0 / 1.011 GB, free: 0 / 0.7325 GB Notification: Performance of FrontEnd: time 3.777e-06/1.062, allocations: 64 / 1.011 GB, free: 0 / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0007817/1.062, allocations: 112 / 1.011 GB, free: 16 MB / 0.7481 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.02853/1.091, allocations: 11.33 MB / 1.022 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.091, allocations: 12.03 kB / 1.022 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/1.105, allocations: 2.217 MB / 1.024 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02901/1.134, allocations: 12.16 MB / 1.036 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006136/1.135, allocations: 0.6587 MB / 1.037 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/1.138, allocations: 0.8972 MB / 1.038 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/1.173, allocations: 14.13 MB / 1.052 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/1.173, allocations: 34.34 kB / 1.052 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/1.175, allocations: 395.8 kB / 1.052 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004544/1.175, allocations: 470.3 kB / 1.053 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02841/1.204, allocations: 12.73 MB / 1.065 GB, free: 6.09 MB / 0.7794 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.08992/1.294, allocations: 52.23 MB / 1.116 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/1.31, allocations: 8.356 MB / 1.124 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/1.313, allocations: 1.562 MB / 1.126 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0109/1.324, allocations: 4.283 MB / 1.13 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=553): time 1.233e-05/1.324, allocations: 0 / 1.13 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=553): time 0.03006/1.354, allocations: 10.77 MB / 1.14 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/1.354, allocations: 291.7 kB / 1.141 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0209/1.375, allocations: 9.608 MB / 1.15 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001737/1.377, allocations: 137.7 kB / 1.15 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.007251/1.384, allocations: 4.988 MB / 1.155 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.003534/1.387, allocations: 1.918 MB / 1.157 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.389, allocations: 144 kB / 1.157 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0007536/1.389, allocations: 0.5714 MB / 1.158 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008561/1.398, allocations: 3.585 MB / 1.161 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.408, allocations: 5.441 MB / 1.166 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.419, allocations: 4.588 MB / 1.171 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/1.419, allocations: 16 kB / 1.171 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02408/1.443, allocations: 10.14 MB / 1.181 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.01061/1.454, allocations: 28.66 MB / 1.209 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.454, allocations: 59.98 kB / 1.209 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/1.454, allocations: 96 kB / 1.209 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008992/1.463, allocations: 1.817 MB / 1.211 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001493/1.463, allocations: 123.6 kB / 1.211 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/1.474, allocations: 1.243 MB / 1.212 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/1.476, allocations: 335.9 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.476, allocations: 4 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01911/1.495, allocations: 9.388 MB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.495, allocations: 52 kB / 1.222 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.832e-05/1.495, allocations: 96 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008346/1.504, allocations: 1.814 MB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001562/1.504, allocations: 125.4 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.514, allocations: 1.133 MB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/1.516, allocations: 331.8 kB / 1.225 GB, free: 13.19 MB / 0.9512 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.009536/1.525, allocations: 4 MB / 1.229 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003205/1.528, allocations: 0.88 MB / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02182/1.55, allocations: 8.823 MB / 1.238 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/1.55, allocations: 52 kB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/1.55, allocations: 4 kB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01551/1.566, allocations: 6.938 MB / 1.245 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04446/1.61, allocations: 19.63 MB / 1.264 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.61, allocations: 0 / 1.264 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006443/1.617, allocations: 1.289 MB / 1.266 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.051e-05/1.617, allocations: 23.94 kB / 1.266 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006764/1.618, allocations: 187.8 kB / 1.266 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.178e-05/1.618, allocations: 20 kB / 1.266 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.618, allocations: 0 / 1.266 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/1.642, allocations: 12.95 MB / 1.279 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007342/1.65, allocations: 2.382 MB / 1.281 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002567/1.652, allocations: 120 kB / 1.281 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008686/1.661, allocations: 0.7647 MB / 1.282 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008016/1.662, allocations: 324 kB / 1.282 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007975/1.662, allocations: 291.7 kB / 1.282 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4157/2.078, allocations: 6.802 MB / 1.289 GB, free: 360 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/2.078, allocations: 2.25 kB / 1.289 GB, free: 360 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01697/2.095, allocations: 5.323 MB / 1.294 GB, free: 360 MB / 0.9981 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.003514/2.099, allocations: 1.25 MB / 1.295 GB, free: 359.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02774/2.126, allocations: 13.29 MB / 1.308 GB, free: 356.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/2.126, allocations: 10.06 kB / 1.308 GB, free: 356.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007184/2.134, allocations: 3.811 MB / 1.312 GB, free: 355.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02395/2.158, allocations: 5.557 MB / 1.317 GB, free: 354.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04594/2.204, allocations: 27.2 MB / 1.344 GB, free: 341 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007616/2.211, allocations: 7.159 MB / 1.351 GB, free: 338.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.02074/2.232, allocations: 6.121 MB / 1.357 GB, free: 333.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00369/2.236, allocations: 0.8583 MB / 1.358 GB, free: 332.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/2.236, allocations: 0 / 1.358 GB, free: 332.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.2434/2.479, allocations: 194.2 MB / 1.547 GB, free: 139.6 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) Environment - environmentSimulation: