Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001283/0.001283, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001251/0.001252, allocations: 183 kB / 17.34 MB, free: 5.742 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 59.91 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9044/0.9056, allocations: 151.6 MB / 1.168 GB, free: 3.801 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 10.1.1-maint.10.0.x/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 10.1.1-maint.10.0.x/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 4.72/5.626, allocations: 1.894 GB / 3.061 GB, free: 232.1 MB / 1.92 GB Notification: Performance of NFInst.instExpressions: time 0.2888/5.915, allocations: 198.8 MB / 3.255 GB, free: 222.2 MB / 1.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05935/5.974, allocations: 0.9986 MB / 3.256 GB, free: 222.2 MB / 1.92 GB Notification: Performance of NFTyping.typeComponents: time 0.04082/6.015, allocations: 13.37 MB / 3.269 GB, free: 219 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.1117/6.127, allocations: 39.3 MB / 3.308 GB, free: 201.7 MB / 1.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.056/6.183, allocations: 22.89 MB / 3.33 GB, free: 184.5 MB / 1.92 GB Notification: Performance of NFFlatten.flatten: time 0.1109/6.294, allocations: 86.04 MB / 3.414 GB, free: 119.3 MB / 1.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04812/6.342, allocations: 26.01 MB / 3.439 GB, free: 93.47 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05972/6.402, allocations: 26.86 MB / 3.466 GB, free: 67.94 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0376/6.439, allocations: 19.48 MB / 3.485 GB, free: 49.67 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01401/6.453, allocations: 4 MB / 3.489 GB, free: 45.67 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05987/6.513, allocations: 25.39 MB / 3.513 GB, free: 22.52 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0151/6.528, allocations: 9.171 MB / 3.522 GB, free: 13.46 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03679/6.565, allocations: 17.35 MB / 3.539 GB, free: 12.18 MB / 1.936 GB Notification: Performance of NFConvertDAE.convert: time 0.1165/6.682, allocations: 63.79 MB / 3.602 GB, free: 14.14 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/6.682, allocations: 0 / 3.602 GB, free: 14.14 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.875e-06/6.682, allocations: 0 / 3.602 GB, free: 14.14 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001795/6.684, allocations: 0 / 3.602 GB, free: 14.14 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.1035/6.787, allocations: 31.34 MB / 3.632 GB, free: 14.69 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/6.787, allocations: 8.922 kB / 3.632 GB, free: 14.68 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09225/6.879, allocations: 13.12 MB / 3.645 GB, free: 1.555 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8944/7.774, allocations: 28.97 MB / 3.673 GB, free: 1.017 GB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001996/7.776, allocations: 1.515 MB / 3.675 GB, free: 1.016 GB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008358/7.784, allocations: 1.771 MB / 3.677 GB, free: 1.016 GB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07803/7.862, allocations: 25.69 MB / 3.702 GB, free: 1.004 GB / 2.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007537/7.863, allocations: 15.75 kB / 3.702 GB, free: 1.004 GB / 2.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0068/7.87, allocations: 0.6775 MB / 3.702 GB, free: 1.004 GB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/7.871, allocations: 0.6513 MB / 3.703 GB, free: 1.004 GB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08027/7.951, allocations: 27.35 MB / 3.73 GB, free: 0.9903 GB / 2.029 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.2089/8.16, allocations: 114.3 MB / 3.841 GB, free: 0.8875 GB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04205/8.202, allocations: 18.21 MB / 3.859 GB, free: 0.87 GB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02608/8.228, allocations: 10.91 MB / 3.87 GB, free: 0.8594 GB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1062/8.334, allocations: 52.68 MB / 3.921 GB, free: 0.8068 GB / 2.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03091/8.365, allocations: 10.84 MB / 3.932 GB, free: 0.7963 GB / 2.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01435/8.38, allocations: 1.195 MB / 3.933 GB, free: 0.7951 GB / 2.029 GB Notification: Performance of pre-optimization done (n=1141): time 5.146e-05/8.38, allocations: 0 / 3.933 GB, free: 0.7951 GB / 2.029 GB Notification: Performance of matching and sorting (n=1175): time 0.1946/8.574, allocations: 59.03 MB / 3.991 GB, free: 0.7376 GB / 2.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002718/8.575, allocations: 0.7576 MB / 3.991 GB, free: 0.7367 GB / 2.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05679/8.632, allocations: 22.76 MB / 4.014 GB, free: 0.7146 GB / 2.029 GB Notification: Performance of collectPreVariables (initialization): time 0.004895/8.637, allocations: 317.4 kB / 4.014 GB, free: 0.7143 GB / 2.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.01503/8.652, allocations: 11.03 MB / 4.025 GB, free: 0.7035 GB / 2.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007577/8.659, allocations: 4.006 MB / 4.028 GB, free: 0.6996 GB / 2.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0206/8.68, allocations: 3.821 MB / 4.032 GB, free: 0.6959 GB / 2.029 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/8.68, allocations: 309 kB / 4.033 GB, free: 0.6956 GB / 2.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03161/8.712, allocations: 11.81 MB / 4.044 GB, free: 0.6841 GB / 2.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03666/8.748, allocations: 15.65 MB / 4.059 GB, free: 0.6674 GB / 2.029 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.3116/9.06, allocations: 90.4 MB / 4.148 GB, free: 0.5779 GB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/9.06, allocations: 24 kB / 4.148 GB, free: 0.5779 GB / 2.029 GB Notification: Performance of matching and sorting (n=2180) (initialization): time 0.1072/9.167, allocations: 32.39 MB / 4.179 GB, free: 0.5461 GB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/9.168, allocations: 384.8 kB / 4.18 GB, free: 0.5457 GB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/9.168, allocations: 76 kB / 4.18 GB, free: 0.5456 GB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/9.178, allocations: 3.621 MB / 4.183 GB, free: 0.542 GB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03007/9.208, allocations: 5.039 MB / 4.188 GB, free: 0.5371 GB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03235/9.241, allocations: 41.5 MB / 4.229 GB, free: 0.494 GB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03629/9.277, allocations: 2.297 MB / 4.231 GB, free: 0.4918 GB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00612/9.283, allocations: 0.9328 MB / 4.232 GB, free: 0.4909 GB / 2.029 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.04797/9.331, allocations: 16.69 MB / 4.248 GB, free: 486 MB / 2.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03678/9.368, allocations: 15.29 MB / 4.263 GB, free: 469.3 MB / 2.029 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.3025/9.671, allocations: 88.5 MB / 4.35 GB, free: 379.4 MB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001085/9.671, allocations: 20 kB / 4.35 GB, free: 379.4 MB / 2.029 GB Notification: Performance of matching and sorting (n=2180) (initialization_lambda0): time 0.09552/9.766, allocations: 31.79 MB / 4.381 GB, free: 347.4 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/9.767, allocations: 386.1 kB / 4.381 GB, free: 346.9 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/9.767, allocations: 76 kB / 4.381 GB, free: 346.9 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/9.777, allocations: 3.591 MB / 4.385 GB, free: 343.2 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03027/9.807, allocations: 4.992 MB / 4.389 GB, free: 338.2 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0416/9.849, allocations: 47.27 MB / 4.436 GB, free: 288.2 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03813/9.887, allocations: 2.367 MB / 4.438 GB, free: 285.8 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005584/9.893, allocations: 0.9094 MB / 4.439 GB, free: 284.9 MB / 2.029 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.009782/9.903, allocations: 1.531 MB / 4.44 GB, free: 283.3 MB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01095/9.914, allocations: 2.199 MB / 4.442 GB, free: 281.1 MB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08616/10, allocations: 24.12 MB / 4.466 GB, free: 256.9 MB / 2.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002511/10, allocations: 136 kB / 4.466 GB, free: 256.8 MB / 2.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-05/10, allocations: 4 kB / 4.466 GB, free: 256.8 MB / 2.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0622/10.06, allocations: 20.21 MB / 4.486 GB, free: 236.3 MB / 2.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1446/10.21, allocations: 63.63 MB / 4.548 GB, free: 172.2 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001725/10.21, allocations: 32 kB / 4.548 GB, free: 172.1 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0186/10.23, allocations: 2.91 MB / 4.551 GB, free: 169.2 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005295/10.23, allocations: 1.537 MB / 4.552 GB, free: 167.6 MB / 2.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003851/10.24, allocations: 435.7 kB / 4.553 GB, free: 167.2 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/10.25, allocations: 17.16 MB / 4.57 GB, free: 148.8 MB / 2.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-05/10.25, allocations: 51.8 kB / 4.57 GB, free: 148.8 MB / 2.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09813/10.35, allocations: 36.48 MB / 4.605 GB, free: 111.3 MB / 2.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01681/10.36, allocations: 5.388 MB / 4.61 GB, free: 105.9 MB / 2.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009929/10.37, allocations: 315.9 kB / 4.611 GB, free: 105.6 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02615/10.4, allocations: 1.482 MB / 4.612 GB, free: 104.1 MB / 2.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003466/10.4, allocations: 0.8545 MB / 4.613 GB, free: 103.2 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003816/10.41, allocations: 0.6517 MB / 4.614 GB, free: 102.6 MB / 2.029 GB Notification: Performance of sorting global known variables: time 0.03642/10.44, allocations: 15.47 MB / 4.629 GB, free: 87.23 MB / 2.029 GB Notification: Performance of sort global known variables: time 1.002e-06/10.44, allocations: 0 / 4.629 GB, free: 87.23 MB / 2.029 GB Notification: Performance of remove unused functions: time 0.05659/10.5, allocations: 10.56 MB / 4.639 GB, free: 76.85 MB / 2.029 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.01126/10.51, allocations: 3.943 MB / 4.643 GB, free: 73.5 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.1181/10.63, allocations: 45.06 MB / 4.687 GB, free: 27.91 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 4.032e-05/10.63, allocations: 15.97 kB / 4.687 GB, free: 27.89 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.02899/10.66, allocations: 12.46 MB / 4.699 GB, free: 15.19 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06362/10.72, allocations: 12.13 MB / 4.711 GB, free: 3.289 MB / 2.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.577/12.3, allocations: 49.58 MB / 4.759 GB, free: 0.9477 GB / 2.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02605/12.33, allocations: 10.5 MB / 4.77 GB, free: 0.9465 GB / 2.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01294/12.34, allocations: 1.955 MB / 4.772 GB, free: 0.9465 GB / 2.029 GB Notification: Performance of SimCode: time 2.014e-06/12.34, allocations: 0 / 4.772 GB, free: 0.9465 GB / 2.029 GB Notification: Performance of Templates: time 5.522/17.86, allocations: 3.365 GB / 8.137 GB, free: 366.1 MB / 2.029 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile (rm -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe ; mkfifo Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe >> ../files/Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.sim & ./Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayVariableReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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