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: "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00475/0.00475, allocations: 101.5 kB / 15.73 MB, free: 6.043 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.00136/0.00136, allocations: 201 kB / 16.68 MB, free: 5.965 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.083 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2864, allocations: 162.2 MB / 1.242 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 3.482/3.768, allocations: 1.825 GB / 3.067 GB, free: 4.055 MB / 1.748 GB Notification: Performance of NFInst.instExpressions: time 1.05/4.818, allocations: 159.6 MB / 3.223 GB, free: 65.34 MB / 1.873 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02717/4.845, allocations: 0.8024 MB / 3.224 GB, free: 65.34 MB / 1.873 GB Notification: Performance of NFTyping.typeComponents: time 0.02345/4.868, allocations: 10.07 MB / 3.234 GB, free: 65.34 MB / 1.873 GB Notification: Performance of NFTyping.typeBindings: time 0.06248/4.931, allocations: 28.17 MB / 3.261 GB, free: 65.07 MB / 1.873 GB Notification: Performance of NFTyping.typeClassSections: time 0.03321/4.964, allocations: 17.33 MB / 3.278 GB, free: 64.71 MB / 1.873 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 loa.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 loa1.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 NFFlatten.flatten: time 0.0776/5.042, allocations: 68.13 MB / 3.345 GB, free: 64.41 MB / 1.873 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02847/5.07, allocations: 20.03 MB / 3.364 GB, free: 62.18 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0421/5.112, allocations: 20.98 MB / 3.385 GB, free: 61.99 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02546/5.138, allocations: 14.75 MB / 3.399 GB, free: 59.48 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.007896/5.146, allocations: 2.977 MB / 3.402 GB, free: 59.48 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04089/5.187, allocations: 18.6 MB / 3.42 GB, free: 59.27 MB / 1.873 GB Notification: Performance of NFScalarize.scalarize: time 0.01087/5.198, allocations: 7.017 MB / 3.427 GB, free: 58.46 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.02417/5.222, allocations: 13.25 MB / 3.44 GB, free: 55.25 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.06567/5.288, allocations: 48.18 MB / 3.487 GB, free: 38.7 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/5.288, allocations: 0 / 3.487 GB, free: 38.7 MB / 1.873 GB Notification: Performance of FrontEnd: time 1.473e-06/5.288, allocations: 0 / 3.487 GB, free: 38.7 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.0009771/5.289, allocations: 0 / 3.487 GB, free: 38.7 MB / 1.873 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.06425/5.353, allocations: 24.85 MB / 3.511 GB, free: 25.65 MB / 1.873 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/5.353, allocations: 13.11 kB / 3.511 GB, free: 25.65 MB / 1.873 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004306/5.357, allocations: 1.619 MB / 3.513 GB, free: 25.05 MB / 1.873 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06075/5.418, allocations: 9.157 MB / 3.522 GB, free: 21.06 MB / 1.873 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0463/5.464, allocations: 28.17 MB / 3.549 GB, free: 1.207 MB / 1.873 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007612/5.465, allocations: 1.126 MB / 3.55 GB, free: 0.625 MB / 1.873 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003821/5.469, allocations: 1.336 MB / 3.552 GB, free: 15.92 MB / 1.889 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04846/5.517, allocations: 18.88 MB / 3.57 GB, free: 12.84 MB / 1.904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/5.518, allocations: 17.77 kB / 3.57 GB, free: 12.82 MB / 1.904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001826/5.519, allocations: 0.5132 MB / 3.571 GB, free: 12.32 MB / 1.904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004343/5.52, allocations: 491.3 kB / 3.571 GB, free: 11.84 MB / 1.904 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05922/5.579, allocations: 19.46 MB / 3.59 GB, free: 8.41 MB / 1.92 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.1631/5.742, allocations: 85.48 MB / 3.674 GB, free: 1.328 MB / 1.998 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03377/5.776, allocations: 13.59 MB / 3.687 GB, free: 3.715 MB / 2.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02091/5.797, allocations: 7.969 MB / 3.695 GB, free: 11.74 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07343/5.87, allocations: 38.31 MB / 3.732 GB, free: 4.863 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02065/5.891, allocations: 7.96 MB / 3.74 GB, free: 12.87 MB / 2.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007015/5.898, allocations: 0.9181 MB / 3.741 GB, free: 11.95 MB / 2.076 GB Notification: Performance of pre-optimization done (n=864): time 2.389e-05/5.898, allocations: 0 / 3.741 GB, free: 11.95 MB / 2.076 GB Notification: Performance of matching and sorting (n=888): time 0.1304/6.029, allocations: 41.26 MB / 3.781 GB, free: 2.504 MB / 2.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003484/6.029, allocations: 0.577 MB / 3.781 GB, free: 1.812 MB / 2.107 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.03756/6.067, allocations: 17.42 MB / 3.799 GB, free: 500 kB / 2.123 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/6.069, allocations: 241.7 kB / 3.799 GB, free: 252 kB / 2.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01209/6.082, allocations: 8.617 MB / 3.807 GB, free: 7.652 MB / 2.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.005604/6.087, allocations: 3.161 MB / 3.81 GB, free: 4.535 MB / 2.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01166/6.099, allocations: 2.878 MB / 3.813 GB, free: 1.645 MB / 2.139 GB Notification: Performance of setup shared object (initialization): time 0.0001181/6.099, allocations: 301.1 kB / 3.813 GB, free: 1.348 MB / 2.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02618/6.125, allocations: 8.658 MB / 3.822 GB, free: 8.684 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0314/6.157, allocations: 11.62 MB / 3.833 GB, free: 12.04 MB / 2.17 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.2706/6.427, allocations: 70.98 MB / 3.902 GB, free: 4.363 MB / 2.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.874e-05/6.427, allocations: 23.94 kB / 3.902 GB, free: 4.34 MB / 2.232 GB Notification: Performance of matching and sorting (n=1650) (initialization): time 0.07914/6.506, allocations: 23.9 MB / 3.926 GB, free: 12.82 MB / 2.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002503/6.507, allocations: 297.2 kB / 3.926 GB, free: 12.46 MB / 2.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/6.507, allocations: 64 kB / 3.926 GB, free: 12.4 MB / 2.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008428/6.515, allocations: 2.537 MB / 3.929 GB, free: 9.836 MB / 2.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02238/6.538, allocations: 3.584 MB / 3.932 GB, free: 6.414 MB / 2.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/6.567, allocations: 26.12 MB / 3.958 GB, free: 10.83 MB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02573/6.593, allocations: 1.597 MB / 3.959 GB, free: 9.242 MB / 2.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004024/6.597, allocations: 0.6994 MB / 3.96 GB, free: 8.547 MB / 2.295 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.03707/6.634, allocations: 12.35 MB / 3.972 GB, free: 12.2 MB / 2.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.6288/7.263, allocations: 11.27 MB / 3.983 GB, free: 1.186 GB / 2.311 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.2489/7.512, allocations: 69.16 MB / 4.05 GB, free: 1.176 GB / 2.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.545e-05/7.512, allocations: 20.41 kB / 4.051 GB, free: 1.176 GB / 2.311 GB Notification: Performance of matching and sorting (n=1650) (initialization_lambda0): time 0.06806/7.58, allocations: 23.33 MB / 4.073 GB, free: 1.167 GB / 2.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/7.58, allocations: 300.5 kB / 4.074 GB, free: 1.167 GB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.759e-05/7.58, allocations: 55.38 kB / 4.074 GB, free: 1.167 GB / 2.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007097/7.587, allocations: 2.479 MB / 4.076 GB, free: 1.166 GB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02033/7.608, allocations: 3.557 MB / 4.08 GB, free: 1.166 GB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02898/7.637, allocations: 32.56 MB / 4.111 GB, free: 1.14 GB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02519/7.662, allocations: 1.656 MB / 4.113 GB, free: 1.14 GB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003396/7.665, allocations: 0.6759 MB / 4.114 GB, free: 1.139 GB / 2.311 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.005354/7.671, allocations: 1.199 MB / 4.115 GB, free: 1.139 GB / 2.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006079/7.677, allocations: 1.766 MB / 4.117 GB, free: 1.139 GB / 2.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05211/7.729, allocations: 17.3 MB / 4.133 GB, free: 1.132 GB / 2.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-05/7.729, allocations: 107.4 kB / 4.134 GB, free: 1.132 GB / 2.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/7.729, allocations: 3.938 kB / 4.134 GB, free: 1.132 GB / 2.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03897/7.768, allocations: 14.25 MB / 4.147 GB, free: 1.126 GB / 2.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08608/7.854, allocations: 43.91 MB / 4.19 GB, free: 1.102 GB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-05/7.854, allocations: 25.5 kB / 4.19 GB, free: 1.102 GB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01243/7.867, allocations: 2.128 MB / 4.192 GB, free: 1.1 GB / 2.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/7.87, allocations: 1.029 MB / 4.193 GB, free: 1.099 GB / 2.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001648/7.872, allocations: 315.8 kB / 4.194 GB, free: 1.099 GB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/7.879, allocations: 9.877 MB / 4.203 GB, free: 1.089 GB / 2.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/7.879, allocations: 35.81 kB / 4.203 GB, free: 1.089 GB / 2.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06025/7.939, allocations: 26.21 MB / 4.229 GB, free: 1.064 GB / 2.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009394/7.948, allocations: 4.04 MB / 4.233 GB, free: 1.06 GB / 2.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005502/7.954, allocations: 228 kB / 4.233 GB, free: 1.06 GB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01626/7.97, allocations: 1.04 MB / 4.234 GB, free: 1.059 GB / 2.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/7.971, allocations: 0.641 MB / 4.235 GB, free: 1.058 GB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001399/7.973, allocations: 495.5 kB / 4.235 GB, free: 1.058 GB / 2.311 GB Notification: Performance of sorting global known variables: time 0.02269/7.996, allocations: 11.77 MB / 4.247 GB, free: 1.046 GB / 2.311 GB Notification: Performance of sort global known variables: time 3.11e-07/7.996, allocations: 0 / 4.247 GB, free: 1.046 GB / 2.311 GB Notification: Performance of remove unused functions: time 0.0302/8.026, allocations: 8.043 MB / 4.255 GB, free: 1.039 GB / 2.311 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.06548/8.091, allocations: 29.5 MB / 4.283 GB, free: 1.01 GB / 2.311 GB Notification: Performance of simCode: created initialization part: time 0.08009/8.171, allocations: 32.66 MB / 4.315 GB, free: 0.9778 GB / 2.311 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-05/8.171, allocations: 13.88 kB / 4.315 GB, free: 0.9778 GB / 2.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01907/8.191, allocations: 8.355 MB / 4.323 GB, free: 0.9695 GB / 2.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04758/8.238, allocations: 9.321 MB / 4.333 GB, free: 0.9608 GB / 2.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3407/8.579, allocations: 153.9 MB / 4.483 GB, free: 0.8079 GB / 2.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/8.589, allocations: 8.285 MB / 4.491 GB, free: 0.7997 GB / 2.311 GB Notification: Performance of simCode: alias equations: time 0.02278/8.612, allocations: 4.752 MB / 4.496 GB, free: 0.7952 GB / 2.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01486/8.627, allocations: 8.86 MB / 4.504 GB, free: 0.7866 GB / 2.311 GB Notification: Performance of SimCode: time 1.092e-06/8.627, allocations: 0 / 4.504 GB, free: 0.7866 GB / 2.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.618/9.245, allocations: 0.5213 GB / 5.026 GB, free: 273.7 MB / 2.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 73.13/82.38, allocations: 8.25 kB / 5.026 GB, free: 273.6 MB / 2.311 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.fmu > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[521]=86400.000000 File[27]=1002.240000 Error: Could not read variable T2Set.y in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable T2Set.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.res3.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.res3.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable fraLoa.y[1] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable fraLoa.y[1] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable fraLoa.y[2] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable fraLoa.y[2] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa1.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa1.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa1.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa1.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp1SetVal.y in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp1SetVal.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp1.p_rel in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp1.p_rel from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp2SetVal.y in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp2SetVal.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp2.p_rel in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp2.p_rel from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable pum.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable pum.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.pum.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.pum.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! " 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:time,T1Ret.T,T1Sup.T,con.T2Ret.T,con.T2Sup.T,con.ctl.conPID.I.y