Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.188/2.188, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 184.3 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008923/0.0008921, allocations: 97.03 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005218/0.0005221, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.423/7.653, allocations: 2.476 GB / 3.376 GB, free: 42.28 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/7.654, allocations: 100.1 kB / 3.376 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 22.69/30.34, allocations: 4.049 GB / 7.424 GB, free: 98.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.316e-06/30.34, allocations: 0 / 7.424 GB, free: 98.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.005563/30.35, allocations: 0.5666 MB / 7.425 GB, free: 98.14 MB / 0.948 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.108/30.45, allocations: 22.23 MB / 7.447 GB, free: 90.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/30.45, allocations: 11.69 kB / 7.447 GB, free: 90.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03749/30.49, allocations: 3.915 MB / 7.45 GB, free: 88.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1132/30.6, allocations: 27.14 MB / 7.477 GB, free: 85.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001971/30.61, allocations: 1.246 MB / 7.478 GB, free: 85.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01076/30.62, allocations: 1.675 MB / 7.48 GB, free: 85.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.101/30.72, allocations: 25.53 MB / 7.505 GB, free: 74.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001519/30.72, allocations: 75.28 kB / 7.505 GB, free: 74.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009044/30.73, allocations: 0.7139 MB / 7.505 GB, free: 73.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/30.73, allocations: 0.8738 MB / 7.506 GB, free: 72.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1018/30.83, allocations: 22.67 MB / 7.528 GB, free: 52.8 MB / 0.948 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 1.155/31.99, allocations: 97.8 MB / 7.624 GB, free: 79 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05061/32.04, allocations: 15.8 MB / 7.639 GB, free: 78.34 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02846/32.07, allocations: 8.515 MB / 7.648 GB, free: 78.21 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004075/32.07, allocations: 2.03 MB / 7.65 GB, free: 76.23 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03301/32.1, allocations: 7.896 MB / 7.657 GB, free: 76 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=1035): time 1.783e-05/32.1, allocations: 3.25 kB / 7.657 GB, free: 76 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1035): time 0.09149/32.19, allocations: 20.27 MB / 7.677 GB, free: 75.64 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002241/32.2, allocations: 423.8 kB / 7.678 GB, free: 75.25 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05247/32.25, allocations: 17.45 MB / 7.695 GB, free: 74.44 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.003617/32.25, allocations: 229 kB / 7.695 GB, free: 74.41 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01714/32.27, allocations: 9.747 MB / 7.704 GB, free: 72.13 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.008305/32.28, allocations: 3.62 MB / 7.708 GB, free: 70.25 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003259/32.28, allocations: 258.9 kB / 7.708 GB, free: 70.25 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001767/32.28, allocations: 0.836 MB / 7.709 GB, free: 69.92 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02613/32.31, allocations: 6.929 MB / 7.716 GB, free: 69.89 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03097/32.34, allocations: 10.62 MB / 7.726 GB, free: 65.79 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03124/32.37, allocations: 8.885 MB / 7.735 GB, free: 65.64 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/32.37, allocations: 31.56 kB / 7.735 GB, free: 65.64 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07828/32.45, allocations: 19.57 MB / 7.754 GB, free: 64.52 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002476/32.45, allocations: 3.328 MB / 7.757 GB, free: 60.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003247/32.45, allocations: 106.4 kB / 7.757 GB, free: 60.5 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/32.45, allocations: 171.8 kB / 7.757 GB, free: 60.5 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03084/32.48, allocations: 3.312 MB / 7.761 GB, free: 60.5 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004039/32.48, allocations: 246.1 kB / 7.761 GB, free: 60.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03432/32.52, allocations: 2.241 MB / 7.763 GB, free: 59.72 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004383/32.52, allocations: 0.6275 MB / 7.764 GB, free: 59.72 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/32.52, allocations: 3.938 kB / 7.764 GB, free: 59.72 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06873/32.59, allocations: 18.15 MB / 7.781 GB, free: 59.45 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/32.59, allocations: 106.9 kB / 7.782 GB, free: 59.45 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/32.59, allocations: 176.2 kB / 7.782 GB, free: 59.45 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03081/32.62, allocations: 3.301 MB / 7.785 GB, free: 59.45 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/32.62, allocations: 244.5 kB / 7.785 GB, free: 59.45 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03438/32.66, allocations: 2.03 MB / 7.787 GB, free: 58.82 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004504/32.66, allocations: 0.6269 MB / 7.788 GB, free: 58.82 MB / 0.9637 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.02596/32.69, allocations: 7.633 MB / 7.795 GB, free: 58.55 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009092/32.7, allocations: 1.664 MB / 7.797 GB, free: 57.7 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07528/32.77, allocations: 16.48 MB / 7.813 GB, free: 51.8 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/32.77, allocations: 104.4 kB / 7.813 GB, free: 51.79 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/32.77, allocations: 0.5 kB / 7.813 GB, free: 51.79 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05639/32.83, allocations: 13.03 MB / 7.826 GB, free: 47.28 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.145/32.97, allocations: 37.79 MB / 7.863 GB, free: 32.85 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-05/32.97, allocations: 0 / 7.863 GB, free: 32.85 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02834/33, allocations: 2.614 MB / 7.865 GB, free: 32.68 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/33, allocations: 33.53 kB / 7.865 GB, free: 32.68 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003236/33.01, allocations: 340.1 kB / 7.866 GB, free: 32.53 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001322/33.01, allocations: 33.62 kB / 7.866 GB, free: 32.53 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/33.01, allocations: 7.453 kB / 7.866 GB, free: 32.53 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09394/33.1, allocations: 23.96 MB / 7.889 GB, free: 14.07 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02035/33.12, allocations: 4.208 MB / 7.893 GB, free: 10.43 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009221/33.13, allocations: 229.8 kB / 7.893 GB, free: 10.22 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03227/33.16, allocations: 1.313 MB / 7.895 GB, free: 9.359 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00338/33.17, allocations: 0.5828 MB / 7.895 GB, free: 8.988 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004064/33.17, allocations: 493.4 kB / 7.896 GB, free: 8.633 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.04177/33.21, allocations: 12.33 MB / 7.908 GB, free: 14.92 MB / 0.9793 GB Notification: Performance of sort global known variables: time 6.51e-07/33.21, allocations: 0.6562 kB / 7.908 GB, free: 14.92 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.06035/33.27, allocations: 10.59 MB / 7.918 GB, free: 4.391 MB / 0.9793 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.008994/33.28, allocations: 1.866 MB / 7.92 GB, free: 3.367 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.1109/33.39, allocations: 26.44 MB / 7.946 GB, free: 20 kB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 0.8092/34.2, allocations: 25.8 kB / 7.946 GB, free: 142.6 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.02903/34.23, allocations: 7.175 MB / 7.953 GB, free: 142.6 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1068/34.34, allocations: 11.08 MB / 7.964 GB, free: 142.4 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1465/34.48, allocations: 52.71 MB / 8.015 GB, free: 123.7 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03541/34.52, allocations: 12.85 MB / 8.028 GB, free: 122.3 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.07626/34.6, allocations: 11.05 MB / 8.038 GB, free: 120.4 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01404/34.61, allocations: 1.566 MB / 8.04 GB, free: 120.4 MB / 0.9949 GB Notification: Performance of SimCode: time 1.403e-06/34.61, allocations: 1.406 kB / 8.04 GB, free: 120.4 MB / 0.9949 GB Notification: Performance of Templates: time 1.777/36.39, allocations: 357.1 MB / 8.389 GB, free: 166 MB / 1.026 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)