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.001669/0.001669, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00192/0.00192, allocations: 186.2 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.469/1.469, 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.686/2.686, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.91 kB / 1.055 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.086, allocations: 157.4 MB / 1.209 GB, free: 13.55 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.36/7.447, allocations: 1.825 GB / 3.033 GB, free: 165.5 MB / 1.889 GB Notification: Performance of NFInst.instExpressions: time 0.293/7.74, allocations: 159.8 MB / 3.189 GB, free: 163.6 MB / 1.889 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06862/7.808, allocations: 0.7996 MB / 3.19 GB, free: 163.6 MB / 1.889 GB Notification: Performance of NFTyping.typeComponents: time 0.03841/7.847, allocations: 10.37 MB / 3.2 GB, free: 163.5 MB / 1.889 GB Notification: Performance of NFTyping.typeBindings: time 0.1096/7.957, allocations: 29.67 MB / 3.229 GB, free: 160.7 MB / 1.889 GB Notification: Performance of NFTyping.typeClassSections: time 0.05515/8.012, allocations: 17.48 MB / 3.246 GB, free: 151.8 MB / 1.889 GB Notification: Performance of NFFlatten.flatten: time 0.1237/8.135, allocations: 67.79 MB / 3.312 GB, free: 122.6 MB / 1.889 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05835/8.194, allocations: 20.08 MB / 3.332 GB, free: 105.3 MB / 1.889 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06343/8.257, allocations: 20.35 MB / 3.352 GB, free: 87.06 MB / 1.889 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03731/8.295, allocations: 15 MB / 3.367 GB, free: 73.04 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.01455/8.309, allocations: 2.992 MB / 3.369 GB, free: 70.04 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0605/8.37, allocations: 18.71 MB / 3.388 GB, free: 52.93 MB / 1.889 GB Notification: Performance of NFScalarize.scalarize: time 0.01578/8.386, allocations: 7.079 MB / 3.395 GB, free: 45.97 MB / 1.889 GB Notification: Performance of NFVerifyModel.verify: time 0.03913/8.425, allocations: 13.28 MB / 3.408 GB, free: 32.74 MB / 1.889 GB Notification: Performance of NFConvertDAE.convert: time 0.1132/8.538, allocations: 48.13 MB / 3.455 GB, free: 1.93 MB / 1.904 GB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/8.538, allocations: 0 / 3.455 GB, free: 1.93 MB / 1.904 GB Notification: Performance of FrontEnd: time 6.372e-06/8.538, allocations: 0 / 3.455 GB, free: 1.93 MB / 1.904 GB Notification: Performance of Transformations before backend: time 0.002469/8.541, allocations: 4 kB / 3.455 GB, free: 1.926 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.1027/8.644, allocations: 24.2 MB / 3.478 GB, free: 9.633 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 8.488e-05/8.644, allocations: 15.98 kB / 3.478 GB, free: 9.617 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.069/8.713, allocations: 9.046 MB / 3.487 GB, free: 0.5625 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06531/8.778, allocations: 22.53 MB / 3.509 GB, free: 10.32 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002101/8.78, allocations: 1.142 MB / 3.51 GB, free: 9.156 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008795/8.789, allocations: 1.339 MB / 3.512 GB, free: 7.824 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07984/8.869, allocations: 18.92 MB / 3.53 GB, free: 4.664 MB / 1.982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008352/8.87, allocations: 19.84 kB / 3.53 GB, free: 4.645 MB / 1.982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007015/8.877, allocations: 0.5123 MB / 3.531 GB, free: 4.137 MB / 1.982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008223/8.878, allocations: 0.4968 MB / 3.531 GB, free: 3.637 MB / 1.982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07521/8.953, allocations: 19.57 MB / 3.55 GB, free: 56 kB / 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.2189/9.172, allocations: 85.07 MB / 3.633 GB, free: 8.84 MB / 2.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03951/9.212, allocations: 13.61 MB / 3.647 GB, free: 11.21 MB / 2.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02545/9.237, allocations: 7.969 MB / 3.654 GB, free: 3.234 MB / 2.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.102/9.339, allocations: 38.56 MB / 3.692 GB, free: 12.06 MB / 2.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02635/9.366, allocations: 7.977 MB / 3.7 GB, free: 4.051 MB / 2.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01108/9.377, allocations: 0.8955 MB / 3.701 GB, free: 3.148 MB / 2.154 GB Notification: Performance of pre-optimization done (n=874): time 4.593e-05/9.377, allocations: 0 / 3.701 GB, free: 3.148 MB / 2.154 GB Notification: Performance of matching and sorting (n=898): time 1.139/10.52, allocations: 41.05 MB / 3.741 GB, free: 1.115 GB / 2.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002161/10.52, allocations: 0.5744 MB / 3.741 GB, free: 1.114 GB / 2.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04627/10.56, allocations: 17.49 MB / 3.758 GB, free: 1.108 GB / 2.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003881/10.57, allocations: 245 kB / 3.759 GB, free: 1.108 GB / 2.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.01703/10.58, allocations: 8.504 MB / 3.767 GB, free: 1.102 GB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.009166/10.59, allocations: 3.048 MB / 3.77 GB, free: 1.1 GB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02/10.61, allocations: 2.886 MB / 3.773 GB, free: 1.098 GB / 2.154 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/10.61, allocations: 307.7 kB / 3.773 GB, free: 1.098 GB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02696/10.64, allocations: 8.671 MB / 3.781 GB, free: 1.095 GB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03172/10.67, allocations: 11.65 MB / 3.793 GB, free: 1.088 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.2584/10.93, allocations: 71.21 MB / 3.862 GB, free: 1.032 GB / 2.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/10.93, allocations: 16 kB / 3.862 GB, free: 1.032 GB / 2.154 GB Notification: Performance of matching and sorting (n=1665) (initialization): time 0.08667/11.02, allocations: 23.89 MB / 3.886 GB, free: 1.008 GB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/11.02, allocations: 297 kB / 3.886 GB, free: 1.008 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/11.02, allocations: 60 kB / 3.886 GB, free: 1.008 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00797/11.03, allocations: 2.546 MB / 3.889 GB, free: 1.006 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02203/11.05, allocations: 3.651 MB / 3.892 GB, free: 1.002 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/11.07, allocations: 26.1 MB / 3.918 GB, free: 0.9749 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02744/11.1, allocations: 1.58 MB / 3.919 GB, free: 0.9734 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004461/11.1, allocations: 0.7027 MB / 3.92 GB, free: 0.9727 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.03485/11.14, allocations: 12.4 MB / 3.932 GB, free: 0.9606 GB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02589/11.16, allocations: 11.31 MB / 3.943 GB, free: 0.9485 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.2389/11.4, allocations: 69.37 MB / 4.011 GB, free: 0.8797 GB / 2.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.814e-05/11.4, allocations: 16 kB / 4.011 GB, free: 0.8797 GB / 2.154 GB Notification: Performance of matching and sorting (n=1665) (initialization_lambda0): time 0.08665/11.49, allocations: 23.33 MB / 4.034 GB, free: 0.8568 GB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003554/11.49, allocations: 293 kB / 4.034 GB, free: 0.8564 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002217/11.49, allocations: 60 kB / 4.034 GB, free: 0.8564 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008313/11.5, allocations: 2.464 MB / 4.036 GB, free: 0.8539 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0217/11.52, allocations: 3.623 MB / 4.04 GB, free: 0.8504 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/11.55, allocations: 32.55 MB / 4.072 GB, free: 0.8168 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03142/11.58, allocations: 1.644 MB / 4.073 GB, free: 0.8153 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004654/11.58, allocations: 0.6831 MB / 4.074 GB, free: 0.8146 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.008286/11.59, allocations: 1.209 MB / 4.075 GB, free: 0.8133 GB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009992/11.6, allocations: 1.682 MB / 4.077 GB, free: 0.8117 GB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06841/11.67, allocations: 17.37 MB / 4.094 GB, free: 0.7947 GB / 2.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002444/11.67, allocations: 99.98 kB / 4.094 GB, free: 0.7946 GB / 2.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.161e-05/11.67, allocations: 0 / 4.094 GB, free: 0.7946 GB / 2.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05505/11.73, allocations: 14.31 MB / 4.108 GB, free: 0.7804 GB / 2.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1212/11.85, allocations: 44.11 MB / 4.151 GB, free: 0.7371 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001764/11.85, allocations: 23.98 kB / 4.151 GB, free: 0.737 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01464/11.86, allocations: 2.118 MB / 4.153 GB, free: 0.735 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/11.87, allocations: 1.042 MB / 4.154 GB, free: 0.7339 GB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00292/11.87, allocations: 327.8 kB / 4.154 GB, free: 0.7336 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008056/11.88, allocations: 9.88 MB / 4.164 GB, free: 0.7233 GB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/11.88, allocations: 35.81 kB / 4.164 GB, free: 0.7232 GB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08128/11.96, allocations: 26.24 MB / 4.19 GB, free: 0.6971 GB / 2.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01442/11.97, allocations: 3.997 MB / 4.193 GB, free: 0.6932 GB / 2.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009485/11.98, allocations: 243.9 kB / 4.194 GB, free: 0.693 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02232/12.01, allocations: 1.02 MB / 4.195 GB, free: 0.692 GB / 2.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003274/12.01, allocations: 0.6499 MB / 4.195 GB, free: 0.6913 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003348/12.01, allocations: 499.5 kB / 4.196 GB, free: 0.6908 GB / 2.154 GB Notification: Performance of sorting global known variables: time 0.03442/12.05, allocations: 11.83 MB / 4.207 GB, free: 0.6794 GB / 2.154 GB Notification: Performance of sort global known variables: time 5.91e-07/12.05, allocations: 0 / 4.207 GB, free: 0.6794 GB / 2.154 GB Notification: Performance of remove unused functions: time 0.05237/12.1, allocations: 8.068 MB / 4.215 GB, free: 0.6716 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.011/12.11, allocations: 3.202 MB / 4.218 GB, free: 0.669 GB / 2.154 GB Notification: Performance of simCode: created initialization part: time 0.09887/12.21, allocations: 32.69 MB / 4.25 GB, free: 0.6368 GB / 2.154 GB Notification: Performance of simCode: created event and clocks part: time 3.198e-05/12.21, allocations: 9.812 kB / 4.25 GB, free: 0.6367 GB / 2.154 GB Notification: Performance of simCode: created simulation system equations: time 0.02478/12.23, allocations: 8.885 MB / 4.259 GB, free: 0.6279 GB / 2.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05991/12.29, allocations: 9.298 MB / 4.268 GB, free: 0.6192 GB / 2.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09535/12.39, allocations: 37.53 MB / 4.305 GB, free: 0.5822 GB / 2.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01721/12.41, allocations: 8.314 MB / 4.313 GB, free: 0.5741 GB / 2.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01067/12.42, allocations: 1.483 MB / 4.314 GB, free: 0.5726 GB / 2.154 GB Notification: Performance of SimCode: time 1.222e-06/12.42, allocations: 0 / 4.314 GB, free: 0.5726 GB / 2.154 GB Notification: Performance of Templates: time 4.328/16.75, allocations: 1.724 GB / 6.038 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