Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.517/2.517, allocations: 287.5 MB / 303.2 MB, free: 8.176 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.00137/0.00137, allocations: 188.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009844/0.0009841, allocations: 94.3 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004993, allocations: 15.38 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 115.3 MB / 0.9793 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.454/7.682, allocations: 2.359 GB / 3.339 GB, free: 330.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/7.682, allocations: 104.1 kB / 3.339 GB, free: 330.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 23.07/30.75, allocations: 4.145 GB / 7.484 GB, free: 108.1 MB / 1.011 GB Notification: Performance of FrontEnd: time 2.524e-06/30.75, allocations: 0 / 7.484 GB, free: 108.1 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.005294/30.76, allocations: 0.5616 MB / 7.485 GB, free: 108 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.1059/30.86, allocations: 22.03 MB / 7.506 GB, free: 99.89 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/30.86, allocations: 11.38 kB / 7.506 GB, free: 99.89 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03641/30.9, allocations: 3.926 MB / 7.51 GB, free: 98.59 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1104/31.01, allocations: 27.82 MB / 7.537 GB, free: 95.34 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001995/31.01, allocations: 1.246 MB / 7.538 GB, free: 95.3 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009361/31.02, allocations: 1.678 MB / 7.54 GB, free: 95.28 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1005/31.12, allocations: 25.86 MB / 7.565 GB, free: 92.53 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001481/31.12, allocations: 70.23 kB / 7.565 GB, free: 92.52 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00875/31.13, allocations: 0.7201 MB / 7.566 GB, free: 92.52 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/31.13, allocations: 0.8827 MB / 7.567 GB, free: 92.48 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08628/31.22, allocations: 22.67 MB / 7.589 GB, free: 92.26 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.2464/31.47, allocations: 98.17 MB / 7.685 GB, free: 34.81 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04966/31.52, allocations: 15.81 MB / 7.7 GB, free: 21.39 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02875/31.55, allocations: 8.512 MB / 7.709 GB, free: 14.17 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004042/31.55, allocations: 2.032 MB / 7.711 GB, free: 11.91 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03172/31.58, allocations: 8.101 MB / 7.719 GB, free: 5.746 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 1.725e-05/31.58, allocations: 0 / 7.719 GB, free: 5.746 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.9804/32.56, allocations: 21.35 MB / 7.739 GB, free: 115.6 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/32.56, allocations: 420.8 kB / 7.74 GB, free: 115.2 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0691/32.63, allocations: 17.44 MB / 7.757 GB, free: 114.4 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.004092/32.64, allocations: 242.7 kB / 7.757 GB, free: 114.4 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01874/32.65, allocations: 9.752 MB / 7.767 GB, free: 113.1 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.008626/32.66, allocations: 3.616 MB / 7.77 GB, free: 111.3 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00339/32.67, allocations: 261.2 kB / 7.77 GB, free: 111.3 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001747/32.67, allocations: 0.8387 MB / 7.771 GB, free: 111 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02651/32.7, allocations: 6.927 MB / 7.778 GB, free: 111 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03213/32.73, allocations: 10.62 MB / 7.788 GB, free: 106.9 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06156/32.79, allocations: 18.36 MB / 7.806 GB, free: 102.8 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002459/32.79, allocations: 29.66 kB / 7.806 GB, free: 102.8 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07654/32.87, allocations: 19.58 MB / 7.825 GB, free: 101.7 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002706/32.87, allocations: 3.32 MB / 7.829 GB, free: 97.68 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000403/32.87, allocations: 105.6 kB / 7.829 GB, free: 97.68 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/32.87, allocations: 175.8 kB / 7.829 GB, free: 97.68 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03061/32.9, allocations: 3.306 MB / 7.832 GB, free: 97.68 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004093/32.9, allocations: 242.6 kB / 7.832 GB, free: 97.68 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03583/32.94, allocations: 2.253 MB / 7.835 GB, free: 96.9 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004698/32.94, allocations: 0.6266 MB / 7.835 GB, free: 96.9 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/32.94, allocations: 3.25 kB / 7.835 GB, free: 96.9 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0728/33.01, allocations: 18.14 MB / 7.853 GB, free: 96.49 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003954/33.01, allocations: 110 kB / 7.853 GB, free: 96.49 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002541/33.01, allocations: 173.1 kB / 7.853 GB, free: 96.49 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03094/33.05, allocations: 3.306 MB / 7.856 GB, free: 96.29 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004076/33.05, allocations: 242 kB / 7.857 GB, free: 96.25 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0337/33.08, allocations: 2.032 MB / 7.859 GB, free: 95.62 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004485/33.08, allocations: 0.6285 MB / 7.859 GB, free: 95.62 MB / 1.011 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.02605/33.11, allocations: 7.638 MB / 7.867 GB, free: 95.17 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009439/33.12, allocations: 1.681 MB / 7.868 GB, free: 94.3 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07326/33.19, allocations: 16.46 MB / 7.884 GB, free: 93.73 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001183/33.19, allocations: 109.6 kB / 7.885 GB, free: 93.73 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/33.19, allocations: 0 / 7.885 GB, free: 93.73 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05562/33.25, allocations: 13.01 MB / 7.897 GB, free: 93.39 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1407/33.39, allocations: 38.01 MB / 7.934 GB, free: 84.94 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/33.39, allocations: 0 / 7.934 GB, free: 84.94 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02778/33.42, allocations: 2.616 MB / 7.937 GB, free: 84.77 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/33.42, allocations: 33.47 kB / 7.937 GB, free: 84.77 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003431/33.42, allocations: 337.4 kB / 7.937 GB, free: 84.62 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000143/33.42, allocations: 37.28 kB / 7.937 GB, free: 84.62 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/33.42, allocations: 4.969 kB / 7.937 GB, free: 84.61 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08943/33.51, allocations: 23.97 MB / 7.961 GB, free: 75.41 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01953/33.53, allocations: 4.314 MB / 7.965 GB, free: 73.14 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008965/33.54, allocations: 232.1 kB / 7.965 GB, free: 72.99 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03207/33.57, allocations: 1.318 MB / 7.966 GB, free: 72.76 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003173/33.57, allocations: 0.5907 MB / 7.967 GB, free: 72.67 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004225/33.58, allocations: 0.5392 MB / 7.968 GB, free: 72.59 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.03707/33.62, allocations: 12.24 MB / 7.98 GB, free: 68.52 MB / 1.011 GB Notification: Performance of sort global known variables: time 8.51e-07/33.62, allocations: 0 / 7.98 GB, free: 68.52 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05723/33.67, allocations: 10.62 MB / 7.99 GB, free: 65.72 MB / 1.011 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.009071/33.68, allocations: 1.904 MB / 7.992 GB, free: 64.73 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.0889/33.77, allocations: 25.51 MB / 8.017 GB, free: 43.25 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.844e-05/33.77, allocations: 18.3 kB / 8.017 GB, free: 43.23 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.02653/33.8, allocations: 7.181 MB / 8.024 GB, free: 37.18 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1113/33.91, allocations: 10.95 MB / 8.034 GB, free: 29.41 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1982/34.11, allocations: 55.61 MB / 8.089 GB, free: 3.766 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03931/34.15, allocations: 13.02 MB / 8.101 GB, free: 10.56 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.07762/34.22, allocations: 11.14 MB / 8.112 GB, free: 2.793 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.9265/35.15, allocations: 1.696 MB / 8.114 GB, free: 111.4 MB / 1.042 GB Notification: Performance of SimCode: time 1.333e-06/35.15, allocations: 1.125 kB / 8.114 GB, free: 111.4 MB / 1.042 GB Notification: Performance of Templates: time 0.913/36.06, allocations: 361.7 MB / 8.467 GB, free: 10.73 MB / 1.089 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)