Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001401/0.001401, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00156/0.00156, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 59.91 kB / 1.055 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 157.4 MB / 1.209 GB, free: 13.7 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.InjectionTwoWayCheckValve): time 6.29/7.338, allocations: 1.825 GB / 3.033 GB, free: 164.9 MB / 1.889 GB Notification: Performance of NFInst.instExpressions: time 0.3058/7.644, allocations: 159.8 MB / 3.189 GB, free: 163 MB / 1.889 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06356/7.708, allocations: 0.8004 MB / 3.19 GB, free: 163 MB / 1.889 GB Notification: Performance of NFTyping.typeComponents: time 0.03977/7.747, allocations: 10.08 MB / 3.2 GB, free: 162.8 MB / 1.889 GB Notification: Performance of NFTyping.typeBindings: time 0.1115/7.859, allocations: 28.26 MB / 3.228 GB, free: 161.1 MB / 1.889 GB Notification: Performance of NFTyping.typeClassSections: time 0.05185/7.911, allocations: 17.38 MB / 3.244 GB, free: 152.2 MB / 1.889 GB Notification: Performance of NFFlatten.flatten: time 0.117/8.028, allocations: 67.71 MB / 3.311 GB, free: 123.2 MB / 1.889 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04984/8.078, allocations: 20.07 MB / 3.33 GB, free: 106.7 MB / 1.889 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06724/8.145, allocations: 20.25 MB / 3.35 GB, free: 88.48 MB / 1.889 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03506/8.18, allocations: 14.98 MB / 3.365 GB, free: 74.47 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.01368/8.194, allocations: 2.996 MB / 3.368 GB, free: 71.48 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05836/8.252, allocations: 18.67 MB / 3.386 GB, free: 54.41 MB / 1.889 GB Notification: Performance of NFScalarize.scalarize: time 0.01524/8.268, allocations: 7.078 MB / 3.393 GB, free: 47.45 MB / 1.889 GB Notification: Performance of NFVerifyModel.verify: time 0.03561/8.303, allocations: 13.28 MB / 3.406 GB, free: 34.22 MB / 1.889 GB Notification: Performance of NFConvertDAE.convert: time 0.09752/8.401, allocations: 48.13 MB / 3.453 GB, free: 3.406 MB / 1.904 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/8.401, allocations: 0 / 3.453 GB, free: 3.406 MB / 1.904 GB Notification: Performance of FrontEnd: time 2.505e-06/8.401, allocations: 0 / 3.453 GB, free: 3.406 MB / 1.904 GB Notification: Performance of Transformations before backend: time 0.001566/8.403, allocations: 4 kB / 3.453 GB, free: 3.402 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: 3245 * Number of variables: 3245 Notification: Performance of Generate backend data structure: time 0.0949/8.497, allocations: 24.2 MB / 3.476 GB, free: 11.12 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/8.498, allocations: 19.92 kB / 3.476 GB, free: 11.1 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0675/8.565, allocations: 9.042 MB / 3.485 GB, free: 2.047 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06979/8.635, allocations: 22.53 MB / 3.507 GB, free: 11.8 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002204/8.637, allocations: 1.136 MB / 3.508 GB, free: 10.64 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007995/8.645, allocations: 1.342 MB / 3.51 GB, free: 9.305 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07477/8.72, allocations: 18.93 MB / 3.528 GB, free: 6.133 MB / 1.982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007347/8.721, allocations: 15.84 kB / 3.528 GB, free: 6.117 MB / 1.982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006055/8.727, allocations: 0.5125 MB / 3.529 GB, free: 5.613 MB / 1.982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007398/8.728, allocations: 0.5007 MB / 3.529 GB, free: 5.109 MB / 1.982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07142/8.799, allocations: 19.57 MB / 3.548 GB, free: 1.527 MB / 1.998 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.1998/8.999, allocations: 85.07 MB / 3.631 GB, free: 10.3 MB / 2.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03797/9.037, allocations: 13.62 MB / 3.645 GB, free: 12.66 MB / 2.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02365/9.061, allocations: 7.97 MB / 3.652 GB, free: 4.684 MB / 2.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09999/9.161, allocations: 38.56 MB / 3.69 GB, free: 13.51 MB / 2.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02676/9.188, allocations: 7.979 MB / 3.698 GB, free: 5.496 MB / 2.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01191/9.2, allocations: 0.8939 MB / 3.699 GB, free: 4.598 MB / 2.154 GB Notification: Performance of pre-optimization done (n=874): time 6.342e-05/9.2, allocations: 0 / 3.699 GB, free: 4.598 MB / 2.154 GB Notification: Performance of matching and sorting (n=898): time 1.06/10.26, allocations: 41.04 MB / 3.739 GB, free: 1.115 GB / 2.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/10.26, allocations: 0.5756 MB / 3.739 GB, free: 1.115 GB / 2.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03604/10.3, allocations: 17.49 MB / 3.756 GB, free: 1.108 GB / 2.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0034/10.3, allocations: 246.6 kB / 3.757 GB, free: 1.108 GB / 2.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.01007/10.31, allocations: 8.503 MB / 3.765 GB, free: 1.102 GB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.005173/10.31, allocations: 3.047 MB / 3.768 GB, free: 1.1 GB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009914/10.32, allocations: 2.885 MB / 3.771 GB, free: 1.099 GB / 2.154 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/10.32, allocations: 306.8 kB / 3.771 GB, free: 1.098 GB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0218/10.35, allocations: 8.673 MB / 3.779 GB, free: 1.095 GB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02618/10.37, allocations: 11.65 MB / 3.791 GB, free: 1.089 GB / 2.154 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.2311/10.6, allocations: 71.2 MB / 3.86 GB, free: 1.033 GB / 2.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-05/10.6, allocations: 16 kB / 3.86 GB, free: 1.033 GB / 2.154 GB Notification: Performance of matching and sorting (n=1665) (initialization): time 0.07891/10.68, allocations: 23.9 MB / 3.884 GB, free: 1.01 GB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/10.68, allocations: 301 kB / 3.884 GB, free: 1.009 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/10.68, allocations: 60 kB / 3.884 GB, free: 1.009 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007381/10.69, allocations: 2.543 MB / 3.887 GB, free: 1.007 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02091/10.71, allocations: 3.645 MB / 3.89 GB, free: 1.003 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/10.73, allocations: 26.11 MB / 3.916 GB, free: 0.9763 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02609/10.76, allocations: 1.577 MB / 3.917 GB, free: 0.9748 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004418/10.76, allocations: 0.7028 MB / 3.918 GB, free: 0.9741 GB / 2.154 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.03369/10.8, allocations: 12.4 MB / 3.93 GB, free: 0.9619 GB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02479/10.82, allocations: 11.31 MB / 3.941 GB, free: 0.9499 GB / 2.154 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.2387/11.06, allocations: 69.37 MB / 4.009 GB, free: 0.8811 GB / 2.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001106/11.06, allocations: 16 kB / 4.009 GB, free: 0.881 GB / 2.154 GB Notification: Performance of matching and sorting (n=1665) (initialization_lambda0): time 0.07661/11.14, allocations: 23.33 MB / 4.032 GB, free: 0.8581 GB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/11.14, allocations: 296.5 kB / 4.032 GB, free: 0.8578 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/11.14, allocations: 60 kB / 4.032 GB, free: 0.8577 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007295/11.15, allocations: 2.463 MB / 4.034 GB, free: 0.8553 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0213/11.17, allocations: 3.623 MB / 4.038 GB, free: 0.8518 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03148/11.2, allocations: 32.54 MB / 4.07 GB, free: 0.8182 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02766/11.23, allocations: 1.649 MB / 4.071 GB, free: 0.8166 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004369/11.23, allocations: 0.6753 MB / 4.072 GB, free: 0.816 GB / 2.154 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.007206/11.24, allocations: 1.219 MB / 4.073 GB, free: 0.8147 GB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007854/11.25, allocations: 1.686 MB / 4.075 GB, free: 0.813 GB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05944/11.3, allocations: 17.37 MB / 4.092 GB, free: 0.796 GB / 2.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001735/11.31, allocations: 95.98 kB / 4.092 GB, free: 0.796 GB / 2.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/11.31, allocations: 0 / 4.092 GB, free: 0.796 GB / 2.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05043/11.36, allocations: 14.31 MB / 4.106 GB, free: 0.7818 GB / 2.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1071/11.46, allocations: 44.11 MB / 4.149 GB, free: 0.7384 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.905e-05/11.46, allocations: 20 kB / 4.149 GB, free: 0.7384 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0136/11.48, allocations: 2.126 MB / 4.151 GB, free: 0.7363 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003529/11.48, allocations: 1.038 MB / 4.152 GB, free: 0.7353 GB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003079/11.48, allocations: 331.8 kB / 4.152 GB, free: 0.735 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007348/11.49, allocations: 9.876 MB / 4.162 GB, free: 0.7246 GB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/11.49, allocations: 31.88 kB / 4.162 GB, free: 0.7246 GB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06965/11.56, allocations: 26.25 MB / 4.188 GB, free: 0.6985 GB / 2.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0158/11.58, allocations: 4.001 MB / 4.191 GB, free: 0.6945 GB / 2.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0114/11.59, allocations: 240 kB / 4.192 GB, free: 0.6943 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02105/11.61, allocations: 1.017 MB / 4.193 GB, free: 0.6933 GB / 2.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002758/11.61, allocations: 0.6382 MB / 4.193 GB, free: 0.6927 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002459/11.61, allocations: 499.5 kB / 4.194 GB, free: 0.6922 GB / 2.154 GB Notification: Performance of sorting global known variables: time 0.0289/11.64, allocations: 11.83 MB / 4.205 GB, free: 0.6808 GB / 2.154 GB Notification: Performance of sort global known variables: time 4.61e-07/11.64, allocations: 3.938 kB / 4.205 GB, free: 0.6807 GB / 2.154 GB Notification: Performance of remove unused functions: time 0.04593/11.69, allocations: 8.07 MB / 4.213 GB, free: 0.673 GB / 2.154 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.009085/11.7, allocations: 3.194 MB / 4.216 GB, free: 0.6704 GB / 2.154 GB Notification: Performance of simCode: created initialization part: time 0.0896/11.79, allocations: 32.7 MB / 4.248 GB, free: 0.6381 GB / 2.154 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-05/11.79, allocations: 9.875 kB / 4.248 GB, free: 0.6381 GB / 2.154 GB Notification: Performance of simCode: created simulation system equations: time 0.02337/11.81, allocations: 8.883 MB / 4.257 GB, free: 0.6293 GB / 2.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05634/11.87, allocations: 9.302 MB / 4.266 GB, free: 0.6205 GB / 2.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09171/11.96, allocations: 37.52 MB / 4.303 GB, free: 0.5836 GB / 2.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01717/11.98, allocations: 8.322 MB / 4.311 GB, free: 0.5754 GB / 2.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/11.99, allocations: 1.483 MB / 4.312 GB, free: 0.574 GB / 2.154 GB Notification: Performance of SimCode: time 2.074e-06/11.99, allocations: 4 kB / 4.312 GB, free: 0.574 GB / 2.154 GB Notification: Performance of Templates: time 4.357/16.34, allocations: 1.724 GB / 6.036 GB, free: 1.061 GB / 2.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.makefile (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.sim & ./Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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