Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InjectionTwoWayCheckValve,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",fileNamePrefix="Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,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",fileNamePrefix="Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001358/0.001358, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.33 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3986, allocations: 159.2 MB / 1.065 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 5.831/6.23, allocations: 1.825 GB / 2.889 GB, free: 162.9 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 0.2559/6.486, allocations: 159.8 MB / 3.045 GB, free: 154.5 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05733/6.543, allocations: 0.8003 MB / 3.046 GB, free: 154.5 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.05416/6.598, allocations: 22.28 MB / 3.068 GB, free: 149.9 MB / 1.701 GB Notification: Performance of NFTyping.typeBindings: time 0.1009/6.698, allocations: 27.8 MB / 3.095 GB, free: 138.3 MB / 1.701 GB Notification: Performance of NFTyping.typeClassSections: time 0.05206/6.751, allocations: 17.27 MB / 3.112 GB, free: 126 MB / 1.701 GB Notification: Performance of NFFlatten.flatten: time 0.11/6.861, allocations: 67.11 MB / 3.177 GB, free: 72.86 MB / 1.701 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05146/6.912, allocations: 19.99 MB / 3.197 GB, free: 53.21 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0618/6.974, allocations: 19.6 MB / 3.216 GB, free: 34.64 MB / 1.701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03238/7.006, allocations: 14.85 MB / 3.231 GB, free: 20.76 MB / 1.701 GB Notification: Performance of NFPackage.collectConstants: time 0.01422/7.021, allocations: 2.969 MB / 3.233 GB, free: 17.79 MB / 1.701 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05857/7.079, allocations: 18.59 MB / 3.252 GB, free: 0.7969 MB / 1.701 GB Notification: Performance of NFScalarize.scalarize: time 0.01868/7.098, allocations: 7.035 MB / 3.258 GB, free: 9.879 MB / 1.717 GB Notification: Performance of NFVerifyModel.verify: time 0.0426/7.141, allocations: 13.25 MB / 3.271 GB, free: 12.68 MB / 1.732 GB Notification: Performance of NFConvertDAE.convert: time 0.115/7.256, allocations: 47.48 MB / 3.318 GB, free: 14.53 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/7.256, allocations: 0 / 3.318 GB, free: 14.53 MB / 1.779 GB Notification: Performance of FrontEnd: time 3.336e-06/7.256, allocations: 0 / 3.318 GB, free: 14.53 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.001569/7.257, allocations: 0 / 3.318 GB, free: 14.53 MB / 1.779 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3245 * Number of variables: 3245 Notification: Performance of Generate backend data structure: time 0.09723/7.355, allocations: 24.12 MB / 3.341 GB, free: 6.312 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/7.355, allocations: 12.02 kB / 3.341 GB, free: 6.301 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06858/7.423, allocations: 9.052 MB / 3.35 GB, free: 13.24 MB / 1.811 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06223/7.486, allocations: 21.74 MB / 3.371 GB, free: 7.785 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002169/7.488, allocations: 1.145 MB / 3.373 GB, free: 6.617 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008301/7.496, allocations: 1.348 MB / 3.374 GB, free: 5.273 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08133/7.577, allocations: 18.93 MB / 3.392 GB, free: 2.105 MB / 1.842 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008833/7.578, allocations: 19.83 kB / 3.392 GB, free: 2.086 MB / 1.842 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007347/7.586, allocations: 0.5128 MB / 3.393 GB, free: 1.578 MB / 1.842 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007421/7.587, allocations: 0.4929 MB / 3.393 GB, free: 1.082 MB / 1.842 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07658/7.663, allocations: 19.57 MB / 3.412 GB, free: 13.5 MB / 1.873 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 1.028/8.692, allocations: 85.6 MB / 3.496 GB, free: 0.9595 GB / 1.904 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03729/8.729, allocations: 13.66 MB / 3.509 GB, free: 0.9536 GB / 1.904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02308/8.752, allocations: 7.981 MB / 3.517 GB, free: 0.9505 GB / 1.904 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08679/8.839, allocations: 38.49 MB / 3.555 GB, free: 0.9272 GB / 1.904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02162/8.861, allocations: 7.993 MB / 3.563 GB, free: 0.9244 GB / 1.904 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01044/8.871, allocations: 0.895 MB / 3.563 GB, free: 0.9243 GB / 1.904 GB Notification: Performance of pre-optimization done (n=874): time 3.961e-05/8.871, allocations: 2.375 kB / 3.563 GB, free: 0.9243 GB / 1.904 GB Notification: Performance of matching and sorting (n=898): time 0.1402/9.011, allocations: 41.05 MB / 3.604 GB, free: 0.9034 GB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/9.012, allocations: 0.5781 MB / 3.604 GB, free: 0.9028 GB / 1.904 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 11.1.0-maint.11.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.04183/9.053, allocations: 17.37 MB / 3.621 GB, free: 0.8939 GB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.003279/9.057, allocations: 249.4 kB / 3.621 GB, free: 0.8938 GB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01066/9.067, allocations: 8.52 MB / 3.63 GB, free: 0.8865 GB / 1.904 GB Notification: Performance of collectInitialBindings (initialization): time 0.005404/9.073, allocations: 3.048 MB / 3.633 GB, free: 0.8839 GB / 1.904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01382/9.087, allocations: 2.891 MB / 3.635 GB, free: 0.8823 GB / 1.904 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/9.087, allocations: 305.1 kB / 3.636 GB, free: 0.882 GB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02125/9.108, allocations: 8.675 MB / 3.644 GB, free: 0.8776 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02467/9.133, allocations: 11.65 MB / 3.656 GB, free: 0.8699 GB / 1.904 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.2268/9.36, allocations: 71.23 MB / 3.725 GB, free: 0.8014 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.385e-05/9.36, allocations: 16 kB / 3.725 GB, free: 0.8014 GB / 1.904 GB Notification: Performance of matching and sorting (n=1665) (initialization): time 0.06915/9.429, allocations: 23.9 MB / 3.748 GB, free: 0.7779 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/9.429, allocations: 303.2 kB / 3.749 GB, free: 0.7776 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-05/9.429, allocations: 56 kB / 3.749 GB, free: 0.7775 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006982/9.436, allocations: 2.546 MB / 3.751 GB, free: 0.775 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02017/9.456, allocations: 3.651 MB / 3.755 GB, free: 0.7715 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/9.476, allocations: 26.12 MB / 3.78 GB, free: 0.7444 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02492/9.501, allocations: 1.59 MB / 3.782 GB, free: 0.7428 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003774/9.505, allocations: 0.7061 MB / 3.783 GB, free: 0.7421 GB / 1.904 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.03063/9.535, allocations: 12.41 MB / 3.795 GB, free: 0.73 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02333/9.559, allocations: 11.31 MB / 3.806 GB, free: 0.7179 GB / 1.904 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.2201/9.779, allocations: 69.41 MB / 3.874 GB, free: 0.6491 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.65e-05/9.779, allocations: 20 kB / 3.874 GB, free: 0.6491 GB / 1.904 GB Notification: Performance of matching and sorting (n=1665) (initialization_lambda0): time 0.06549/9.844, allocations: 23.32 MB / 3.896 GB, free: 0.6262 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/9.845, allocations: 297 kB / 3.897 GB, free: 0.6258 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/9.845, allocations: 60 kB / 3.897 GB, free: 0.6258 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006591/9.851, allocations: 2.482 MB / 3.899 GB, free: 0.6233 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01961/9.871, allocations: 3.623 MB / 3.903 GB, free: 0.6198 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02756/9.898, allocations: 32.58 MB / 3.934 GB, free: 0.5862 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02619/9.925, allocations: 1.64 MB / 3.936 GB, free: 0.5846 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003689/9.928, allocations: 0.687 MB / 3.937 GB, free: 0.5839 GB / 1.904 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: 262 * Number of states: 0 () * Number of discrete variables: 90 ($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,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 (1497): * Single equations (assignments): 1456 * Array equations: 10 * Algorithm blocks: 10 * 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), (5,26), (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.004727/9.933, allocations: 1.204 MB / 3.938 GB, free: 0.5827 GB / 1.904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005903/9.939, allocations: 1.69 MB / 3.94 GB, free: 0.581 GB / 1.904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05097/9.99, allocations: 17.38 MB / 3.957 GB, free: 0.564 GB / 1.904 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.121e-05/9.99, allocations: 99.98 kB / 3.957 GB, free: 0.5639 GB / 1.904 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/9.99, allocations: 4 kB / 3.957 GB, free: 0.5639 GB / 1.904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03994/10.03, allocations: 14.32 MB / 3.971 GB, free: 0.5498 GB / 1.904 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09107/10.12, allocations: 44.09 MB / 4.014 GB, free: 0.5064 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-05/10.12, allocations: 31.97 kB / 4.014 GB, free: 0.5064 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01269/10.13, allocations: 2.122 MB / 4.016 GB, free: 0.5043 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/10.14, allocations: 1.048 MB / 4.017 GB, free: 0.5032 GB / 1.904 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002533/10.14, allocations: 323.8 kB / 4.017 GB, free: 0.5029 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006952/10.15, allocations: 9.895 MB / 4.027 GB, free: 0.4926 GB / 1.904 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/10.15, allocations: 35.97 kB / 4.027 GB, free: 0.4925 GB / 1.904 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06239/10.21, allocations: 26.23 MB / 4.052 GB, free: 477.6 MB / 1.904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01089/10.22, allocations: 3.978 MB / 4.056 GB, free: 473.6 MB / 1.904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005921/10.23, allocations: 240 kB / 4.057 GB, free: 473.4 MB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0174/10.24, allocations: 1.014 MB / 4.058 GB, free: 472.4 MB / 1.904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002273/10.25, allocations: 0.6382 MB / 4.058 GB, free: 471.7 MB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00163/10.25, allocations: 0.4917 MB / 4.059 GB, free: 471.2 MB / 1.904 GB Notification: Performance of sorting global known variables: time 0.02399/10.27, allocations: 11.74 MB / 4.07 GB, free: 459.6 MB / 1.904 GB Notification: Performance of sort global known variables: time 5.51e-07/10.27, allocations: 0 / 4.07 GB, free: 459.6 MB / 1.904 GB Notification: Performance of remove unused functions: time 0.03736/10.31, allocations: 8.056 MB / 4.078 GB, free: 451.7 MB / 1.904 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 50 (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) * Number of discrete variables: 51 (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) * Number of discrete states: 7 (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 (927): * Single equations (assignments): 879 * Array equations: 0 * Algorithm blocks: 10 * 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,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008103/10.32, allocations: 3.214 MB / 4.081 GB, free: 449 MB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.1683/10.49, allocations: 41.34 MB / 4.121 GB, free: 407.3 MB / 1.904 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-05/10.49, allocations: 9.875 kB / 4.121 GB, free: 407.3 MB / 1.904 GB Notification: Performance of simCode: created simulation system equations: time 0.02148/10.51, allocations: 8.893 MB / 4.13 GB, free: 398.2 MB / 1.904 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05258/10.56, allocations: 9.312 MB / 4.139 GB, free: 389.3 MB / 1.904 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0801/10.64, allocations: 37.99 MB / 4.176 GB, free: 351 MB / 1.904 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009896/10.65, allocations: 8.306 MB / 4.184 GB, free: 342.7 MB / 1.904 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008169/10.66, allocations: 1.483 MB / 4.186 GB, free: 341.2 MB / 1.904 GB Notification: Performance of SimCode: time 6.21e-07/10.66, allocations: 0 / 4.186 GB, free: 341.2 MB / 1.904 GB Notification: Performance of Templates: time 3.663/14.32, allocations: 1.721 GB / 5.907 GB, free: 0.6081 GB / 1.904 GB make -j1 -f Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.makefile (rm -f Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; mkfifo Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe >> ../files/Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.sim & ./Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.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 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.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,mPum_flow_nominal,pum.m_flow,pum.y_actual,time