Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.779/1.779, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 187 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.0008272, allocations: 90.86 kB / 0.7808 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.00049, allocations: 21.14 kB / 0.9088 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.766, allocations: 120.3 MB / 1.026 GB, free: 56.35 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.404/6.17, allocations: 2.194 GB / 3.22 GB, free: 315.9 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/6.171, allocations: 98.69 kB / 3.22 GB, free: 315.9 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 16.25/22.42, allocations: 4.156 GB / 7.376 GB, free: 3.395 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.735e-06/22.42, allocations: 0 / 7.376 GB, free: 3.395 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.005444/22.43, allocations: 0.5697 MB / 7.376 GB, free: 2.824 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.9451/23.37, allocations: 22.09 MB / 7.398 GB, free: 90.83 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/23.37, allocations: 13 kB / 7.398 GB, free: 90.83 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0316/23.4, allocations: 3.988 MB / 7.402 GB, free: 89.58 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09032/23.49, allocations: 27.82 MB / 7.429 GB, free: 86.5 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002369/23.5, allocations: 1.251 MB / 7.43 GB, free: 86.46 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01063/23.51, allocations: 1.688 MB / 7.432 GB, free: 86.44 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1008/23.61, allocations: 25.99 MB / 7.457 GB, free: 83.81 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002109/23.61, allocations: 73.3 kB / 7.457 GB, free: 83.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01326/23.62, allocations: 0.7301 MB / 7.458 GB, free: 83.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/23.63, allocations: 0.879 MB / 7.459 GB, free: 83.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07567/23.7, allocations: 22.81 MB / 7.481 GB, free: 83.62 MB / 1.042 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.2221/23.92, allocations: 98.46 MB / 7.577 GB, free: 46.98 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03445/23.96, allocations: 15.77 MB / 7.592 GB, free: 46.31 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02037/23.98, allocations: 8.551 MB / 7.601 GB, free: 46.19 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003123/23.98, allocations: 2.033 MB / 7.603 GB, free: 44.21 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02307/24, allocations: 8.14 MB / 7.611 GB, free: 43.65 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1037): time 2.221e-05/24, allocations: 0 / 7.611 GB, free: 43.65 MB / 1.042 GB Notification: Performance of matching and sorting (n=1037): time 0.06341/24.07, allocations: 20.41 MB / 7.631 GB, free: 36.47 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/24.07, allocations: 415.8 kB / 7.631 GB, free: 36.09 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04904/24.12, allocations: 17.49 MB / 7.648 GB, free: 30.34 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.004159/24.12, allocations: 245.6 kB / 7.648 GB, free: 30.16 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01983/24.14, allocations: 9.748 MB / 7.658 GB, free: 22.68 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.008312/24.15, allocations: 3.621 MB / 7.661 GB, free: 19.91 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003589/24.15, allocations: 261.2 kB / 7.662 GB, free: 19.7 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.002062/24.16, allocations: 0.8351 MB / 7.663 GB, free: 19.17 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01795/24.17, allocations: 6.963 MB / 7.669 GB, free: 16.86 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02098/24.19, allocations: 10.66 MB / 7.68 GB, free: 10.18 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04004/24.23, allocations: 18.43 MB / 7.698 GB, free: 488 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001913/24.23, allocations: 33.86 kB / 7.698 GB, free: 488 kB / 1.042 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.07168/24.31, allocations: 20.22 MB / 7.717 GB, free: 11.37 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.003515/24.31, allocations: 3.336 MB / 7.721 GB, free: 6.742 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002958/24.31, allocations: 105.2 kB / 7.721 GB, free: 6.742 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/24.31, allocations: 176 kB / 7.721 GB, free: 6.742 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01848/24.33, allocations: 3.317 MB / 7.724 GB, free: 6.41 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/24.33, allocations: 245.3 kB / 7.724 GB, free: 6.363 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02793/24.36, allocations: 2.27 MB / 7.727 GB, free: 5.031 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006826/24.36, allocations: 0.6259 MB / 7.727 GB, free: 4.473 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/24.36, allocations: 8 kB / 7.727 GB, free: 4.465 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07069/24.43, allocations: 18.96 MB / 7.746 GB, free: 6.73 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004107/24.44, allocations: 110.3 kB / 7.746 GB, free: 6.625 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/24.44, allocations: 172 kB / 7.746 GB, free: 6.457 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01881/24.45, allocations: 3.324 MB / 7.749 GB, free: 3.703 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005718/24.46, allocations: 236.2 kB / 7.75 GB, free: 3.492 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02861/24.48, allocations: 2.054 MB / 7.752 GB, free: 1.746 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005047/24.49, allocations: 0.6306 MB / 7.752 GB, free: 1.184 MB / 1.073 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 (1659): * Single equations (assignments): 1659 * 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.04706/24.54, allocations: 9.274 MB / 7.761 GB, free: 15.13 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01073/24.55, allocations: 1.683 MB / 7.763 GB, free: 13.43 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06131/24.61, allocations: 16.61 MB / 7.779 GB, free: 0 / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00069/24.61, allocations: 154.5 kB / 7.779 GB, free: 0 / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.527e-05/24.61, allocations: 1.172 kB / 7.779 GB, free: 0 / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9741/25.58, allocations: 13.12 MB / 7.792 GB, free: 130.9 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1291/25.71, allocations: 38.16 MB / 7.829 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/25.71, allocations: 2.906 kB / 7.829 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01436/25.73, allocations: 2.636 MB / 7.832 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/25.73, allocations: 34.12 kB / 7.832 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002757/25.73, allocations: 333.9 kB / 7.832 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001315/25.73, allocations: 34.41 kB / 7.832 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/25.73, allocations: 3.938 kB / 7.832 GB, free: 129.2 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06413/25.79, allocations: 24.12 MB / 7.856 GB, free: 128.4 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0201/25.81, allocations: 4.327 MB / 7.86 GB, free: 128.2 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01051/25.82, allocations: 225.8 kB / 7.86 GB, free: 128.2 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02689/25.85, allocations: 1.338 MB / 7.862 GB, free: 128.2 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003753/25.86, allocations: 0.5824 MB / 7.862 GB, free: 128.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004531/25.86, allocations: 0.5446 MB / 7.863 GB, free: 128.1 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.03637/25.9, allocations: 12.28 MB / 7.875 GB, free: 127.7 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.32e-07/25.9, allocations: 0 / 7.875 GB, free: 127.7 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.06012/25.96, allocations: 10.66 MB / 7.885 GB, free: 126.9 MB / 1.089 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 (1062): * Single equations (assignments): 1054 * 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.009802/25.97, allocations: 1.948 MB / 7.887 GB, free: 126.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.06761/26.03, allocations: 25.64 MB / 7.912 GB, free: 126.5 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.613e-05/26.03, allocations: 17.86 kB / 7.912 GB, free: 126.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02063/26.05, allocations: 7.228 MB / 7.919 GB, free: 126.5 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08911/26.14, allocations: 10.97 MB / 7.93 GB, free: 126.3 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.137/26.28, allocations: 52.87 MB / 7.981 GB, free: 107.3 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03948/26.32, allocations: 12.86 MB / 7.994 GB, free: 105.9 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0604/26.38, allocations: 11.03 MB / 8.005 GB, free: 104 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01304/26.39, allocations: 1.588 MB / 8.006 GB, free: 104 MB / 1.089 GB Notification: Performance of SimCode: time 1.603e-06/26.39, allocations: 0 / 8.006 GB, free: 104 MB / 1.089 GB Notification: Performance of Templates: time 1.337/27.73, allocations: 367.4 MB / 8.365 GB, free: 133.7 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)