Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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.InjectionTwoWayConstantReturn,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.0013/0.0013, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.396/1.396, 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 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.7428 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 63.89 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.186, allocations: 159.1 MB / 1.221 GB, free: 2.309 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. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn): time 3.941/5.127, allocations: 1.16 GB / 2.381 GB, free: 107.3 MB / 1.67 GB Notification: Performance of NFInst.instExpressions: time 0.309/5.436, allocations: 196.3 MB / 2.573 GB, free: 51.23 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06999/5.506, allocations: 1.019 MB / 2.574 GB, free: 50.57 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.04075/5.547, allocations: 11.86 MB / 2.585 GB, free: 42.71 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1138/5.661, allocations: 33.83 MB / 2.618 GB, free: 14.26 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.06328/5.724, allocations: 20.66 MB / 2.639 GB, free: 11.39 MB / 1.686 GB Notification: Performance of NFFlatten.flatten: time 0.14/5.864, allocations: 76.6 MB / 2.713 GB, free: 0.918 MB / 1.748 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06417/5.928, allocations: 23.12 MB / 2.736 GB, free: 9.926 MB / 1.779 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07162/6, allocations: 23.64 MB / 2.759 GB, free: 3.48 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04207/6.042, allocations: 16.98 MB / 2.776 GB, free: 3.598 MB / 1.811 GB Notification: Performance of NFPackage.collectConstants: time 0.01672/6.059, allocations: 3.355 MB / 2.779 GB, free: 248 kB / 1.811 GB Notification: Performance of NFFlatten.collectFunctions: time 0.076/6.135, allocations: 19.96 MB / 2.798 GB, free: 13.94 MB / 1.842 GB Notification: Performance of NFScalarize.scalarize: time 0.01834/6.153, allocations: 7.795 MB / 2.806 GB, free: 6.242 MB / 1.842 GB Notification: Performance of NFVerifyModel.verify: time 0.04305/6.196, allocations: 14.92 MB / 2.821 GB, free: 7.387 MB / 1.857 GB Notification: Performance of NFConvertDAE.convert: time 0.1223/6.319, allocations: 53.89 MB / 2.873 GB, free: 2.93 MB / 1.904 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/6.319, allocations: 0 / 2.873 GB, free: 2.93 MB / 1.904 GB Notification: Performance of FrontEnd: time 3.496e-06/6.319, allocations: 0 / 2.873 GB, free: 2.93 MB / 1.904 GB Notification: Performance of Transformations before backend: time 0.001644/6.32, allocations: 7.938 kB / 2.873 GB, free: 2.922 MB / 1.904 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3543 * Number of variables: 3543 Notification: Performance of Generate backend data structure: time 0.09506/6.416, allocations: 26.75 MB / 2.899 GB, free: 8.102 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/6.416, allocations: 8.625 kB / 2.899 GB, free: 8.094 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06612/6.482, allocations: 9.323 MB / 2.908 GB, free: 14.76 MB / 1.951 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07325/6.555, allocations: 26.25 MB / 2.934 GB, free: 4.852 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001888/6.557, allocations: 1.227 MB / 2.935 GB, free: 3.602 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008017/6.565, allocations: 1.464 MB / 2.937 GB, free: 2.145 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.064/7.629, allocations: 20.36 MB / 2.957 GB, free: 0.9258 GB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006624/7.63, allocations: 26.02 kB / 2.957 GB, free: 0.9258 GB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006006/7.636, allocations: 0.5614 MB / 2.957 GB, free: 0.9254 GB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005589/7.637, allocations: 0.5385 MB / 2.958 GB, free: 0.9254 GB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06538/7.702, allocations: 20.65 MB / 2.978 GB, free: 0.9178 GB / 1.967 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.1781/7.88, allocations: 94.96 MB / 3.071 GB, free: 0.8466 GB / 1.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03197/7.912, allocations: 13.84 MB / 3.084 GB, free: 0.8392 GB / 1.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0209/7.933, allocations: 8.171 MB / 3.092 GB, free: 0.8339 GB / 1.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09142/8.025, allocations: 40.31 MB / 3.131 GB, free: 0.7938 GB / 1.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02466/8.049, allocations: 8.11 MB / 3.139 GB, free: 0.7859 GB / 1.967 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01347/8.063, allocations: 0.8915 MB / 3.14 GB, free: 0.7851 GB / 1.967 GB Notification: Performance of pre-optimization done (n=891): time 7.505e-05/8.063, allocations: 4 kB / 3.14 GB, free: 0.7851 GB / 1.967 GB Notification: Performance of matching and sorting (n=915): time 0.1562/8.219, allocations: 41.74 MB / 3.181 GB, free: 0.7446 GB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/8.219, allocations: 0.5275 MB / 3.181 GB, free: 0.744 GB / 1.967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04664/8.266, allocations: 19.32 MB / 3.2 GB, free: 0.7253 GB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.00379/8.27, allocations: 249.7 kB / 3.201 GB, free: 0.725 GB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01356/8.284, allocations: 9.606 MB / 3.21 GB, free: 0.7157 GB / 1.967 GB Notification: Performance of collectInitialBindings (initialization): time 0.005895/8.289, allocations: 3.134 MB / 3.213 GB, free: 0.7126 GB / 1.967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01452/8.304, allocations: 3.015 MB / 3.216 GB, free: 0.7097 GB / 1.967 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/8.304, allocations: 309.1 kB / 3.216 GB, free: 0.7094 GB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02321/8.327, allocations: 8.848 MB / 3.225 GB, free: 0.7008 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02828/8.356, allocations: 12.1 MB / 3.237 GB, free: 0.688 GB / 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2416/8.597, allocations: 71.65 MB / 3.307 GB, free: 0.6171 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001976/8.598, allocations: 20 kB / 3.307 GB, free: 0.617 GB / 1.967 GB Notification: Performance of matching and sorting (n=1739) (initialization): time 0.07939/8.677, allocations: 24.67 MB / 3.331 GB, free: 0.5928 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/8.677, allocations: 281.3 kB / 3.331 GB, free: 0.5925 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/8.677, allocations: 64 kB / 3.331 GB, free: 0.5924 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007534/8.685, allocations: 2.603 MB / 3.334 GB, free: 0.5899 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02141/8.706, allocations: 3.77 MB / 3.337 GB, free: 0.5862 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/8.728, allocations: 26.21 MB / 3.363 GB, free: 0.559 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0276/8.755, allocations: 1.593 MB / 3.365 GB, free: 0.5575 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004455/8.76, allocations: 0.7144 MB / 3.365 GB, free: 0.5568 GB / 1.967 GB Warning: The initial conditions are over specified. The following 4 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. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03469/8.794, allocations: 13.13 MB / 3.378 GB, free: 0.5439 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02491/8.819, allocations: 11.77 MB / 3.39 GB, free: 0.5313 GB / 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2297/9.049, allocations: 69.89 MB / 3.458 GB, free: 473 MB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.227e-05/9.049, allocations: 20 kB / 3.458 GB, free: 472.9 MB / 1.967 GB Notification: Performance of matching and sorting (n=1739) (initialization_lambda0): time 0.07149/9.121, allocations: 24.15 MB / 3.481 GB, free: 448.7 MB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/9.121, allocations: 277.5 kB / 3.482 GB, free: 448.4 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.572e-05/9.121, allocations: 72.09 kB / 3.482 GB, free: 448.3 MB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00704/9.128, allocations: 2.585 MB / 3.484 GB, free: 445.7 MB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02115/9.149, allocations: 3.737 MB / 3.488 GB, free: 441.9 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02913/9.178, allocations: 33.32 MB / 3.52 GB, free: 406.8 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02723/9.206, allocations: 1.647 MB / 3.522 GB, free: 405.2 MB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004204/9.21, allocations: 0.7094 MB / 3.523 GB, free: 404.5 MB / 1.967 GB Warning: The initial conditions are over specified. The following 4 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. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * Number of states: 0 () * Number of discrete variables: 82 ($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.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],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,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 (1567): * Single equations (assignments): 1527 * Array equations: 10 * Algorithm blocks: 9 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * 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): 4 systems {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): 15 systems {(1,2), (1,2), (4,31), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005976/9.216, allocations: 1.216 MB / 3.524 GB, free: 403.2 MB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007289/9.223, allocations: 1.856 MB / 3.526 GB, free: 401.3 MB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05705/9.28, allocations: 17.83 MB / 3.543 GB, free: 383.5 MB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/9.28, allocations: 104 kB / 3.543 GB, free: 383.4 MB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-05/9.28, allocations: 0 / 3.543 GB, free: 383.4 MB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04616/9.327, allocations: 14.56 MB / 3.557 GB, free: 368.7 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1122/9.439, allocations: 46.01 MB / 3.602 GB, free: 322.4 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001539/9.439, allocations: 24 kB / 3.602 GB, free: 322.3 MB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01351/9.453, allocations: 2.173 MB / 3.605 GB, free: 320.2 MB / 1.967 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/9.456, allocations: 1.08 MB / 3.606 GB, free: 319.1 MB / 1.967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002937/9.459, allocations: 327.8 kB / 3.606 GB, free: 318.8 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007413/9.467, allocations: 9.984 MB / 3.616 GB, free: 308.1 MB / 1.967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/9.467, allocations: 31.88 kB / 3.616 GB, free: 308 MB / 1.967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06901/9.536, allocations: 26.68 MB / 3.642 GB, free: 280.9 MB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01397/9.55, allocations: 4.272 MB / 3.646 GB, free: 276.5 MB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00835/9.558, allocations: 243.8 kB / 3.646 GB, free: 276.3 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0199/9.578, allocations: 1.028 MB / 3.647 GB, free: 275.3 MB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002702/9.581, allocations: 0.646 MB / 3.648 GB, free: 274.6 MB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002916/9.584, allocations: 0.4995 MB / 3.648 GB, free: 274.1 MB / 1.967 GB Notification: Performance of sorting global known variables: time 0.03202/9.616, allocations: 13.07 MB / 3.661 GB, free: 261.2 MB / 1.967 GB Notification: Performance of sort global known variables: time 9.42e-07/9.616, allocations: 0 / 3.661 GB, free: 261.2 MB / 1.967 GB Notification: Performance of remove unused functions: time 0.04986/9.666, allocations: 8.85 MB / 3.67 GB, free: 252.5 MB / 1.967 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 53 (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.valEquLin.vol.dynBal.U,loa.con.val.valEquLin.filter.s[1],loa.con.val.valEquLin.filter.s[2],loa.con.jun.vol.dynBal.U,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.valEquLin.vol.dynBal.U,loa1.con.val.valEquLin.filter.s[1],loa1.con.val.valEquLin.filter.s[2],loa1.con.jun.vol.dynBal.U,resT2.conPID.I.y) * Number of discrete variables: 44 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,$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) * Number of discrete states: 6 (fraLoa.tab.nextTimeEvent,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 (937): * Single equations (assignments): 890 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 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): 9 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01305/9.679, allocations: 3.58 MB / 3.673 GB, free: 249.4 MB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.09047/9.769, allocations: 33.31 MB / 3.706 GB, free: 215.8 MB / 1.967 GB Notification: Performance of simCode: created event and clocks part: time 3.265e-05/9.769, allocations: 14.66 kB / 3.706 GB, free: 215.8 MB / 1.967 GB Notification: Performance of simCode: created simulation system equations: time 0.02252/9.792, allocations: 8.932 MB / 3.714 GB, free: 206.7 MB / 1.967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07031/9.862, allocations: 10.48 MB / 3.725 GB, free: 196.6 MB / 1.967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0912/9.953, allocations: 40.78 MB / 3.765 GB, free: 155.6 MB / 1.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01809/9.972, allocations: 9.098 MB / 3.773 GB, free: 146.4 MB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01181/9.983, allocations: 1.6 MB / 3.775 GB, free: 144.8 MB / 1.967 GB Notification: Performance of SimCode: time 2.194e-06/9.983, allocations: 0 / 3.775 GB, free: 144.8 MB / 1.967 GB Notification: Performance of Templates: time 5.283/15.27, allocations: 1.954 GB / 5.729 GB, free: 0.8167 GB / 1.967 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.makefile (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.sim & ./Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstantReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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 Variables in the result:T1Ret.T,T1Sup.T,T2Set.y,con.T2Ret.T,con.T2Sup.T,con.mPum_flow_nominal,con.pum.m_flow,con.res3.m_flow,con.val.y_actual,fraLoa.y[1],fraLoa.y[2],loa.con.val.y_actual,loa.yLoa_actual,loa1.con.val.y_actual,loa1.yLoa_actual,mPum_flow_nominal,pum.m_flow,time