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.001424/0.001424, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001321/0.001321, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 67.91 kB / 1.055 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 157.4 MB / 1.209 GB, free: 13.52 MB / 0.9356 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 loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=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) 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 loaOpe.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 5.924/7.106, allocations: 1.894 GB / 3.102 GB, free: 283.6 MB / 1.951 GB Notification: Performance of NFInst.instExpressions: time 0.2799/7.386, allocations: 198.8 MB / 3.296 GB, free: 264.2 MB / 1.951 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05871/7.445, allocations: 1.006 MB / 3.297 GB, free: 264.2 MB / 1.951 GB Notification: Performance of NFTyping.typeComponents: time 0.03974/7.484, allocations: 12.97 MB / 3.31 GB, free: 258.4 MB / 1.951 GB Notification: Performance of NFTyping.typeBindings: time 0.1029/7.587, allocations: 37.43 MB / 3.347 GB, free: 236 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.05476/7.642, allocations: 22.74 MB / 3.369 GB, free: 219.1 MB / 1.951 GB Notification: Performance of NFFlatten.flatten: time 0.1128/7.755, allocations: 85.9 MB / 3.453 GB, free: 143.3 MB / 1.951 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0534/7.808, allocations: 26.03 MB / 3.478 GB, free: 117.5 MB / 1.951 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05798/7.866, allocations: 26.71 MB / 3.504 GB, free: 92.1 MB / 1.951 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03501/7.901, allocations: 19.48 MB / 3.523 GB, free: 73.82 MB / 1.951 GB Notification: Performance of NFPackage.collectConstants: time 0.01419/7.916, allocations: 4 MB / 3.527 GB, free: 69.82 MB / 1.951 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0585/7.974, allocations: 25.32 MB / 3.552 GB, free: 46.75 MB / 1.951 GB Notification: Performance of NFScalarize.scalarize: time 0.0141/7.988, allocations: 9.172 MB / 3.561 GB, free: 37.69 MB / 1.951 GB Notification: Performance of NFVerifyModel.verify: time 0.03511/8.024, allocations: 17.36 MB / 3.578 GB, free: 20.39 MB / 1.951 GB Notification: Performance of NFConvertDAE.convert: time 0.1204/8.144, allocations: 63.78 MB / 3.64 GB, free: 6.359 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/8.144, allocations: 0 / 3.64 GB, free: 6.359 MB / 1.998 GB Notification: Performance of FrontEnd: time 1.793e-06/8.144, allocations: 0 / 3.64 GB, free: 6.359 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001893/8.146, allocations: 0 / 3.64 GB, free: 6.359 MB / 1.998 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.1135/8.259, allocations: 31.33 MB / 3.671 GB, free: 6.922 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/8.259, allocations: 12.03 kB / 3.671 GB, free: 6.91 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09294/8.352, allocations: 13.12 MB / 3.683 GB, free: 9.785 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.747/10.1, allocations: 28.97 MB / 3.712 GB, free: 0.9961 GB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002247/10.1, allocations: 1.52 MB / 3.713 GB, free: 0.9953 GB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009887/10.11, allocations: 1.776 MB / 3.715 GB, free: 0.9948 GB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08793/10.2, allocations: 25.67 MB / 3.74 GB, free: 0.9848 GB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001066/10.2, allocations: 17.69 kB / 3.74 GB, free: 0.9848 GB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007995/10.21, allocations: 0.6842 MB / 3.741 GB, free: 0.9842 GB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007355/10.21, allocations: 0.6511 MB / 3.741 GB, free: 0.9842 GB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08664/10.3, allocations: 27.35 MB / 3.768 GB, free: 0.9729 GB / 2.045 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.2256/10.52, allocations: 114.3 MB / 3.88 GB, free: 0.8777 GB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04251/10.56, allocations: 18.22 MB / 3.897 GB, free: 0.8602 GB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02731/10.59, allocations: 10.9 MB / 3.908 GB, free: 0.8497 GB / 2.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1104/10.7, allocations: 52.67 MB / 3.96 GB, free: 0.7971 GB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0309/10.73, allocations: 10.83 MB / 3.97 GB, free: 0.7865 GB / 2.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01535/10.75, allocations: 1.198 MB / 3.971 GB, free: 0.7853 GB / 2.045 GB Notification: Performance of pre-optimization done (n=1141): time 7.577e-05/10.75, allocations: 0 / 3.971 GB, free: 0.7853 GB / 2.045 GB Notification: Performance of matching and sorting (n=1175): time 0.2061/10.95, allocations: 59.03 MB / 4.029 GB, free: 0.7279 GB / 2.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003066/10.96, allocations: 0.7576 MB / 4.03 GB, free: 0.727 GB / 2.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05665/11.01, allocations: 22.76 MB / 4.052 GB, free: 0.7049 GB / 2.045 GB Notification: Performance of collectPreVariables (initialization): time 0.005312/11.02, allocations: 313.7 kB / 4.052 GB, free: 0.7046 GB / 2.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.01548/11.03, allocations: 11.03 MB / 4.063 GB, free: 0.6938 GB / 2.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.008212/11.04, allocations: 4.009 MB / 4.067 GB, free: 0.69 GB / 2.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02157/11.06, allocations: 3.821 MB / 4.071 GB, free: 0.6862 GB / 2.045 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/11.06, allocations: 305.1 kB / 4.071 GB, free: 0.6859 GB / 2.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03302/11.1, allocations: 11.81 MB / 4.082 GB, free: 0.6744 GB / 2.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04032/11.14, allocations: 15.65 MB / 4.098 GB, free: 0.6578 GB / 2.045 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.3123/11.45, allocations: 90.4 MB / 4.186 GB, free: 0.5683 GB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/11.45, allocations: 24 kB / 4.186 GB, free: 0.5682 GB / 2.045 GB Notification: Performance of matching and sorting (n=2180) (initialization): time 0.104/11.55, allocations: 32.39 MB / 4.218 GB, free: 0.5364 GB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/11.55, allocations: 386.1 kB / 4.218 GB, free: 0.536 GB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/11.55, allocations: 76 kB / 4.218 GB, free: 0.5359 GB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/11.56, allocations: 3.607 MB / 4.222 GB, free: 0.5323 GB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02983/11.59, allocations: 5.035 MB / 4.227 GB, free: 0.5274 GB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03368/11.63, allocations: 41.52 MB / 4.267 GB, free: 496 MB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03905/11.67, allocations: 2.288 MB / 4.269 GB, free: 493.7 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00641/11.67, allocations: 0.9292 MB / 4.27 GB, free: 492.8 MB / 2.045 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.05041/11.72, allocations: 16.7 MB / 4.287 GB, free: 476.1 MB / 2.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03739/11.76, allocations: 15.29 MB / 4.301 GB, free: 459.4 MB / 2.045 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.302/12.06, allocations: 88.5 MB / 4.388 GB, free: 369.5 MB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001435/12.06, allocations: 24 kB / 4.388 GB, free: 369.4 MB / 2.045 GB Notification: Performance of matching and sorting (n=2180) (initialization_lambda0): time 0.1076/12.17, allocations: 31.8 MB / 4.419 GB, free: 337.5 MB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/12.17, allocations: 382.1 kB / 4.419 GB, free: 337 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/12.17, allocations: 76 kB / 4.419 GB, free: 336.9 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/12.18, allocations: 3.591 MB / 4.423 GB, free: 333.3 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03057/12.21, allocations: 4.985 MB / 4.428 GB, free: 328.3 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04181/12.25, allocations: 47.26 MB / 4.474 GB, free: 278.3 MB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04021/12.29, allocations: 2.369 MB / 4.476 GB, free: 275.9 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006365/12.3, allocations: 0.9132 MB / 4.477 GB, free: 275 MB / 2.045 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.01097/12.31, allocations: 1.527 MB / 4.479 GB, free: 273.4 MB / 2.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01247/12.32, allocations: 2.199 MB / 4.481 GB, free: 271.2 MB / 2.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08727/12.41, allocations: 24.14 MB / 4.504 GB, free: 247 MB / 2.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002135/12.41, allocations: 132 kB / 4.505 GB, free: 246.9 MB / 2.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.776e-05/12.41, allocations: 4 kB / 4.505 GB, free: 246.9 MB / 2.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06464/12.48, allocations: 20.21 MB / 4.524 GB, free: 226.3 MB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1571/12.63, allocations: 63.64 MB / 4.586 GB, free: 162.2 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001661/12.63, allocations: 32 kB / 4.586 GB, free: 162.2 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01866/12.65, allocations: 2.902 MB / 4.589 GB, free: 159.3 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005181/12.66, allocations: 1.533 MB / 4.591 GB, free: 157.7 MB / 2.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004483/12.66, allocations: 435.7 kB / 4.591 GB, free: 157.3 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/12.68, allocations: 17.17 MB / 4.608 GB, free: 138.9 MB / 2.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.211e-05/12.68, allocations: 47.81 kB / 4.608 GB, free: 138.8 MB / 2.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1034/12.78, allocations: 36.49 MB / 4.644 GB, free: 101.4 MB / 2.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01755/12.8, allocations: 5.392 MB / 4.649 GB, free: 95.95 MB / 2.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01181/12.81, allocations: 311.9 kB / 4.649 GB, free: 95.64 MB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02854/12.84, allocations: 1.486 MB / 4.651 GB, free: 94.16 MB / 2.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003804/12.84, allocations: 0.8545 MB / 4.651 GB, free: 93.3 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004166/12.85, allocations: 0.6478 MB / 4.652 GB, free: 92.65 MB / 2.045 GB Notification: Performance of sorting global known variables: time 0.04038/12.89, allocations: 15.48 MB / 4.667 GB, free: 77.29 MB / 2.045 GB Notification: Performance of sort global known variables: time 1.313e-06/12.89, allocations: 3.938 kB / 4.667 GB, free: 77.29 MB / 2.045 GB Notification: Performance of remove unused functions: time 0.06584/12.95, allocations: 10.55 MB / 4.678 GB, free: 66.91 MB / 2.045 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.01405/12.97, allocations: 3.927 MB / 4.681 GB, free: 63.57 MB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.1246/13.09, allocations: 45.06 MB / 4.725 GB, free: 17.98 MB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 4.682e-05/13.09, allocations: 17.78 kB / 4.725 GB, free: 17.96 MB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.03186/13.12, allocations: 12.45 MB / 4.738 GB, free: 5.262 MB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.048/14.17, allocations: 12.13 MB / 4.749 GB, free: 0.9456 GB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1965/14.37, allocations: 49.58 MB / 4.798 GB, free: 0.9308 GB / 2.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03449/14.4, allocations: 10.5 MB / 4.808 GB, free: 0.9288 GB / 2.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02058/14.42, allocations: 1.955 MB / 4.81 GB, free: 0.9287 GB / 2.045 GB Notification: Performance of SimCode: time 1.543e-06/14.42, allocations: 0 / 4.81 GB, free: 0.9287 GB / 2.045 GB Notification: Performance of Templates: time 5.905/20.33, allocations: 3.365 GB / 8.175 GB, free: 278.3 MB / 2.045 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