Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001086/0.001085, allocations: 184.9 kB / 361.4 MB, free: 6.879 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.683/1.683, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008909/0.0008909, allocations: 98.45 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.618e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.6994, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.281/5.981, allocations: 2.359 GB / 3.323 GB, free: 169.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/5.981, allocations: 89.7 kB / 3.323 GB, free: 169.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.18/22.16, allocations: 4.138 GB / 7.461 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.983e-06/22.16, allocations: 0 / 7.461 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004728/22.17, allocations: 0.5697 MB / 7.462 GB, free: 92.25 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.06494/22.23, allocations: 18.15 MB / 7.48 GB, free: 83.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/22.23, allocations: 14.66 kB / 7.48 GB, free: 83.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02719/22.26, allocations: 3.912 MB / 7.484 GB, free: 81.19 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07749/22.34, allocations: 28.87 MB / 7.512 GB, free: 54.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/22.34, allocations: 0.5273 MB / 7.512 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00878/22.35, allocations: 0.9803 MB / 7.513 GB, free: 53.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04863/22.4, allocations: 19.57 MB / 7.532 GB, free: 33.71 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07315/22.47, allocations: 22.37 MB / 7.554 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001531/22.47, allocations: 73.48 kB / 7.554 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008919/22.48, allocations: 39.7 kB / 7.554 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009629/22.48, allocations: 0.8835 MB / 7.555 GB, free: 9.516 MB / 0.9948 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.9014/23.38, allocations: 95.72 MB / 7.649 GB, free: 68.15 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02968/23.41, allocations: 14.55 MB / 7.663 GB, free: 67.56 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01495/23.43, allocations: 7.591 MB / 7.67 GB, free: 67.44 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003052/23.43, allocations: 2.035 MB / 7.672 GB, free: 65.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0201/23.45, allocations: 7.129 MB / 7.679 GB, free: 65.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1035): time 2.927e-05/23.45, allocations: 3.094 kB / 7.679 GB, free: 65.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1035): time 0.1451/23.6, allocations: 22.11 MB / 7.701 GB, free: 64.15 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/23.6, allocations: 416.9 kB / 7.701 GB, free: 63.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03877/23.64, allocations: 14.82 MB / 7.716 GB, free: 62.97 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003627/23.64, allocations: 41.08 kB / 7.716 GB, free: 62.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01299/23.65, allocations: 9.567 MB / 7.725 GB, free: 60.43 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006237/23.66, allocations: 3.484 MB / 7.728 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0023/23.66, allocations: 0 / 7.728 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001144/23.66, allocations: 0.8368 MB / 7.729 GB, free: 57.92 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/23.67, allocations: 6.079 MB / 7.735 GB, free: 57.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01411/23.69, allocations: 9.631 MB / 7.745 GB, free: 53.82 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3112/24, allocations: 31.91 MB / 7.776 GB, free: 52.69 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/24, allocations: 31.03 kB / 7.776 GB, free: 52.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.3269/24.32, allocations: 40.86 MB / 7.816 GB, free: 49.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02543/24.35, allocations: 68.2 MB / 7.882 GB, free: 43.01 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000431/24.35, allocations: 105.7 kB / 7.882 GB, free: 43.01 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/24.35, allocations: 190.2 kB / 7.883 GB, free: 43.01 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01732/24.37, allocations: 3.526 MB / 7.886 GB, free: 42.97 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003262/24.37, allocations: 250.2 kB / 7.886 GB, free: 42.96 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02439/24.39, allocations: 1.97 MB / 7.888 GB, free: 42.12 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004247/24.4, allocations: 0.6262 MB / 7.889 GB, free: 42.11 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/24.4, allocations: 3.469 kB / 7.889 GB, free: 42.11 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3254/24.72, allocations: 39.32 MB / 7.927 GB, free: 25.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/24.72, allocations: 108 kB / 7.927 GB, free: 25.76 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/24.72, allocations: 188 kB / 7.928 GB, free: 25.57 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0165/24.74, allocations: 3.528 MB / 7.931 GB, free: 22.67 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002578/24.74, allocations: 241.7 kB / 7.931 GB, free: 22.45 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02164/24.76, allocations: 1.725 MB / 7.933 GB, free: 21.05 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004021/24.77, allocations: 0.6229 MB / 7.933 GB, free: 20.49 MB / 1.057 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.006871/24.77, allocations: 472.3 kB / 7.934 GB, free: 20.02 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008239/24.78, allocations: 1.536 MB / 7.935 GB, free: 18.47 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1438/24.92, allocations: 23.9 MB / 7.959 GB, free: 324 kB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-05/24.92, allocations: 103.9 kB / 7.959 GB, free: 224 kB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/24.92, allocations: 0 / 7.959 GB, free: 224 kB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9613/25.89, allocations: 25.38 MB / 7.984 GB, free: 156.7 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2048/26.09, allocations: 44.04 MB / 8.027 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/26.09, allocations: 3.938 kB / 8.027 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01583/26.11, allocations: 2.489 MB / 8.029 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/26.11, allocations: 34.47 kB / 8.029 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003513/26.11, allocations: 219 kB / 8.029 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001669/26.11, allocations: 38.3 kB / 8.029 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/26.11, allocations: 4.406 kB / 8.029 GB, free: 155.2 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1711/26.28, allocations: 31.42 MB / 8.06 GB, free: 153.6 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01878/26.3, allocations: 4.412 MB / 8.064 GB, free: 152.7 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008556/26.31, allocations: 60.19 kB / 8.064 GB, free: 152.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02225/26.33, allocations: 1.175 MB / 8.066 GB, free: 152.6 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003804/26.34, allocations: 0.5802 MB / 8.066 GB, free: 152.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005691/26.34, allocations: 0.5426 MB / 8.067 GB, free: 152.6 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03125/26.37, allocations: 11.37 MB / 8.078 GB, free: 152.2 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.91e-07/26.37, allocations: 2.156 kB / 8.078 GB, free: 152.2 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.05385/26.43, allocations: 10.33 MB / 8.088 GB, free: 151.3 MB / 1.057 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.008179/26.43, allocations: 1.602 MB / 8.089 GB, free: 151.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05197/26.49, allocations: 23.13 MB / 8.112 GB, free: 150.8 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.882e-05/26.49, allocations: 21.83 kB / 8.112 GB, free: 150.8 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01435/26.5, allocations: 6.405 MB / 8.118 GB, free: 150.8 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05443/26.56, allocations: 9.295 MB / 8.127 GB, free: 150.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/26.66, allocations: 38.1 MB / 8.165 GB, free: 142.5 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02559/26.68, allocations: 13.23 MB / 8.177 GB, free: 141.1 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.07604/26.76, allocations: 16.28 MB / 8.193 GB, free: 138.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009091/26.77, allocations: 1.218 MB / 8.195 GB, free: 138.2 MB / 1.057 GB Notification: Performance of SimCode: time 1.022e-06/26.77, allocations: 0 / 8.195 GB, free: 138.2 MB / 1.057 GB Notification: Performance of Templates: time 2.11/28.88, allocations: 324.9 MB / 8.512 GB, free: 146.4 MB / 1.057 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)