Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001133/0.001133, allocations: 181.3 kB / 371.6 MB, free: 3.395 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.787/1.787, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008285/0.0008284, allocations: 92.81 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.07e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2549, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.593/6.848, allocations: 2.36 GB / 3.34 GB, free: 190.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/6.848, allocations: 92.09 kB / 3.34 GB, free: 190.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 18.86/25.71, allocations: 4.159 GB / 7.499 GB, free: 84.44 MB / 1.011 GB Notification: Performance of FrontEnd: time 2.745e-06/25.71, allocations: 0 / 7.499 GB, free: 84.44 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.005194/25.71, allocations: 0.5658 MB / 7.5 GB, free: 84.33 MB / 1.011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.07224/25.79, allocations: 18.16 MB / 7.518 GB, free: 76.84 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/25.79, allocations: 10.22 kB / 7.518 GB, free: 76.84 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02954/25.82, allocations: 3.91 MB / 7.521 GB, free: 75.52 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08377/25.9, allocations: 28.87 MB / 7.55 GB, free: 58.05 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001763/25.9, allocations: 1.254 MB / 7.551 GB, free: 56.8 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009629/25.91, allocations: 1.671 MB / 7.552 GB, free: 55.14 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09169/26, allocations: 24.8 MB / 7.577 GB, free: 29.54 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001357/26, allocations: 71.33 kB / 7.577 GB, free: 29.46 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009854/26.01, allocations: 0.7237 MB / 7.577 GB, free: 28.75 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008405/26.02, allocations: 0.8757 MB / 7.578 GB, free: 27.88 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05615/26.07, allocations: 21.06 MB / 7.599 GB, free: 6.789 MB / 1.011 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 1.045/27.12, allocations: 99.12 MB / 7.696 GB, free: 70.05 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02762/27.14, allocations: 15.07 MB / 7.71 GB, free: 69.4 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01506/27.16, allocations: 7.917 MB / 7.718 GB, free: 69.28 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003006/27.16, allocations: 2.03 MB / 7.72 GB, free: 67.3 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01948/27.18, allocations: 7.494 MB / 7.727 GB, free: 67.05 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1035): time 1.523e-05/27.18, allocations: 0 / 7.727 GB, free: 67.05 MB / 1.026 GB Notification: Performance of matching and sorting (n=1035): time 0.04929/27.23, allocations: 13.28 MB / 7.74 GB, free: 65.89 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004902/27.23, allocations: 419.5 kB / 7.741 GB, free: 65.5 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04848/27.28, allocations: 17.21 MB / 7.758 GB, free: 64.61 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.004232/27.28, allocations: 241.1 kB / 7.758 GB, free: 64.58 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0158/27.3, allocations: 9.777 MB / 7.767 GB, free: 62.29 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.007121/27.31, allocations: 3.627 MB / 7.771 GB, free: 60.18 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/27.31, allocations: 255.3 kB / 7.771 GB, free: 60.18 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001097/27.31, allocations: 0.8439 MB / 7.772 GB, free: 59.84 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01189/27.32, allocations: 6.323 MB / 7.778 GB, free: 59.81 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/27.34, allocations: 9.965 MB / 7.788 GB, free: 55.71 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01862/27.36, allocations: 8.322 MB / 7.796 GB, free: 55.54 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/27.36, allocations: 28.97 kB / 7.796 GB, free: 55.54 MB / 1.026 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.06678/27.42, allocations: 18.36 MB / 7.814 GB, free: 53.35 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.04152/27.47, allocations: 72.19 MB / 7.884 GB, free: 58.27 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004561/27.47, allocations: 105.8 kB / 7.885 GB, free: 58.27 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/27.47, allocations: 189.4 kB / 7.885 GB, free: 58.27 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01847/27.49, allocations: 3.529 MB / 7.888 GB, free: 58.16 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004013/27.49, allocations: 244.7 kB / 7.888 GB, free: 58.16 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02601/27.51, allocations: 2.395 MB / 7.891 GB, free: 57.09 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004415/27.52, allocations: 0.6279 MB / 7.891 GB, free: 56.99 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/27.52, allocations: 4.969 kB / 7.891 GB, free: 56.99 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04118/27.56, allocations: 16.94 MB / 7.908 GB, free: 51.33 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003208/27.56, allocations: 108.7 kB / 7.908 GB, free: 51.33 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/27.56, allocations: 188.5 kB / 7.908 GB, free: 51.33 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01842/27.58, allocations: 3.537 MB / 7.912 GB, free: 51.03 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/27.58, allocations: 238.8 kB / 7.912 GB, free: 50.98 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02697/27.6, allocations: 2.153 MB / 7.914 GB, free: 50.09 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004581/27.61, allocations: 0.6234 MB / 7.915 GB, free: 49.98 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * 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 (1657): * Single equations (assignments): 1657 * 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.006921/27.62, allocations: 0.9023 MB / 7.915 GB, free: 49.24 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01013/27.63, allocations: 1.677 MB / 7.917 GB, free: 48.38 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04841/27.67, allocations: 15.35 MB / 7.932 GB, free: 42.79 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/27.67, allocations: 102.1 kB / 7.932 GB, free: 42.79 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/27.67, allocations: 3.688 kB / 7.932 GB, free: 42.79 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03323/27.71, allocations: 11.87 MB / 7.944 GB, free: 38.62 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1148/27.82, allocations: 37.35 MB / 7.98 GB, free: 24.25 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/27.82, allocations: 3.406 kB / 7.98 GB, free: 24.25 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01531/27.84, allocations: 2.49 MB / 7.983 GB, free: 24.08 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/27.84, allocations: 32.41 kB / 7.983 GB, free: 24.08 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002636/27.84, allocations: 338.4 kB / 7.983 GB, free: 23.93 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.485e-05/27.84, allocations: 38.94 kB / 7.983 GB, free: 23.93 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/27.84, allocations: 0 / 7.983 GB, free: 23.93 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04209/27.88, allocations: 22.84 MB / 8.005 GB, free: 10.72 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01721/27.9, allocations: 4.585 MB / 8.01 GB, free: 6.844 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008422/27.91, allocations: 222.9 kB / 8.01 GB, free: 6.637 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02392/27.93, allocations: 1.355 MB / 8.011 GB, free: 5.75 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00324/27.94, allocations: 0.5857 MB / 8.012 GB, free: 5.379 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003269/27.94, allocations: 0.5317 MB / 8.012 GB, free: 4.984 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.9525/28.89, allocations: 15.34 MB / 8.027 GB, free: 180.8 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.382e-06/28.89, allocations: 1.688 kB / 8.027 GB, free: 180.8 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.07164/28.96, allocations: 10.73 MB / 8.038 GB, free: 180.8 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.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 (1059): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.009461/28.97, allocations: 1.847 MB / 8.04 GB, free: 180.6 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05975/29.03, allocations: 24.28 MB / 8.063 GB, free: 180.2 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.039e-05/29.03, allocations: 20.92 kB / 8.063 GB, free: 180.2 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01613/29.05, allocations: 6.623 MB / 8.07 GB, free: 180.2 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06873/29.12, allocations: 10.92 MB / 8.081 GB, free: 179.8 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1122/29.23, allocations: 39.11 MB / 8.119 GB, free: 172.3 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03236/29.26, allocations: 13.25 MB / 8.132 GB, free: 170.9 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.08763/29.35, allocations: 17.76 MB / 8.149 GB, free: 167.9 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009807/29.36, allocations: 1.264 MB / 8.15 GB, free: 167.9 MB / 1.104 GB Notification: Performance of SimCode: time 1.202e-06/29.36, allocations: 1.969 kB / 8.15 GB, free: 167.9 MB / 1.104 GB Notification: Performance of Templates: time 1.592/30.95, allocations: 392.9 MB / 8.534 GB, free: 177.5 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)