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.001493/0.001493, allocations: 104.8 kB / 16.27 MB, free: 5.996 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.001457/0.001457, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.563/2.563, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 75.17 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3388, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 4.753/5.092, allocations: 1.894 GB / 2.912 GB, free: 58.77 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.2557/5.348, allocations: 198.8 MB / 3.106 GB, free: 35.67 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05509/5.403, allocations: 1.001 MB / 3.107 GB, free: 35.67 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.05638/5.459, allocations: 27.23 MB / 3.133 GB, free: 25.21 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.1031/5.563, allocations: 36.85 MB / 3.169 GB, free: 3.012 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.06091/5.623, allocations: 22.59 MB / 3.191 GB, free: 14.2 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.1358/5.759, allocations: 85.18 MB / 3.275 GB, free: 11.42 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0576/5.817, allocations: 25.89 MB / 3.3 GB, free: 1.691 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06665/5.884, allocations: 25.9 MB / 3.325 GB, free: 9.125 MB / 1.732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03891/5.923, allocations: 19.32 MB / 3.344 GB, free: 7.012 MB / 1.748 GB Notification: Performance of NFPackage.collectConstants: time 0.01444/5.937, allocations: 3.965 MB / 3.348 GB, free: 3.047 MB / 1.748 GB Notification: Performance of NFFlatten.collectFunctions: time 2.09/8.027, allocations: 25.25 MB / 3.373 GB, free: 100.3 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.01736/8.045, allocations: 9.109 MB / 3.381 GB, free: 100.3 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.04561/8.09, allocations: 17.32 MB / 3.398 GB, free: 99.78 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 0.1118/8.202, allocations: 62.96 MB / 3.46 GB, free: 95.09 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/8.202, allocations: 0 / 3.46 GB, free: 95.09 MB / 1.748 GB Notification: Performance of FrontEnd: time 2.345e-06/8.202, allocations: 0 / 3.46 GB, free: 95.09 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001914/8.204, allocations: 0 / 3.46 GB, free: 95.09 MB / 1.748 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.1261/8.33, allocations: 31.23 MB / 3.49 GB, free: 82.61 MB / 1.748 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/8.33, allocations: 11.23 kB / 3.49 GB, free: 82.61 MB / 1.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0948/8.425, allocations: 13.12 MB / 3.503 GB, free: 80.98 MB / 1.748 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07454/8.5, allocations: 27.96 MB / 3.53 GB, free: 77.19 MB / 1.748 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003429/8.503, allocations: 1.592 MB / 3.532 GB, free: 76.95 MB / 1.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01263/8.516, allocations: 1.776 MB / 3.534 GB, free: 76.94 MB / 1.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1016/8.617, allocations: 25.68 MB / 3.559 GB, free: 73.47 MB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001248/8.619, allocations: 20.41 kB / 3.559 GB, free: 73.46 MB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01036/8.629, allocations: 0.6776 MB / 3.559 GB, free: 73.46 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008295/8.63, allocations: 0.6495 MB / 3.56 GB, free: 73.4 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09564/8.726, allocations: 27.36 MB / 3.587 GB, free: 69.14 MB / 1.748 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.2425/8.968, allocations: 115 MB / 3.699 GB, free: 3.191 MB / 1.748 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05092/9.019, allocations: 18.28 MB / 3.717 GB, free: 2.984 MB / 1.764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03415/9.053, allocations: 10.91 MB / 3.728 GB, free: 8.062 MB / 1.779 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1389/9.192, allocations: 52.6 MB / 3.779 GB, free: 2.66 MB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03862/9.231, allocations: 10.85 MB / 3.79 GB, free: 7.734 MB / 1.842 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01596/9.247, allocations: 1.181 MB / 3.791 GB, free: 6.547 MB / 1.842 GB Notification: Performance of pre-optimization done (n=1141): time 3.991e-05/9.247, allocations: 7.469 kB / 3.791 GB, free: 6.543 MB / 1.842 GB Notification: Performance of matching and sorting (n=1175): time 0.2399/9.487, allocations: 59.05 MB / 3.848 GB, free: 11.02 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000533/9.488, allocations: 0.7615 MB / 3.849 GB, free: 10.1 MB / 1.904 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 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 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.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 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.07148/9.559, allocations: 22.65 MB / 3.871 GB, free: 3.586 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.005808/9.565, allocations: 314.1 kB / 3.872 GB, free: 3.277 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.02234/9.587, allocations: 11.14 MB / 3.883 GB, free: 8.168 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.009506/9.597, allocations: 4.004 MB / 3.886 GB, free: 4.199 MB / 1.936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02662/9.624, allocations: 3.822 MB / 3.89 GB, free: 376 kB / 1.936 GB Notification: Performance of setup shared object (initialization): time 0.000139/9.624, allocations: 301.1 kB / 3.89 GB, free: 72 kB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03969/9.664, allocations: 11.81 MB / 3.902 GB, free: 4.246 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04727/9.711, allocations: 15.66 MB / 3.917 GB, free: 3.258 MB / 1.967 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.3556/10.07, allocations: 90.49 MB / 4.006 GB, free: 7.676 MB / 2.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/10.07, allocations: 28 kB / 4.006 GB, free: 7.648 MB / 2.061 GB Notification: Performance of matching and sorting (n=2180) (initialization): time 0.1247/10.19, allocations: 32.39 MB / 4.037 GB, free: 7.566 MB / 2.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004298/10.19, allocations: 386.1 kB / 4.038 GB, free: 7.109 MB / 2.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/10.19, allocations: 76.19 kB / 4.038 GB, free: 7.035 MB / 2.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/10.2, allocations: 3.625 MB / 4.041 GB, free: 3.359 MB / 2.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03303/10.24, allocations: 5.04 MB / 4.046 GB, free: 14.54 MB / 2.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7223/10.96, allocations: 41.54 MB / 4.087 GB, free: 1.13 GB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04023/11, allocations: 2.33 MB / 4.089 GB, free: 1.13 GB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008363/11.01, allocations: 0.9298 MB / 4.09 GB, free: 1.13 GB / 2.123 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.06175/11.07, allocations: 16.69 MB / 4.106 GB, free: 1.129 GB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04452/11.12, allocations: 15.3 MB / 4.121 GB, free: 1.126 GB / 2.123 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.3284/11.44, allocations: 88.59 MB / 4.208 GB, free: 1.099 GB / 2.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002761/11.44, allocations: 23.17 kB / 4.208 GB, free: 1.099 GB / 2.123 GB Notification: Performance of matching and sorting (n=2180) (initialization_lambda0): time 0.1166/11.56, allocations: 31.8 MB / 4.239 GB, free: 1.087 GB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004023/11.56, allocations: 392.6 kB / 4.239 GB, free: 1.087 GB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002651/11.56, allocations: 74.75 kB / 4.239 GB, free: 1.087 GB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/11.57, allocations: 3.588 MB / 4.243 GB, free: 1.086 GB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03059/11.6, allocations: 4.989 MB / 4.248 GB, free: 1.085 GB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04507/11.65, allocations: 47.3 MB / 4.294 GB, free: 1.047 GB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04102/11.69, allocations: 2.399 MB / 4.296 GB, free: 1.046 GB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0074/11.7, allocations: 0.9172 MB / 4.297 GB, free: 1.046 GB / 2.123 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.01359/11.71, allocations: 1.521 MB / 4.299 GB, free: 1.045 GB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01264/11.72, allocations: 2.199 MB / 4.301 GB, free: 1.045 GB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09534/11.82, allocations: 24.16 MB / 4.324 GB, free: 1.028 GB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002271/11.82, allocations: 131 kB / 4.324 GB, free: 1.028 GB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/11.82, allocations: 4 kB / 4.324 GB, free: 1.028 GB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07121/11.89, allocations: 20.22 MB / 4.344 GB, free: 1.01 GB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1657/12.06, allocations: 63.62 MB / 4.406 GB, free: 0.959 GB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002303/12.06, allocations: 32 kB / 4.406 GB, free: 0.959 GB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01947/12.08, allocations: 2.916 MB / 4.409 GB, free: 0.9567 GB / 2.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005354/12.08, allocations: 1.528 MB / 4.411 GB, free: 0.9554 GB / 2.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004645/12.09, allocations: 434.6 kB / 4.411 GB, free: 0.9551 GB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/12.1, allocations: 17.19 MB / 4.428 GB, free: 0.9378 GB / 2.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.02e-05/12.1, allocations: 43.81 kB / 4.428 GB, free: 0.9378 GB / 2.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1069/12.21, allocations: 36.48 MB / 4.464 GB, free: 0.903 GB / 2.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01849/12.22, allocations: 5.376 MB / 4.469 GB, free: 0.8978 GB / 2.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01189/12.24, allocations: 319.6 kB / 4.469 GB, free: 0.8975 GB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02848/12.27, allocations: 1.473 MB / 4.47 GB, free: 0.896 GB / 2.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004164/12.27, allocations: 0.8584 MB / 4.471 GB, free: 0.8952 GB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004738/12.27, allocations: 0.6439 MB / 4.472 GB, free: 0.8946 GB / 2.123 GB Notification: Performance of sorting global known variables: time 0.0429/12.32, allocations: 15.39 MB / 4.487 GB, free: 0.8797 GB / 2.123 GB Notification: Performance of sort global known variables: time 6.71e-07/12.32, allocations: 0 / 4.487 GB, free: 0.8797 GB / 2.123 GB Notification: Performance of remove unused functions: time 0.06736/12.38, allocations: 10.54 MB / 4.497 GB, free: 0.8696 GB / 2.123 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.0128/12.4, allocations: 3.939 MB / 4.501 GB, free: 0.8664 GB / 2.123 GB Notification: Performance of simCode: created initialization part: time 0.2309/12.63, allocations: 54.62 MB / 4.554 GB, free: 0.8127 GB / 2.123 GB Notification: Performance of simCode: created event and clocks part: time 4.934e-05/12.63, allocations: 11.97 kB / 4.554 GB, free: 0.8127 GB / 2.123 GB Notification: Performance of simCode: created simulation system equations: time 0.03326/12.66, allocations: 12.46 MB / 4.567 GB, free: 0.8003 GB / 2.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07946/12.74, allocations: 12.17 MB / 4.579 GB, free: 0.7888 GB / 2.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1375/12.88, allocations: 50.17 MB / 4.628 GB, free: 0.7394 GB / 2.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02934/12.91, allocations: 10.51 MB / 4.638 GB, free: 0.7291 GB / 2.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01634/12.92, allocations: 1.951 MB / 4.64 GB, free: 0.7272 GB / 2.123 GB Notification: Performance of SimCode: time 1.293e-06/12.92, allocations: 0 / 4.64 GB, free: 0.7272 GB / 2.123 GB Notification: Performance of Templates: time 5.394/18.32, allocations: 3.362 GB / 8.001 GB, free: 0.9825 GB / 2.123 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=400 -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