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.595/1.595, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001153/0.001153, allocations: 176.8 kB / 366.7 MB, free: 1.699 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.408/1.408, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008521/0.0008521, allocations: 87.59 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.264e-05, allocations: 0 / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.5999, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.843/5.443, allocations: 2.36 GB / 3.333 GB, free: 81.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/5.443, allocations: 90.7 kB / 3.333 GB, free: 81.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.71/21.15, allocations: 4.138 GB / 7.471 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.953e-06/21.15, allocations: 7.938 kB / 7.471 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004812/21.15, allocations: 0.5619 MB / 7.472 GB, free: 3.535 MB / 0.9948 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.06834/21.22, allocations: 18.14 MB / 7.49 GB, free: 1.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/21.22, allocations: 12.03 kB / 7.49 GB, free: 1.258 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.316/22.54, allocations: 3.914 MB / 7.493 GB, free: 107 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08242/22.62, allocations: 28.87 MB / 7.522 GB, free: 105.5 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001181/22.62, allocations: 0.5289 MB / 7.522 GB, free: 105.5 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007912/22.63, allocations: 0.9795 MB / 7.523 GB, free: 105.5 MB / 1.011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05344/22.68, allocations: 19.57 MB / 7.542 GB, free: 105.5 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08212/22.77, allocations: 22.38 MB / 7.564 GB, free: 102.9 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001199/22.77, allocations: 66.69 kB / 7.564 GB, free: 102.9 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009303/22.78, allocations: 33.06 kB / 7.564 GB, free: 102.9 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009546/22.78, allocations: 0.8825 MB / 7.565 GB, free: 102.8 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 0.1898/22.97, allocations: 95.73 MB / 7.658 GB, free: 66.61 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02544/22.99, allocations: 14.55 MB / 7.673 GB, free: 66.02 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01369/23.01, allocations: 7.585 MB / 7.68 GB, free: 65.9 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/23.01, allocations: 2.028 MB / 7.682 GB, free: 63.92 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01611/23.03, allocations: 7.143 MB / 7.689 GB, free: 63.7 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 1.42e-05/23.03, allocations: 0 / 7.689 GB, free: 63.7 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.1355/23.16, allocations: 22.11 MB / 7.711 GB, free: 62.61 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/23.16, allocations: 424 kB / 7.711 GB, free: 62.23 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03183/23.19, allocations: 14.81 MB / 7.726 GB, free: 57.47 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003523/23.2, allocations: 46.02 kB / 7.726 GB, free: 57.44 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01147/23.21, allocations: 9.562 MB / 7.735 GB, free: 50.16 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006111/23.21, allocations: 3.487 MB / 7.738 GB, free: 47.44 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/23.22, allocations: 0 / 7.738 GB, free: 47.44 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0008406/23.22, allocations: 0.8382 MB / 7.739 GB, free: 46.91 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008701/23.22, allocations: 6.078 MB / 7.745 GB, free: 44.61 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01451/23.24, allocations: 9.632 MB / 7.754 GB, free: 37.96 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3001/23.54, allocations: 31.91 MB / 7.786 GB, free: 32.94 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001732/23.54, allocations: 32 kB / 7.786 GB, free: 32.94 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.3224/23.86, allocations: 40.86 MB / 7.826 GB, free: 8.711 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.326/25.19, allocations: 68.19 MB / 7.892 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000535/25.19, allocations: 109.8 kB / 7.892 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/25.19, allocations: 192.7 kB / 7.892 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01959/25.21, allocations: 3.534 MB / 7.896 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/25.21, allocations: 245.6 kB / 7.896 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02336/25.23, allocations: 1.966 MB / 7.898 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00439/25.24, allocations: 0.6228 MB / 7.899 GB, free: 127.9 MB / 1.058 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/25.24, allocations: 6.953 kB / 7.899 GB, free: 127.9 MB / 1.058 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3334/25.57, allocations: 39.32 MB / 7.937 GB, free: 127.7 MB / 1.058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004715/25.57, allocations: 107.6 kB / 7.937 GB, free: 127.7 MB / 1.058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/25.57, allocations: 187.8 kB / 7.937 GB, free: 127.7 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01893/25.59, allocations: 3.534 MB / 7.941 GB, free: 127.7 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/25.59, allocations: 244.2 kB / 7.941 GB, free: 127.7 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02354/25.61, allocations: 1.729 MB / 7.943 GB, free: 127.6 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005258/25.62, allocations: 0.6235 MB / 7.943 GB, free: 127.6 MB / 1.058 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.006439/25.63, allocations: 472.7 kB / 7.944 GB, free: 127.5 MB / 1.058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009591/25.64, allocations: 1.536 MB / 7.945 GB, free: 127.5 MB / 1.058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.146/25.78, allocations: 23.89 MB / 7.969 GB, free: 126.2 MB / 1.058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.067e-05/25.78, allocations: 101.7 kB / 7.969 GB, free: 126.2 MB / 1.058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-05/25.78, allocations: 0 / 7.969 GB, free: 126.2 MB / 1.058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1289/25.91, allocations: 20.81 MB / 7.989 GB, free: 125.3 MB / 1.058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.193/26.1, allocations: 44.05 MB / 8.032 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/26.1, allocations: 0 / 8.032 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01407/26.12, allocations: 2.494 MB / 8.034 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/26.12, allocations: 33.72 kB / 8.035 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002676/26.12, allocations: 213.7 kB / 8.035 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.307e-05/26.12, allocations: 40.67 kB / 8.035 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/26.12, allocations: 0 / 8.035 GB, free: 122.9 MB / 1.058 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1474/26.27, allocations: 31.42 MB / 8.065 GB, free: 120.2 MB / 1.058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01695/26.29, allocations: 4.416 MB / 8.07 GB, free: 119.2 MB / 1.058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008951/26.29, allocations: 61.88 kB / 8.07 GB, free: 119.2 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02186/26.32, allocations: 1.162 MB / 8.071 GB, free: 119 MB / 1.058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002956/26.32, allocations: 0.5842 MB / 8.072 GB, free: 119 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00335/26.32, allocations: 0.5384 MB / 8.072 GB, free: 119 MB / 1.058 GB Notification: Performance of sorting global known variables: time 0.02403/26.35, allocations: 11.37 MB / 8.083 GB, free: 118.6 MB / 1.058 GB Notification: Performance of sort global known variables: time 3.9e-07/26.35, allocations: 0 / 8.083 GB, free: 118.6 MB / 1.058 GB Notification: Performance of remove unused functions: time 0.05236/26.4, allocations: 10.33 MB / 8.093 GB, free: 116.9 MB / 1.058 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.007484/26.41, allocations: 1.601 MB / 8.095 GB, free: 116.5 MB / 1.058 GB Notification: Performance of simCode: created initialization part: time 0.04731/26.45, allocations: 23.13 MB / 8.117 GB, free: 116.2 MB / 1.058 GB Notification: Performance of simCode: created event and clocks part: time 4.425e-05/26.45, allocations: 21.11 kB / 8.117 GB, free: 116.2 MB / 1.058 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/26.47, allocations: 6.41 MB / 8.124 GB, free: 115.4 MB / 1.058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05253/26.52, allocations: 9.296 MB / 8.133 GB, free: 110 MB / 1.058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0907/26.61, allocations: 38.11 MB / 8.17 GB, free: 81.84 MB / 1.058 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02507/26.64, allocations: 13.23 MB / 8.183 GB, free: 74.52 MB / 1.058 GB Notification: Performance of simCode: alias equations: time 0.06637/26.7, allocations: 16.28 MB / 8.199 GB, free: 63.64 MB / 1.058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008587/26.71, allocations: 1.212 MB / 8.2 GB, free: 62.67 MB / 1.058 GB Notification: Performance of SimCode: time 1.302e-06/26.71, allocations: 2.719 kB / 8.2 GB, free: 62.67 MB / 1.058 GB Notification: Performance of Templates: time 1.241/27.95, allocations: 324.9 MB / 8.517 GB, free: 76.16 MB / 1.058 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)