Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Greenhouses_Greenhouses.Examples.Greenhouse_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Greenhouses 1.0.0-master/package.mo", uses=false) Using package Greenhouses with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Greenhouses 1.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Greenhouses.Examples.Greenhouse_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Greenhouses_Greenhouses.Examples.Greenhouse_2") translateModel(Greenhouses.Examples.Greenhouse_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Greenhouses_Greenhouses.Examples.Greenhouse_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001416, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Greenhouses 1.0.0-master/package.mo): time 0.1788/0.1788, allocations: 14.84 MB / 305.2 MB, free: 0 / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 369.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.0912, allocations: 52.67 MB / 421.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Greenhouses.Examples.Greenhouse_2): time 0.1999/0.2911, allocations: 34.17 MB / 456.1 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.4858/0.7769, allocations: 168.5 MB / 0.6099 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006114/0.7831, allocations: 70.16 kB / 0.61 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00503/0.7882, allocations: 1.032 MB / 0.611 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.7997, allocations: 2.005 MB / 0.6129 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01556/0.8153, allocations: 3.856 MB / 0.6167 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02542/0.8407, allocations: 14.2 MB / 0.6306 GB, free: 1.391 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02106/0.8618, allocations: 7.171 MB / 0.6376 GB, free: 16.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01574/0.8776, allocations: 5.136 MB / 0.6426 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01448/0.8922, allocations: 6.319 MB / 0.6488 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005092/0.8973, allocations: 1.348 MB / 0.6501 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009014/0.9063, allocations: 2.81 MB / 0.6528 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00731/0.9137, allocations: 6.108 MB / 0.6588 GB, free: 6.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01579/0.9295, allocations: 9.214 MB / 0.6678 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03338/0.963, allocations: 23.96 MB / 0.6912 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.963, allocations: 0.9062 kB / 0.6912 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.963, allocations: 0 / 0.6912 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009951/0.964, allocations: 0.9375 kB / 0.6912 GB, free: 6.438 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7214 * Number of variables: 7214 Notification: Performance of Generate backend data structure: time 0.05693/1.021, allocations: 25.93 MB / 0.7165 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.021, allocations: 11.89 kB / 0.7165 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006743/1.028, allocations: 2.038 MB / 0.7185 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.04, allocations: 5.539 MB / 0.7239 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006603/1.04, allocations: 0.6378 MB / 0.7245 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003992/1.044, allocations: 0.8839 MB / 0.7254 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0668/1.111, allocations: 33.37 MB / 0.758 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/1.112, allocations: 10.28 kB / 0.758 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003337/1.115, allocations: 354.1 kB / 0.7583 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003062/1.115, allocations: 340.7 kB / 0.7587 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06398/1.179, allocations: 37.43 MB / 0.7952 GB, free: 12.16 MB / 0.6075 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.5324/1.712, allocations: 50.59 MB / 0.8446 GB, free: 248.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07149/1.783, allocations: 42.75 MB / 0.8864 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03969/1.823, allocations: 37.63 MB / 0.9231 GB, free: 193 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05938/1.882, allocations: 24.82 MB / 0.9474 GB, free: 168.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0478/1.93, allocations: 30.26 MB / 0.9769 GB, free: 137.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006262/1.937, allocations: 2.455 MB / 0.9793 GB, free: 135.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6133): time 4.325e-05/1.937, allocations: 0 / 0.9793 GB, free: 135.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6133): time 2.509/4.445, allocations: 0.8832 GB / 1.863 GB, free: 0.5832 GB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003057/4.448, allocations: 5.668 MB / 1.868 GB, free: 0.5782 GB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/4.454, allocations: 3.699 MB / 1.872 GB, free: 0.5752 GB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/4.457, allocations: 240.8 kB / 1.872 GB, free: 0.575 GB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/4.459, allocations: 2.952 MB / 1.875 GB, free: 0.5725 GB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0169/4.475, allocations: 20.49 MB / 1.895 GB, free: 0.5545 GB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01476/4.49, allocations: 4.584 MB / 1.899 GB, free: 0.5507 GB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/4.49, allocations: 301.1 kB / 1.9 GB, free: 0.5505 GB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03716/4.527, allocations: 26.72 MB / 1.926 GB, free: 0.5272 GB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03355/4.561, allocations: 28.5 MB / 1.953 GB, free: 0.4989 GB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066/9.627, allocations: 1.109 GB / 3.063 GB, free: 9.656 MB / 1.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/9.627, allocations: 16 kB / 3.063 GB, free: 9.641 MB / 1.358 GB Notification: Performance of matching and sorting (n=6551) (initialization): time 0.4421/10.07, allocations: 80.5 MB / 3.141 GB, free: 9.68 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.009704/10.08, allocations: 8.499 MB / 3.15 GB, free: 1.148 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002022/10.08, allocations: 56 kB / 3.15 GB, free: 1.094 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008382/10.09, allocations: 1.581 MB / 3.151 GB, free: 15.5 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/10.11, allocations: 3.479 MB / 3.155 GB, free: 12.02 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/10.14, allocations: 22.41 MB / 3.176 GB, free: 4.223 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0177/10.15, allocations: 1.661 MB / 3.178 GB, free: 2.562 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007617/10.16, allocations: 1.863 MB / 3.18 GB, free: 0.6992 MB / 1.467 GB Warning: Assuming fixed start value for the following 22 variables: error:VARIABLE(fixed = true ) type: Real E_th_tot_kWhm2:VARIABLE(unit = "kW.h/m2" fixed = true ) type: Real W_el_illu:VARIABLE(unit = "kW.h/m2" fixed = true ) type: Real cover.T:VARIABLE(min = 0.0 start = cover.T_start unit = "K" fixed = true nominal = 300.0 ) type: Real air.T:VARIABLE(min = 0.0 start = air.T_start unit = "K" fixed = true nominal = 300.0 ) type: Real air.airVP.VP:VARIABLE(start = air.airVP.VP_start unit = "Pa" fixed = true ) type: Real canopy.T:VARIABLE(min = 0.0 start = canopy.T_start unit = "K" fixed = true nominal = 300.0 ) type: Real floor.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real Q_cd_Soil.Layer_c[1].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real [1] Q_cd_Soil.Layer_s[1].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real [5] Q_cd_Soil.Layer_s[2].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real [5] Q_cd_Soil.Layer_s[3].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real [5] Q_cd_Soil.Layer_s[4].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real [5] Q_cd_Soil.Layer_s[5].T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) type: Real [5] thScreen.T:VARIABLE(min = 0.0 start = thScreen.T_start unit = "K" fixed = true nominal = 300.0 ) type: Real air_Top.T:VARIABLE(min = 0.0 start = air_Top.T_start unit = "K" fixed = true nominal = 300.0 ) type: Real air_Top.air.VP:VARIABLE(start = air_Top.air.VP_start unit = "Pa" fixed = true ) type: Real pipe_low.flow1DimInc.Cells[1].h:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = pipe_low.flow1DimInc.Cells[1].hstart unit = "J/kg" fixed = true nominal = 1000000.0 stateSelect=StateSelect.always ) "Fluid specific enthalpy at the cells" type: Real [5] PID_Mdot.I:VARIABLE(start = PID_Mdot.CSstart / PID_Mdot.Kp fixed = true ) "Integral action / Kp" type: Real SC.PID_crack.I:VARIABLE(start = SC.PID_crack.CSstart / SC.PID_crack.Kp fixed = true ) "Integral action / Kp" type: Real U_vents.PID.I:VARIABLE(start = U_vents.PID.CSstart / U_vents.PID.Kp fixed = true ) "Integral action / Kp" type: Real U_vents.PIDT.I:VARIABLE(start = U_vents.PIDT.CSstart / U_vents.PIDT.Kp fixed = true ) "Integral action / Kp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 235 * Number of states: 0 () * Number of discrete variables: 105 ($PRE.SC.T2.enableFire,$PRE.SC.T3.enableFire,$PRE.SC.T4.enableFire,$PRE.SC.T6.enableFire,$PRE.SC.T7.enableFire,$PRE.SC.T1.enableFire,SC.T1.t_start,$PRE.SC.T1.t_start,SC.T7.t_start,$PRE.SC.T7.t_start,SC.T6.t_start,$PRE.SC.T6.t_start,SC.T3.t_start,$PRE.SC.T3.t_start,SC.T2.t_start,$PRE.SC.T2.t_start,$PRE.SP_new.nextTimeEvent,$whenCondition7,$PRE.SC_usable.nextTimeEvent,$whenCondition2,$PRE.TMY_and_control.nextTimeEvent,$whenCondition1,SC.stateGraphRoot.resume,SC.stateGraphRoot.suspend,SC.op,$PRE.SC.SC_CCD_value.entryTime,$PRE.SC.SC_OCD_value.entryTime,$PRE.SC.SC_OWD_value.entryTime,$PRE.SC.timer2.entryTime,$PRE.SC.closing_ColdDay.oldActive,$PRE.SC.closing_ColdDay.newActive,$PRE.SC.closing_ColdDay.localActive,$PRE.SC.timer1.entryTime,$PRE.SC.opening_WarmDay.oldActive,$PRE.SC.opening_WarmDay.newActive,$PRE.SC.opening_WarmDay.localActive,$PRE.SC.open.oldActive,$PRE.SC.open.newActive,$PRE.SC.open.localActive,$PRE.SC.timer.entryTime,$PRE.SC.opening_ColdDay.oldActive,$PRE.SC.opening_ColdDay.newActive,$PRE.SC.opening_ColdDay.localActive,$PRE.SC.T4.t_start,$PRE.SC.closed.oldActive,$PRE.SC.closed.newActive,$PRE.SC.closed.localActive,SP_new.nextTimeEventScaled,$PRE.SP_new.nextTimeEventScaled,SP_new.nextTimeEvent,SC.SC_CCD_value.entryTime,SC.SC_OCD_value.entryTime,SC.SC_OWD_value.entryTime,SC.T1.enableFire,SC.T1.localCondition,SC.timer2.entryTime,SC.closing_ColdDay.active,SC.closing_ColdDay.oldActive,SC.closing_ColdDay.newActive,SC.closing_ColdDay.localActive,SC.T7.enableFire,SC.T7.localCondition,SC.timer1.entryTime,SC.opening_WarmDay.active,SC.opening_WarmDay.oldActive,SC.opening_WarmDay.newActive,SC.opening_WarmDay.localActive,SC.open.oldActive,SC.open.newActive,SC.open.inPort[2].occupied,SC.open.localActive,SC.open.active,SC.T6.enableFire,SC.T6.localCondition,SC.timer.entryTime,SC.opening_ColdDay.active,SC.opening_ColdDay.oldActive,SC.opening_ColdDay.newActive,SC.opening_ColdDay.localActive,SC.T4.t_start,SC.T4.fire,SC.T4.enableFire,SC.T4.localCondition,SC.T3.enableFire,SC.T3.localCondition,SC.T2.enableFire,SC.T2.localCondition,SC.stateGraphRoot.activeSteps,SC.closed.oldActive,SC.closed.newActive,SC.closed.outPort[2].available,SC.closed.localActive,SC.closed.active,SC.cl,SC_usable.nextTimeEventScaled,$PRE.SC_usable.nextTimeEventScaled,SC_usable.nextTimeEvent,TMY_and_control.nextTimeEventScaled,$PRE.TMY_and_control.nextTimeEventScaled,TMY_and_control.nextTimeEvent,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,Q_cd_Soil.N_cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1478): * Single equations (assignments): 1461 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,40), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.03189/10.19, allocations: 15.72 MB / 3.195 GB, free: 0.9727 MB / 1.483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008872/10.2, allocations: 2.686 MB / 3.198 GB, free: 14.26 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536/16.74, allocations: 7.283 GB / 10.48 GB, free: 1.215 GB / 1.998 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/16.74, allocations: 132 kB / 10.48 GB, free: 1.215 GB / 1.998 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-05/16.74, allocations: 0.6562 kB / 10.48 GB, free: 1.215 GB / 1.998 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000456/16.74, allocations: 72.3 kB / 10.48 GB, free: 1.215 GB / 1.998 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.136/22.87, allocations: 7.29 GB / 17.77 GB, free: 0.5491 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.167e-05/22.88, allocations: 7.984 kB / 17.77 GB, free: 0.5491 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01672/22.89, allocations: 2.951 MB / 17.77 GB, free: 0.5464 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/22.89, allocations: 85.39 kB / 17.77 GB, free: 0.5463 GB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007337/22.9, allocations: 1.035 MB / 17.77 GB, free: 0.5453 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00526/22.9, allocations: 1.774 MB / 17.78 GB, free: 0.5435 GB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/22.9, allocations: 4 kB / 17.78 GB, free: 0.5435 GB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.926/29.83, allocations: 7.328 GB / 25.1 GB, free: 1.166 GB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02031/29.85, allocations: 7.767 MB / 25.11 GB, free: 1.159 GB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009175/29.86, allocations: 0.9049 MB / 25.11 GB, free: 1.158 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01656/29.88, allocations: 1.577 MB / 25.11 GB, free: 1.157 GB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009256/29.89, allocations: 1.559 MB / 25.12 GB, free: 1.156 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007905/29.89, allocations: 1.741 MB / 25.12 GB, free: 1.154 GB / 1.998 GB Notification: Performance of sorting global known variables: time 0.004917/29.9, allocations: 2.382 MB / 25.12 GB, free: 1.152 GB / 1.998 GB Notification: Performance of sort global known variables: time 2.61e-07/29.9, allocations: 0 / 25.12 GB, free: 1.152 GB / 1.998 GB Notification: Performance of remove unused functions: time 0.02653/29.93, allocations: 8.729 MB / 25.13 GB, free: 1.144 GB / 1.998 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 138 (E_th_tot_kWhm2,W_el_illu,error,cover.T,air.T,air.airVP.VP,canopy.T,floor.T,Q_cd_Soil.Layer_c[1].T,Q_cd_Soil.Layer_s[1].T,Q_cd_Soil.Layer_s[2].T,Q_cd_Soil.Layer_s[3].T,Q_cd_Soil.Layer_s[4].T,Q_cd_Soil.Layer_s[5].T,thScreen.T,air_Top.T,air_Top.air.VP,pipe_low.flow1DimInc.Cells[1].h,pipe_low.flow1DimInc.Cells[2].h,pipe_low.flow1DimInc.Cells[3].h,pipe_low.flow1DimInc.Cells[4].h,pipe_low.flow1DimInc.Cells[5].h,PID_Mdot.I,TYM.C_Buf,TYM.T_can24C,TYM.T_canSumC,TYM.W_Fruit_1_Pot,TYM.C_Leaf,TYM.C_Stem,TYM.DM_Har,TYM.N_Fruit[1],TYM.N_Fruit[2],TYM.N_Fruit[3],TYM.N_Fruit[4],TYM.N_Fruit[5],TYM.N_Fruit[6],TYM.N_Fruit[7],TYM.N_Fruit[8],TYM.N_Fruit[9],TYM.N_Fruit[10],TYM.N_Fruit[11],TYM.N_Fruit[12],TYM.N_Fruit[13],TYM.N_Fruit[14],TYM.N_Fruit[15],TYM.N_Fruit[16],TYM.N_Fruit[17],TYM.N_Fruit[18],TYM.N_Fruit[19],TYM.N_Fruit[20],TYM.N_Fruit[21],TYM.N_Fruit[22],TYM.N_Fruit[23],TYM.N_Fruit[24],TYM.N_Fruit[25],TYM.N_Fruit[26],TYM.N_Fruit[27],TYM.N_Fruit[28],TYM.N_Fruit[29],TYM.N_Fruit[30],TYM.N_Fruit[31],TYM.N_Fruit[32],TYM.N_Fruit[33],TYM.N_Fruit[34],TYM.N_Fruit[35],TYM.N_Fruit[36],TYM.N_Fruit[37],TYM.N_Fruit[38],TYM.N_Fruit[39],TYM.N_Fruit[40],TYM.N_Fruit[41],TYM.N_Fruit[42],TYM.N_Fruit[43],TYM.N_Fruit[44],TYM.N_Fruit[45],TYM.N_Fruit[46],TYM.N_Fruit[47],TYM.N_Fruit[48],TYM.N_Fruit[49],TYM.N_Fruit[50],TYM.C_Fruit[1],TYM.C_Fruit[2],TYM.C_Fruit[3],TYM.C_Fruit[4],TYM.C_Fruit[5],TYM.C_Fruit[6],TYM.C_Fruit[7],TYM.C_Fruit[8],TYM.C_Fruit[9],TYM.C_Fruit[10],TYM.C_Fruit[11],TYM.C_Fruit[12],TYM.C_Fruit[13],TYM.C_Fruit[14],TYM.C_Fruit[15],TYM.C_Fruit[16],TYM.C_Fruit[17],TYM.C_Fruit[18],TYM.C_Fruit[19],TYM.C_Fruit[20],TYM.C_Fruit[21],TYM.C_Fruit[22],TYM.C_Fruit[23],TYM.C_Fruit[24],TYM.C_Fruit[25],TYM.C_Fruit[26],TYM.C_Fruit[27],TYM.C_Fruit[28],TYM.C_Fruit[29],TYM.C_Fruit[30],TYM.C_Fruit[31],TYM.C_Fruit[32],TYM.C_Fruit[33],TYM.C_Fruit[34],TYM.C_Fruit[35],TYM.C_Fruit[36],TYM.C_Fruit[37],TYM.C_Fruit[38],TYM.C_Fruit[39],TYM.C_Fruit[40],TYM.C_Fruit[41],TYM.C_Fruit[42],TYM.C_Fruit[43],TYM.C_Fruit[44],TYM.C_Fruit[45],TYM.C_Fruit[46],TYM.C_Fruit[47],TYM.C_Fruit[48],TYM.C_Fruit[49],TYM.C_Fruit[50],CO2_air.CO2,CO2_top.CO2,PID_CO2.I,SC.PID_crack.I,SC.PID_crack_T.I,U_vents.PID.I,U_vents.PIDT.I,U_vents.PIDT_noH.I) * Number of discrete variables: 70 (SC.T4.enableFire,SC.closing_ColdDay.localActive,SC.closing_ColdDay.active,SC.opening_WarmDay.localActive,SC.opening_WarmDay.active,SC.open.localActive,SC.opening_ColdDay.localActive,SC.opening_ColdDay.active,SC.closed.localActive,$cse26,$cse27,$cse28,$cse29,$cse30,$cse31,$cse32,$cse33,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TMY_and_control.nextTimeEvent,TMY_and_control.nextTimeEventScaled,SC_usable.nextTimeEvent,SC_usable.nextTimeEventScaled,SC.cl,SC.closed.active,SC.closed.outPort[2].available,SC.closed.newActive,SC.closed.oldActive,SC.stateGraphRoot.activeSteps,SC.T2.localCondition,SC.T2.enableFire,SC.T3.localCondition,SC.T3.enableFire,SC.T4.localCondition,SC.T4.fire,SC.T4.t_start,SC.opening_ColdDay.newActive,SC.opening_ColdDay.oldActive,SC.timer.entryTime,SC.T6.localCondition,SC.T6.enableFire,SC.open.active,SC.open.inPort[2].occupied,SC.open.newActive,SC.open.oldActive,SC.opening_WarmDay.newActive,SC.opening_WarmDay.oldActive,SC.timer1.entryTime,SC.T7.localCondition,SC.T7.enableFire,SC.closing_ColdDay.newActive,SC.closing_ColdDay.oldActive,SC.timer2.entryTime,SC.T1.localCondition,SC.T1.enableFire,SC.SC_OWD_value.entryTime,SC.SC_OCD_value.entryTime,SC.SC_CCD_value.entryTime,SP_new.nextTimeEvent,SP_new.nextTimeEventScaled,SC.T2.t_start,SC.T3.t_start,SC.T6.t_start,SC.T7.t_start,SC.T1.t_start) * Number of discrete states: 16 (SC.T1.t_start,SC.T7.t_start,SC.T6.t_start,SC.T3.t_start,SC.T2.t_start,SP_new.nextTimeEvent,SC_usable.nextTimeEvent,TMY_and_control.nextTimeEvent,SC.closed.newActive,SC.opening_ColdDay.newActive,SC.open.newActive,SC.opening_WarmDay.newActive,SC.closing_ColdDay.newActive,SP_new.nextTimeEventScaled,SC_usable.nextTimeEventScaled,TMY_and_control.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1381): * Single equations (assignments): 1351 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009565/29.94, allocations: 1.803 MB / 25.13 GB, free: 1.143 GB / 1.998 GB Notification: Performance of simCode: created initialization part: time 13.29/43.22, allocations: 17.69 GB / 42.82 GB, free: 1.552 GB / 1.998 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/43.22, allocations: 0 / 42.82 GB, free: 1.552 GB / 1.998 GB Notification: Performance of simCode: created simulation system equations: time 12.34/55.57, allocations: 16.78 GB / 59.6 GB, free: 1.204 GB / 1.998 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02557/55.59, allocations: 2.6 MB / 59.6 GB, free: 1.201 GB / 1.998 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1817/55.78, allocations: 106.9 MB / 59.71 GB, free: 1.098 GB / 1.998 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02323/55.8, allocations: 12.19 MB / 59.72 GB, free: 1.086 GB / 1.998 GB Notification: Performance of simCode: alias equations: time 0.01734/55.82, allocations: 2.639 MB / 59.72 GB, free: 1.084 GB / 1.998 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008141/55.83, allocations: 0.8148 MB / 59.72 GB, free: 1.083 GB / 1.998 GB Notification: Performance of SimCode: time 1.724e-06/55.83, allocations: 0 / 59.72 GB, free: 1.083 GB / 1.998 GB Notification: Performance of Templates: time 0.5199/56.35, allocations: 381 MB / 60.1 GB, free: 0.7112 GB / 1.998 GB make -j1 -f Greenhouses_Greenhouses.Examples.Greenhouse_2.makefile (rm -f Greenhouses_Greenhouses.Examples.Greenhouse_2.pipe ; mkfifo Greenhouses_Greenhouses.Examples.Greenhouse_2.pipe ; head -c 1048576 < Greenhouses_Greenhouses.Examples.Greenhouse_2.pipe >> ../files/Greenhouses_Greenhouses.Examples.Greenhouse_2.sim & ./Greenhouses_Greenhouses.Examples.Greenhouse_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Greenhouses_Greenhouses.Examples.Greenhouse_2.pipe 2>&1)