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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001556/0.001556, allocations: 101.1 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.001534/0.001534, 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.25 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.8607, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 4.92/5.781, allocations: 1.825 GB / 2.908 GB, free: 127.9 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 0.2482/6.029, allocations: 159.6 MB / 3.064 GB, free: 124 MB / 1.717 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06426/6.093, allocations: 0.8006 MB / 3.065 GB, free: 124 MB / 1.717 GB Notification: Performance of NFTyping.typeComponents: time 0.05114/6.145, allocations: 24.79 MB / 3.089 GB, free: 118.8 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.08663/6.231, allocations: 27.63 MB / 3.116 GB, free: 110.8 MB / 1.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.04169/6.273, allocations: 17.19 MB / 3.133 GB, free: 98.78 MB / 1.717 GB Notification: Performance of NFFlatten.flatten: time 0.08593/6.359, allocations: 65.03 MB / 3.196 GB, free: 52.24 MB / 1.717 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03646/6.395, allocations: 19.91 MB / 3.216 GB, free: 32.71 MB / 1.717 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04915/6.445, allocations: 20.75 MB / 3.236 GB, free: 13.64 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02705/6.472, allocations: 14.57 MB / 3.25 GB, free: 15.98 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.01244/6.484, allocations: 2.941 MB / 3.253 GB, free: 13.04 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05414/6.538, allocations: 18.52 MB / 3.271 GB, free: 12.12 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.01324/6.552, allocations: 6.956 MB / 3.278 GB, free: 5.281 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.03122/6.583, allocations: 13.18 MB / 3.291 GB, free: 8.18 MB / 1.764 GB Notification: Performance of NFConvertDAE.convert: time 0.09401/6.677, allocations: 47.23 MB / 3.337 GB, free: 10.27 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/6.677, allocations: 0 / 3.337 GB, free: 10.27 MB / 1.811 GB Notification: Performance of FrontEnd: time 2.154e-06/6.677, allocations: 0 / 3.337 GB, free: 10.27 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.001209/6.678, allocations: 0 / 3.337 GB, free: 10.27 MB / 1.811 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3230 * Number of variables: 3230 Notification: Performance of Generate backend data structure: time 0.07568/6.754, allocations: 23.99 MB / 3.361 GB, free: 2.188 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/6.754, allocations: 8.031 kB / 3.361 GB, free: 2.18 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06793/6.822, allocations: 9.038 MB / 3.369 GB, free: 9.133 MB / 1.842 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05701/6.879, allocations: 21.54 MB / 3.39 GB, free: 3.883 MB / 1.857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002177/6.881, allocations: 1.145 MB / 3.392 GB, free: 2.715 MB / 1.857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007358/6.889, allocations: 1.338 MB / 3.393 GB, free: 1.383 MB / 1.857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06804/6.957, allocations: 18.88 MB / 3.411 GB, free: 14.27 MB / 1.889 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007385/6.958, allocations: 15.78 kB / 3.411 GB, free: 14.25 MB / 1.889 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005879/6.964, allocations: 0.5168 MB / 3.412 GB, free: 13.74 MB / 1.889 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006648/6.964, allocations: 488.7 kB / 3.412 GB, free: 13.26 MB / 1.889 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07342/7.038, allocations: 19.47 MB / 3.431 GB, free: 9.77 MB / 1.904 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.9637/8.001, allocations: 85.87 MB / 3.515 GB, free: 0.9822 GB / 1.936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03507/8.036, allocations: 13.66 MB / 3.528 GB, free: 0.9763 GB / 1.936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02283/8.059, allocations: 7.977 MB / 3.536 GB, free: 0.9733 GB / 1.936 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08526/8.145, allocations: 38.25 MB / 3.574 GB, free: 0.9481 GB / 1.936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02432/8.169, allocations: 7.974 MB / 3.581 GB, free: 0.9437 GB / 1.936 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009792/8.179, allocations: 0.8835 MB / 3.582 GB, free: 0.9436 GB / 1.936 GB Notification: Performance of pre-optimization done (n=864): time 4.394e-05/8.179, allocations: 0 / 3.582 GB, free: 0.9436 GB / 1.936 GB Notification: Performance of matching and sorting (n=888): time 0.1441/8.323, allocations: 40.94 MB / 3.622 GB, free: 0.9225 GB / 1.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/8.323, allocations: 0.5833 MB / 3.623 GB, free: 0.9219 GB / 1.936 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03423/8.358, allocations: 17.27 MB / 3.64 GB, free: 0.9131 GB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.002964/8.361, allocations: 241.8 kB / 3.64 GB, free: 0.9129 GB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.007713/8.368, allocations: 8.505 MB / 3.648 GB, free: 0.9057 GB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.004518/8.373, allocations: 3.012 MB / 3.651 GB, free: 0.9031 GB / 1.936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006043/8.379, allocations: 2.866 MB / 3.654 GB, free: 0.9015 GB / 1.936 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/8.379, allocations: 308.1 kB / 3.654 GB, free: 0.9012 GB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02118/8.4, allocations: 8.672 MB / 3.663 GB, free: 0.8961 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02423/8.424, allocations: 11.63 MB / 3.674 GB, free: 0.8838 GB / 1.936 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.2305/8.655, allocations: 71.04 MB / 3.743 GB, free: 0.8139 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.63e-05/8.655, allocations: 16 kB / 3.743 GB, free: 0.8139 GB / 1.936 GB Notification: Performance of matching and sorting (n=1650) (initialization): time 0.07254/8.728, allocations: 23.83 MB / 3.767 GB, free: 0.7905 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/8.728, allocations: 298.3 kB / 3.767 GB, free: 0.7902 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/8.728, allocations: 56 kB / 3.767 GB, free: 0.7901 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007624/8.736, allocations: 2.561 MB / 3.77 GB, free: 0.7876 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02118/8.757, allocations: 3.576 MB / 3.773 GB, free: 0.7841 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/8.779, allocations: 26.12 MB / 3.799 GB, free: 0.757 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02822/8.807, allocations: 1.6 MB / 3.8 GB, free: 0.7554 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004751/8.812, allocations: 0.7028 MB / 3.801 GB, free: 0.7548 GB / 1.936 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.03523/8.847, allocations: 12.35 MB / 3.813 GB, free: 0.7427 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02574/8.873, allocations: 11.3 MB / 3.824 GB, free: 0.7306 GB / 1.936 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.225/9.098, allocations: 69.22 MB / 3.892 GB, free: 0.662 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001035/9.098, allocations: 16 kB / 3.892 GB, free: 0.6619 GB / 1.936 GB Notification: Performance of matching and sorting (n=1650) (initialization_lambda0): time 0.06951/9.168, allocations: 23.26 MB / 3.914 GB, free: 0.6391 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/9.168, allocations: 304.7 kB / 3.915 GB, free: 0.6387 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/9.168, allocations: 60 kB / 3.915 GB, free: 0.6387 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/9.175, allocations: 2.482 MB / 3.917 GB, free: 0.6362 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02003/9.195, allocations: 3.557 MB / 3.92 GB, free: 0.6328 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02731/9.222, allocations: 32.57 MB / 3.952 GB, free: 0.5992 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0255/9.248, allocations: 1.672 MB / 3.954 GB, free: 0.5976 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00365/9.251, allocations: 0.6827 MB / 3.955 GB, free: 0.5969 GB / 1.936 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 (1482): * Single equations (assignments): 1441 * 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.004053/9.256, allocations: 1.203 MB / 3.956 GB, free: 0.5957 GB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005844/9.261, allocations: 1.67 MB / 3.957 GB, free: 0.594 GB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04924/9.311, allocations: 17.3 MB / 3.974 GB, free: 0.5771 GB / 1.936 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/9.311, allocations: 99.98 kB / 3.974 GB, free: 0.577 GB / 1.936 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/9.311, allocations: 0 / 3.974 GB, free: 0.577 GB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04419/9.355, allocations: 14.26 MB / 3.988 GB, free: 0.5629 GB / 1.936 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09892/9.454, allocations: 43.89 MB / 4.031 GB, free: 0.5197 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001304/9.454, allocations: 28.06 kB / 4.031 GB, free: 0.5197 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01304/9.467, allocations: 2.133 MB / 4.033 GB, free: 0.5176 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/9.471, allocations: 1.039 MB / 4.034 GB, free: 0.5166 GB / 1.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002465/9.473, allocations: 319.8 kB / 4.035 GB, free: 0.5162 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007177/9.48, allocations: 9.895 MB / 4.044 GB, free: 0.5059 GB / 1.936 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/9.48, allocations: 31.88 kB / 4.044 GB, free: 0.5059 GB / 1.936 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0669/9.547, allocations: 26.1 MB / 4.07 GB, free: 491.4 MB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01114/9.559, allocations: 3.931 MB / 4.074 GB, free: 487.4 MB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007209/9.566, allocations: 232 kB / 4.074 GB, free: 487.2 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0179/9.584, allocations: 1.024 MB / 4.075 GB, free: 486.2 MB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002437/9.586, allocations: 0.638 MB / 4.075 GB, free: 485.5 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002679/9.589, allocations: 0.4956 MB / 4.076 GB, free: 485 MB / 1.936 GB Notification: Performance of sorting global known variables: time 0.02461/9.614, allocations: 11.66 MB / 4.087 GB, free: 473.5 MB / 1.936 GB Notification: Performance of sort global known variables: time 3.71e-07/9.614, allocations: 0 / 4.087 GB, free: 473.5 MB / 1.936 GB Notification: Performance of remove unused functions: time 0.03695/9.651, allocations: 8.015 MB / 4.095 GB, free: 465.6 MB / 1.936 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 45 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.motSpe.y,T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.motSpe.y,con.val.valEqu.actPos.y,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.actPos.y,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.actPos.y,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 (917): * Single equations (assignments): 869 * 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), (6,27), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008364/9.659, allocations: 3.188 MB / 4.098 GB, free: 462.9 MB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.1804/9.839, allocations: 40.44 MB / 4.138 GB, free: 422.1 MB / 1.936 GB Notification: Performance of simCode: created event and clocks part: time 2.648e-05/9.839, allocations: 9.812 kB / 4.138 GB, free: 422.1 MB / 1.936 GB Notification: Performance of simCode: created simulation system equations: time 0.0208/9.86, allocations: 8.867 MB / 4.146 GB, free: 413.1 MB / 1.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05163/9.912, allocations: 9.335 MB / 4.156 GB, free: 404.1 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07519/9.987, allocations: 37.87 MB / 4.193 GB, free: 366 MB / 1.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/9.998, allocations: 8.234 MB / 4.201 GB, free: 357.7 MB / 1.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009636/10.01, allocations: 1.479 MB / 4.202 GB, free: 356.2 MB / 1.936 GB Notification: Performance of SimCode: time 1.262e-06/10.01, allocations: 0 / 4.202 GB, free: 356.2 MB / 1.936 GB Notification: Performance of Templates: time 3.296/13.3, allocations: 1.713 GB / 5.915 GB, free: 0.6553 GB / 1.936 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=400 -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