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.698/1.698, allocations: 288.3 MB / 303.2 MB, free: 8.172 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.001525/0.001525, allocations: 185 kB / 371.8 MB, free: 10.27 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.973/1.973, allocations: 205.4 MB / 0.6306 GB, free: 9.898 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.001221/0.001221, allocations: 97.09 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000637/0.0006373, allocations: 20.36 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2898, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.336/6.626, allocations: 2.359 GB / 3.339 GB, free: 329.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/6.626, allocations: 101.6 kB / 3.339 GB, free: 329.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 17.2/23.82, allocations: 4.17 GB / 7.508 GB, free: 102.8 MB / 1.011 GB Notification: Performance of FrontEnd: time 2.655e-06/23.82, allocations: 0 / 7.508 GB, free: 102.8 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.005767/23.83, allocations: 0.562 MB / 7.509 GB, free: 102.7 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.101/23.93, allocations: 22.27 MB / 7.531 GB, free: 94.55 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/23.93, allocations: 9.906 kB / 7.531 GB, free: 94.55 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/23.97, allocations: 3.921 MB / 7.535 GB, free: 93.25 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09943/24.07, allocations: 28.99 MB / 7.563 GB, free: 90.79 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002142/24.07, allocations: 1.245 MB / 7.564 GB, free: 90.76 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01052/24.08, allocations: 1.675 MB / 7.566 GB, free: 90.74 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1012/24.18, allocations: 25.72 MB / 7.591 GB, free: 87.99 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001584/24.18, allocations: 61.75 kB / 7.591 GB, free: 87.98 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009423/24.19, allocations: 0.7223 MB / 7.592 GB, free: 87.98 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000984/24.19, allocations: 0.8798 MB / 7.593 GB, free: 87.94 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07002/24.26, allocations: 22.68 MB / 7.615 GB, free: 87.32 MB / 1.011 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.2459/24.51, allocations: 99.13 MB / 7.711 GB, free: 7.418 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8906/25.4, allocations: 16.08 MB / 7.727 GB, free: 105.6 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004469/25.4, allocations: 2.031 MB / 7.729 GB, free: 103.7 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03122/25.43, allocations: 8.049 MB / 7.737 GB, free: 103.4 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 4.344e-05/25.43, allocations: 3.281 kB / 7.737 GB, free: 103.4 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.07207/25.51, allocations: 20.23 MB / 7.757 GB, free: 103.1 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002793/25.51, allocations: 421.3 kB / 7.757 GB, free: 102.7 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05726/25.56, allocations: 17.37 MB / 7.774 GB, free: 102 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.004857/25.57, allocations: 241.9 kB / 7.774 GB, free: 101.9 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.02156/25.59, allocations: 9.769 MB / 7.784 GB, free: 100.6 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.008813/25.6, allocations: 3.613 MB / 7.787 GB, free: 98.82 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005187/25.6, allocations: 259.9 kB / 7.788 GB, free: 98.82 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.003317/25.61, allocations: 0.8384 MB / 7.789 GB, free: 98.49 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01779/25.63, allocations: 6.912 MB / 7.795 GB, free: 98.46 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02398/25.65, allocations: 10.55 MB / 7.806 GB, free: 94.36 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02659/25.68, allocations: 8.862 MB / 7.814 GB, free: 94.23 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002944/25.68, allocations: 30.83 kB / 7.814 GB, free: 94.23 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.06924/25.75, allocations: 19.55 MB / 7.833 GB, free: 93.09 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.03406/25.78, allocations: 72.19 MB / 7.904 GB, free: 66.78 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006615/25.78, allocations: 106.1 kB / 7.904 GB, free: 66.78 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/25.78, allocations: 191.3 kB / 7.904 GB, free: 66.78 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02104/25.8, allocations: 3.528 MB / 7.908 GB, free: 66.78 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005761/25.8, allocations: 241.2 kB / 7.908 GB, free: 66.78 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03296/25.84, allocations: 2.395 MB / 7.91 GB, free: 66.13 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005297/25.84, allocations: 0.6277 MB / 7.911 GB, free: 66.13 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/25.84, allocations: 3.438 kB / 7.911 GB, free: 66.13 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05955/25.9, allocations: 18.11 MB / 7.928 GB, free: 65.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008227/25.9, allocations: 103.7 kB / 7.929 GB, free: 65.86 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00049/25.9, allocations: 191.3 kB / 7.929 GB, free: 65.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0203/25.92, allocations: 3.537 MB / 7.932 GB, free: 65.78 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/25.92, allocations: 238.9 kB / 7.932 GB, free: 65.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0288/25.95, allocations: 2.152 MB / 7.934 GB, free: 65.04 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005372/25.96, allocations: 0.6246 MB / 7.935 GB, free: 65.04 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 () * Number of clocked 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.02915/25.99, allocations: 7.633 MB / 7.943 GB, free: 64.59 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01314/26, allocations: 1.676 MB / 7.944 GB, free: 63.73 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06562/26.07, allocations: 16.47 MB / 7.96 GB, free: 63.13 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002339/26.07, allocations: 97.09 kB / 7.96 GB, free: 63.13 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001145/26.07, allocations: 8.094 kB / 7.96 GB, free: 63.13 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04382/26.11, allocations: 12.98 MB / 7.973 GB, free: 62.79 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1298/26.24, allocations: 38.47 MB / 8.011 GB, free: 48.39 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.681e-05/26.24, allocations: 3.75 kB / 8.011 GB, free: 48.39 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01664/26.26, allocations: 2.494 MB / 8.013 GB, free: 48.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/26.26, allocations: 35.16 kB / 8.013 GB, free: 48.22 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004663/26.26, allocations: 336.6 kB / 8.013 GB, free: 48.07 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002258/26.26, allocations: 40.91 kB / 8.013 GB, free: 48.07 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/26.26, allocations: 0 / 8.013 GB, free: 48.07 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0741/26.34, allocations: 24.52 MB / 8.037 GB, free: 38.28 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02595/26.36, allocations: 4.578 MB / 8.042 GB, free: 35.89 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01204/26.37, allocations: 226 kB / 8.042 GB, free: 35.75 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02657/26.4, allocations: 1.348 MB / 8.043 GB, free: 35.52 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004043/26.4, allocations: 0.5814 MB / 8.044 GB, free: 35.44 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005033/26.41, allocations: 0.5361 MB / 8.045 GB, free: 35.35 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.04031/26.45, allocations: 13.66 MB / 8.058 GB, free: 30.73 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.42e-07/26.45, allocations: 3.812 kB / 8.058 GB, free: 30.73 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.06536/26.52, allocations: 10.74 MB / 8.068 GB, free: 24.53 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) * Number of clocked states: 0 () * 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.01016/26.53, allocations: 1.934 MB / 8.07 GB, free: 23.4 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.07005/26.6, allocations: 25.48 MB / 8.095 GB, free: 1.805 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.3e-05/26.6, allocations: 18.8 kB / 8.095 GB, free: 1.785 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.03712/26.63, allocations: 8.443 MB / 8.103 GB, free: 14.89 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06897/26.7, allocations: 10.91 MB / 8.114 GB, free: 7.047 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.967/27.67, allocations: 52.42 MB / 8.165 GB, free: 141.5 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03954/27.71, allocations: 13.22 MB / 8.178 GB, free: 140.1 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.07076/27.78, allocations: 11.29 MB / 8.189 GB, free: 138.3 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01328/27.79, allocations: 1.609 MB / 8.191 GB, free: 138.3 MB / 1.073 GB Notification: Performance of SimCode: time 1.533e-06/27.79, allocations: 0 / 8.191 GB, free: 138.3 MB / 1.073 GB Notification: Performance of Templates: time 1.423/29.22, allocations: 366.9 MB / 8.549 GB, free: 172.6 MB / 1.104 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)