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.004565/0.004565, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001188/0.001188, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.492/2.492, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 65.06 kB / 1.084 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2515, allocations: 162.3 MB / 1.242 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 3.402/3.654, allocations: 1.825 GB / 3.068 GB, free: 140.2 MB / 1.904 GB Notification: Performance of NFInst.instExpressions: time 0.1708/3.825, allocations: 159.6 MB / 3.223 GB, free: 138.2 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03301/3.858, allocations: 0.8038 MB / 3.224 GB, free: 138.2 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.02483/3.883, allocations: 10.06 MB / 3.234 GB, free: 138.1 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.06484/3.947, allocations: 28.18 MB / 3.261 GB, free: 131.4 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.03418/3.982, allocations: 17.31 MB / 3.278 GB, free: 122.1 MB / 1.904 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.06838/4.05, allocations: 68.12 MB / 3.345 GB, free: 86.46 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0229/4.073, allocations: 20.02 MB / 3.364 GB, free: 66.82 MB / 1.904 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04026/4.113, allocations: 20.99 MB / 3.385 GB, free: 47.44 MB / 1.904 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01988/4.133, allocations: 14.75 MB / 3.399 GB, free: 33.62 MB / 1.904 GB Notification: Performance of NFPackage.collectConstants: time 0.007148/4.14, allocations: 2.977 MB / 3.402 GB, free: 30.64 MB / 1.904 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03478/4.175, allocations: 18.6 MB / 3.42 GB, free: 13.64 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.007762/4.183, allocations: 7.012 MB / 3.427 GB, free: 6.742 MB / 1.904 GB Notification: Performance of NFVerifyModel.verify: time 0.02123/4.204, allocations: 13.26 MB / 3.44 GB, free: 9.551 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0748/4.279, allocations: 48.18 MB / 3.487 GB, free: 10.67 MB / 1.967 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/4.279, allocations: 0 / 3.487 GB, free: 10.67 MB / 1.967 GB Notification: Performance of FrontEnd: time 1.844e-06/4.279, allocations: 4 kB / 3.487 GB, free: 10.67 MB / 1.967 GB Notification: Performance of Transformations before backend: time 0.0008751/4.28, allocations: 0 / 3.487 GB, free: 10.67 MB / 1.967 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.06008/4.34, allocations: 24.86 MB / 3.512 GB, free: 1.844 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/4.34, allocations: 12.03 kB / 3.512 GB, free: 1.832 MB / 1.982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004675/4.345, allocations: 1.617 MB / 3.513 GB, free: 212 kB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05973/4.404, allocations: 9.147 MB / 3.522 GB, free: 7.066 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05241/4.457, allocations: 28.18 MB / 3.55 GB, free: 11.36 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/4.458, allocations: 1.127 MB / 3.551 GB, free: 10.21 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003812/4.462, allocations: 1.338 MB / 3.552 GB, free: 8.883 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04634/4.508, allocations: 18.88 MB / 3.57 GB, free: 5.77 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/4.508, allocations: 19.83 kB / 3.57 GB, free: 5.75 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/4.51, allocations: 0.5111 MB / 3.571 GB, free: 5.242 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/4.51, allocations: 484.7 kB / 3.571 GB, free: 4.766 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0526/4.563, allocations: 19.48 MB / 3.59 GB, free: 1.277 MB / 2.061 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.1427/4.706, allocations: 85.47 MB / 3.674 GB, free: 9.473 MB / 2.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03017/4.736, allocations: 13.59 MB / 3.687 GB, free: 11.85 MB / 2.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01873/4.755, allocations: 7.978 MB / 3.695 GB, free: 3.867 MB / 2.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6026/5.357, allocations: 38.31 MB / 3.732 GB, free: 1.093 GB / 2.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01725/5.375, allocations: 7.956 MB / 3.74 GB, free: 1.09 GB / 2.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005717/5.38, allocations: 0.9148 MB / 3.741 GB, free: 1.09 GB / 2.17 GB Notification: Performance of pre-optimization done (n=864): time 2.592e-05/5.38, allocations: 0 / 3.741 GB, free: 1.09 GB / 2.17 GB Notification: Performance of matching and sorting (n=888): time 0.1039/5.484, allocations: 41.27 MB / 3.781 GB, free: 1.074 GB / 2.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/5.484, allocations: 0.5838 MB / 3.782 GB, free: 1.074 GB / 2.17 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.0243/5.509, allocations: 17.41 MB / 3.799 GB, free: 1.067 GB / 2.17 GB Notification: Performance of collectPreVariables (initialization): time 0.00219/5.511, allocations: 242.7 kB / 3.799 GB, free: 1.067 GB / 2.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.006338/5.517, allocations: 8.624 MB / 3.808 GB, free: 1.06 GB / 2.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.003308/5.521, allocations: 3.16 MB / 3.811 GB, free: 1.057 GB / 2.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004977/5.526, allocations: 2.876 MB / 3.813 GB, free: 1.055 GB / 2.17 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/5.526, allocations: 305.1 kB / 3.814 GB, free: 1.055 GB / 2.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01737/5.543, allocations: 8.661 MB / 3.822 GB, free: 1.051 GB / 2.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02078/5.564, allocations: 11.62 MB / 3.834 GB, free: 1.043 GB / 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.2084/5.772, allocations: 70.98 MB / 3.903 GB, free: 0.9756 GB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/5.772, allocations: 20 kB / 3.903 GB, free: 0.9755 GB / 2.17 GB Notification: Performance of matching and sorting (n=1650) (initialization): time 0.05325/5.826, allocations: 23.89 MB / 3.926 GB, free: 0.9521 GB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/5.826, allocations: 297 kB / 3.927 GB, free: 0.9517 GB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.059e-05/5.826, allocations: 60 kB / 3.927 GB, free: 0.9517 GB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006203/5.832, allocations: 2.549 MB / 3.929 GB, free: 0.9492 GB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01761/5.85, allocations: 3.581 MB / 3.933 GB, free: 0.9457 GB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4189/6.268, allocations: 26.11 MB / 3.958 GB, free: 0.9186 GB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03259/6.301, allocations: 1.591 MB / 3.96 GB, free: 0.917 GB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003733/6.305, allocations: 0.6948 MB / 3.96 GB, free: 0.9164 GB / 2.17 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.02634/6.331, allocations: 12.35 MB / 3.972 GB, free: 0.9043 GB / 2.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01831/6.35, allocations: 11.29 MB / 3.983 GB, free: 0.8922 GB / 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_lambda0): time 0.1928/6.542, allocations: 69.14 MB / 4.051 GB, free: 0.8237 GB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.956e-05/6.542, allocations: 20 kB / 4.051 GB, free: 0.8236 GB / 2.17 GB Notification: Performance of matching and sorting (n=1650) (initialization_lambda0): time 0.04789/6.59, allocations: 23.34 MB / 4.074 GB, free: 0.8007 GB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/6.59, allocations: 301.6 kB / 4.074 GB, free: 0.8004 GB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-05/6.591, allocations: 63.98 kB / 4.074 GB, free: 0.8003 GB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006066/6.597, allocations: 2.468 MB / 4.076 GB, free: 0.7979 GB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01913/6.616, allocations: 3.553 MB / 4.08 GB, free: 0.7944 GB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04199/6.658, allocations: 32.57 MB / 4.112 GB, free: 0.7608 GB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02345/6.681, allocations: 1.655 MB / 4.113 GB, free: 0.7592 GB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002783/6.684, allocations: 0.679 MB / 4.114 GB, free: 0.7585 GB / 2.17 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.002829/6.687, allocations: 1.205 MB / 4.115 GB, free: 0.7573 GB / 2.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0044/6.691, allocations: 1.766 MB / 4.117 GB, free: 0.7556 GB / 2.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04089/6.732, allocations: 17.29 MB / 4.134 GB, free: 0.7386 GB / 2.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/6.732, allocations: 99.98 kB / 4.134 GB, free: 0.7386 GB / 2.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/6.732, allocations: 4 kB / 4.134 GB, free: 0.7385 GB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03729/6.77, allocations: 14.26 MB / 4.148 GB, free: 0.7244 GB / 2.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07575/6.845, allocations: 43.9 MB / 4.191 GB, free: 0.6813 GB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.395e-05/6.845, allocations: 20 kB / 4.191 GB, free: 0.6812 GB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01168/6.857, allocations: 2.13 MB / 4.193 GB, free: 0.6792 GB / 2.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/6.86, allocations: 1.041 MB / 4.194 GB, free: 0.6781 GB / 2.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002105/6.862, allocations: 323.8 kB / 4.194 GB, free: 0.6778 GB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/6.869, allocations: 9.88 MB / 4.204 GB, free: 0.6675 GB / 2.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/6.869, allocations: 31.88 kB / 4.204 GB, free: 0.6674 GB / 2.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05632/6.925, allocations: 26.21 MB / 4.229 GB, free: 0.6413 GB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009189/6.934, allocations: 4.038 MB / 4.233 GB, free: 0.6374 GB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005466/6.94, allocations: 231.9 kB / 4.234 GB, free: 0.6372 GB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01567/6.956, allocations: 1.04 MB / 4.235 GB, free: 0.6361 GB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/6.957, allocations: 0.638 MB / 4.235 GB, free: 0.6355 GB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001647/6.959, allocations: 491.5 kB / 4.236 GB, free: 0.635 GB / 2.17 GB Notification: Performance of sorting global known variables: time 0.01764/6.977, allocations: 11.78 MB / 4.247 GB, free: 0.6236 GB / 2.17 GB Notification: Performance of sort global known variables: time 6.81e-07/6.977, allocations: 0 / 4.247 GB, free: 0.6236 GB / 2.17 GB Notification: Performance of remove unused functions: time 0.027/7.004, allocations: 8.039 MB / 4.255 GB, free: 0.6158 GB / 2.17 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.05531/7.059, allocations: 29.49 MB / 4.284 GB, free: 0.5868 GB / 2.17 GB Notification: Performance of simCode: created initialization part: time 0.06936/7.128, allocations: 32.67 MB / 4.316 GB, free: 0.5546 GB / 2.17 GB Notification: Performance of simCode: created event and clocks part: time 2.33e-05/7.128, allocations: 9.875 kB / 4.316 GB, free: 0.5546 GB / 2.17 GB Notification: Performance of simCode: created simulation system equations: time 0.01605/7.144, allocations: 8.352 MB / 4.324 GB, free: 0.5462 GB / 2.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03674/7.181, allocations: 9.324 MB / 4.333 GB, free: 0.5375 GB / 2.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3114/7.493, allocations: 153.9 MB / 4.483 GB, free: 393.5 MB / 2.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008972/7.502, allocations: 8.281 MB / 4.491 GB, free: 385.2 MB / 2.17 GB Notification: Performance of simCode: alias equations: time 0.02164/7.523, allocations: 4.742 MB / 4.496 GB, free: 380.6 MB / 2.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01334/7.537, allocations: 8.864 MB / 4.505 GB, free: 371.7 MB / 2.17 GB Notification: Performance of SimCode: time 5.91e-07/7.537, allocations: 0 / 4.505 GB, free: 371.7 MB / 2.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.241/14.78, allocations: 0.5213 GB / 5.026 GB, free: 0.9998 GB / 2.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 82.09/96.87, allocations: 10.44 kB / 5.026 GB, free: 0.9998 GB / 2.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.fmu > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe 2>&1)