Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 105 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 71.89 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4527, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 6.204/6.657, allocations: 1.894 GB / 2.958 GB, free: 52.93 MB / 1.623 GB Notification: Performance of NFInst.instExpressions: time 0.3021/6.959, allocations: 198.8 MB / 3.152 GB, free: 32.42 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07199/7.031, allocations: 0.9995 MB / 3.153 GB, free: 32.42 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.06563/7.096, allocations: 27.23 MB / 3.18 GB, free: 22.3 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.1253/7.222, allocations: 36.84 MB / 3.216 GB, free: 0.9258 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.07146/7.293, allocations: 22.61 MB / 3.238 GB, free: 14.78 MB / 1.654 GB Notification: Performance of NFFlatten.flatten: time 0.1462/7.439, allocations: 85.17 MB / 3.321 GB, free: 12 MB / 1.732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08131/7.521, allocations: 25.9 MB / 3.346 GB, free: 2.273 MB / 1.748 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07731/7.598, allocations: 25.9 MB / 3.371 GB, free: 9.703 MB / 1.779 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05244/7.651, allocations: 19.32 MB / 3.39 GB, free: 7.59 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01794/7.669, allocations: 3.965 MB / 3.394 GB, free: 3.625 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.498/10.17, allocations: 25.25 MB / 3.419 GB, free: 108.1 MB / 1.811 GB Notification: Performance of NFScalarize.scalarize: time 0.02059/10.19, allocations: 9.114 MB / 3.428 GB, free: 108.1 MB / 1.811 GB Notification: Performance of NFVerifyModel.verify: time 0.05612/10.24, allocations: 17.32 MB / 3.445 GB, free: 107.6 MB / 1.811 GB Notification: Performance of NFConvertDAE.convert: time 0.1287/10.37, allocations: 62.97 MB / 3.506 GB, free: 103.3 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/10.37, allocations: 0 / 3.506 GB, free: 103.3 MB / 1.811 GB Notification: Performance of FrontEnd: time 2.084e-06/10.37, allocations: 1.688 kB / 3.506 GB, free: 103.3 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.002026/10.37, allocations: 0 / 3.506 GB, free: 103.3 MB / 1.811 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4288 * Number of variables: 4288 Notification: Performance of Generate backend data structure: time 0.1366/10.51, allocations: 31.23 MB / 3.537 GB, free: 90.84 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/10.51, allocations: 13.47 kB / 3.537 GB, free: 90.84 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0959/10.61, allocations: 13.13 MB / 3.549 GB, free: 89.21 MB / 1.811 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07393/10.68, allocations: 27.95 MB / 3.577 GB, free: 85.43 MB / 1.811 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003186/10.68, allocations: 1.587 MB / 3.578 GB, free: 85.2 MB / 1.811 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01218/10.7, allocations: 1.773 MB / 3.58 GB, free: 85.18 MB / 1.811 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1042/10.8, allocations: 25.69 MB / 3.605 GB, free: 83.75 MB / 1.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001743/10.8, allocations: 19.44 kB / 3.605 GB, free: 83.75 MB / 1.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01372/10.82, allocations: 0.6787 MB / 3.606 GB, free: 83.75 MB / 1.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001333/10.82, allocations: 0.6506 MB / 3.606 GB, free: 83.71 MB / 1.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09608/10.91, allocations: 27.36 MB / 3.633 GB, free: 82.22 MB / 1.811 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.2447/11.16, allocations: 115 MB / 3.745 GB, free: 23.73 MB / 1.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04944/11.21, allocations: 18.28 MB / 3.763 GB, free: 13.49 MB / 1.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03063/11.24, allocations: 10.91 MB / 3.774 GB, free: 7.852 MB / 1.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1422/11.38, allocations: 52.61 MB / 3.825 GB, free: 3.777 MB / 1.858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0392/11.42, allocations: 10.85 MB / 3.836 GB, free: 8.852 MB / 1.873 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01712/11.44, allocations: 1.181 MB / 3.837 GB, free: 7.664 MB / 1.873 GB Notification: Performance of pre-optimization done (n=1141): time 4.808e-05/11.44, allocations: 4 kB / 3.837 GB, free: 7.66 MB / 1.873 GB Notification: Performance of matching and sorting (n=1175): time 0.2451/11.68, allocations: 59.05 MB / 3.895 GB, free: 12.15 MB / 1.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004729/11.68, allocations: 0.76 MB / 3.895 GB, free: 11.23 MB / 1.936 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loaOpe.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07112/11.75, allocations: 22.65 MB / 3.918 GB, free: 4.719 MB / 1.951 GB Notification: Performance of collectPreVariables (initialization): time 0.005829/11.76, allocations: 311.5 kB / 3.918 GB, free: 4.41 MB / 1.951 GB Notification: Performance of collectInitialEqns (initialization): time 0.02266/11.78, allocations: 11.15 MB / 3.929 GB, free: 9.414 MB / 1.967 GB Notification: Performance of collectInitialBindings (initialization): time 0.01042/11.79, allocations: 4.001 MB / 3.933 GB, free: 5.449 MB / 1.967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02879/11.82, allocations: 3.819 MB / 3.936 GB, free: 1.621 MB / 1.967 GB Notification: Performance of setup shared object (initialization): time 0.0001039/11.82, allocations: 305.7 kB / 3.937 GB, free: 1.32 MB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03914/11.86, allocations: 11.81 MB / 3.948 GB, free: 5.496 MB / 1.983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04596/11.91, allocations: 15.67 MB / 3.964 GB, free: 4.516 MB / 1.998 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3545/12.26, allocations: 90.48 MB / 4.052 GB, free: 8.945 MB / 2.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/12.26, allocations: 24 kB / 4.052 GB, free: 8.922 MB / 2.092 GB Notification: Performance of matching and sorting (n=2180) (initialization): time 0.1258/12.39, allocations: 32.41 MB / 4.084 GB, free: 8.82 MB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006213/12.39, allocations: 386.1 kB / 4.084 GB, free: 8.363 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/12.39, allocations: 76 kB / 4.084 GB, free: 8.289 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/12.4, allocations: 3.612 MB / 4.088 GB, free: 4.621 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03587/12.44, allocations: 5.054 MB / 4.092 GB, free: 15.79 MB / 2.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04375/12.48, allocations: 41.52 MB / 4.133 GB, free: 3.875 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04102/12.52, allocations: 2.331 MB / 4.135 GB, free: 1.559 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007506/12.53, allocations: 0.9287 MB / 4.136 GB, free: 0.6367 MB / 2.17 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.8974/13.43, allocations: 16.7 MB / 4.153 GB, free: 1.159 GB / 2.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04707/13.48, allocations: 15.3 MB / 4.167 GB, free: 1.155 GB / 2.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3374/13.81, allocations: 88.59 MB / 4.254 GB, free: 1.138 GB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002465/13.81, allocations: 23.56 kB / 4.254 GB, free: 1.138 GB / 2.186 GB Notification: Performance of matching and sorting (n=2180) (initialization_lambda0): time 0.1191/13.93, allocations: 31.8 MB / 4.285 GB, free: 1.127 GB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004021/13.93, allocations: 385.1 kB / 4.285 GB, free: 1.126 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/13.93, allocations: 73.62 kB / 4.285 GB, free: 1.126 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/13.94, allocations: 3.598 MB / 4.289 GB, free: 1.125 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03064/13.98, allocations: 4.991 MB / 4.294 GB, free: 1.125 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04453/14.02, allocations: 47.29 MB / 4.34 GB, free: 1.086 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04216/14.06, allocations: 2.403 MB / 4.342 GB, free: 1.086 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007502/14.07, allocations: 0.9133 MB / 4.343 GB, free: 1.086 GB / 2.186 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 113 (loaOpe.loa.ctl.cha.down,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.y,loaOpe.loa.ctl.cha.u,$PRE.loaOpe.loa.ctl.cha.u,$whenCondition14,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.ctlPum2.cha.u,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,loaOpe.loa.coi.flowRegime_nominal,loaOpe.loa.coi.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coi.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coi.dryWetCalcs.cfg,loaOpe.loa.coi.flowRegime,loaOpe.loa.coiNom.flowRegime_nominal,loaOpe.loa.coiNom.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coiNom.dryWetCalcs.cfg,loaOpe.loa.coiNom.flowRegime,loaOpe.loa.coiNom.UAFroRated.isFulWet,loaOpe.loa.coiNom.UAFroRated.isFulDry,loaOpe.loa.coi.UAFroRated.isFulWet,loaOpe.loa.coi.UAFroRated.isFulDry,loaOpe.loa.ctl.isDis.y,loaOpe.loa.ctl.addPar.y,loaOpe.loa.addPar.y,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1979): * Single equations (assignments): 1920 * Array equations: 14 * Algorithm blocks: 13 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 23 * 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): 7 systems {1, 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(1,2), (1,2), (5,21), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (1,4), (1,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01265/14.08, allocations: 1.526 MB / 4.345 GB, free: 1.084 GB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01304/14.1, allocations: 2.194 MB / 4.347 GB, free: 1.084 GB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.101/14.2, allocations: 24.16 MB / 4.371 GB, free: 1.075 GB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002459/14.2, allocations: 135.8 kB / 4.371 GB, free: 1.075 GB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001159/14.2, allocations: 0 / 4.371 GB, free: 1.075 GB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07307/14.27, allocations: 20.22 MB / 4.39 GB, free: 1.065 GB / 2.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1702/14.44, allocations: 63.64 MB / 4.453 GB, free: 1.014 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002479/14.44, allocations: 28 kB / 4.453 GB, free: 1.014 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01956/14.46, allocations: 2.904 MB / 4.455 GB, free: 1.012 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/14.47, allocations: 1.528 MB / 4.457 GB, free: 1.01 GB / 2.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004784/14.47, allocations: 438.4 kB / 4.457 GB, free: 1.01 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/14.48, allocations: 17.18 MB / 4.474 GB, free: 0.9927 GB / 2.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-05/14.48, allocations: 48.03 kB / 4.474 GB, free: 0.9926 GB / 2.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.112/14.6, allocations: 36.48 MB / 4.51 GB, free: 0.9609 GB / 2.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01961/14.62, allocations: 5.372 MB / 4.515 GB, free: 0.9566 GB / 2.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01251/14.63, allocations: 314.7 kB / 4.515 GB, free: 0.9563 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02856/14.66, allocations: 1.482 MB / 4.517 GB, free: 0.9552 GB / 2.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004483/14.66, allocations: 0.8545 MB / 4.518 GB, free: 0.9543 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005222/14.67, allocations: 0.64 MB / 4.518 GB, free: 0.9537 GB / 2.186 GB Notification: Performance of sorting global known variables: time 0.04493/14.71, allocations: 15.39 MB / 4.533 GB, free: 0.9388 GB / 2.186 GB Notification: Performance of sort global known variables: time 5.71e-07/14.71, allocations: 0 / 4.533 GB, free: 0.9388 GB / 2.186 GB Notification: Performance of remove unused functions: time 0.06703/14.78, allocations: 10.55 MB / 4.544 GB, free: 0.9287 GB / 2.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 60 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y,loaOpe.loa.TAirLvg.T,loaOpe.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.ctl.conPID.I.y,loaOpe.loa.coiNom.heaCoo.vol.dynBal.U,loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.TLiqEnt.T,loaOpe.loa.TLiqLvg.T,loaOpe.loa.TAirLvgNom.T) * Number of discrete variables: 56 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y,loaOpe.loa.ctl.cha.y,$whenCondition14,loaOpe.loa.ctl.cha.u,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.down) * Number of discrete states: 8 (loaOpe.loa.ctl.cha.u,fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1226): * Single equations (assignments): 1157 * Array equations: 0 * Algorithm blocks: 13 * Record equations: 37 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 14 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 14 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,23), (1,4), (1,1), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01329/14.79, allocations: 3.942 MB / 4.547 GB, free: 0.9255 GB / 2.186 GB Notification: Performance of simCode: created initialization part: time 0.2289/15.02, allocations: 54.61 MB / 4.601 GB, free: 0.8718 GB / 2.186 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-05/15.02, allocations: 15.97 kB / 4.601 GB, free: 0.8718 GB / 2.186 GB Notification: Performance of simCode: created simulation system equations: time 0.03208/15.05, allocations: 12.46 MB / 4.613 GB, free: 0.8594 GB / 2.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08153/15.14, allocations: 12.18 MB / 4.625 GB, free: 0.848 GB / 2.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1361/15.27, allocations: 50.18 MB / 4.674 GB, free: 0.7987 GB / 2.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02973/15.3, allocations: 10.5 MB / 4.684 GB, free: 0.7884 GB / 2.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01716/15.32, allocations: 1.951 MB / 4.686 GB, free: 0.7865 GB / 2.186 GB Notification: Performance of SimCode: time 1.253e-06/15.32, allocations: 0 / 4.686 GB, free: 0.7865 GB / 2.186 GB Notification: Performance of Templates: time 5.702/21.02, allocations: 3.362 GB / 8.047 GB, free: 1.058 GB / 2.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.sim & ./Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayVariableReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T2Set.y,con.T2Sup.T,con.T2Ret.T,T1Sup.T,T1Ret.T,con.val.y_actual,pum.m_flow,con.pum.m_flow,con.res3.m_flow,mPum_flow_nominal,con.mPum_flow_nominal,fraLoa.y[1],fraLoa.y[2],loa.yLoa_actual,loa1.yLoa_actual,loa.con.val.y_actual,loa1.con.val.y_actual,dp1SetVal.y,dp1.p_rel,dp2SetVal.y,dp2.p_rel,pum.y_actual,con.pum.y_actual,TSupOpe.T,TRetOpe.T,loaOpe.yLoa_actual Variables in the result:T1Ret.T,T1Sup.T,T2Set.y,TRetOpe.T,TSupOpe.T,con.T2Ret.T,con.T2Sup.T,con.mPum_flow_nominal,con.pum.m_flow,con.pum.y_actual,con.res3.m_flow,con.val.y_actual,dp1.p_rel,dp1SetVal.y,dp2.p_rel,dp2SetVal.y,fraLoa.y[1],fraLoa.y[2],loa.con.val.y_actual,loa.yLoa_actual,loa1.con.val.y_actual,loa1.yLoa_actual,loaOpe.yLoa_actual,mPum_flow_nominal,pum.m_flow,pum.y_actual,time