Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,fileNamePrefix="Buildings_10_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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 kB / 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: 193.2 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6445/0.6461, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 4.524/5.17, allocations: 1.825 GB / 2.842 GB, free: 11.1 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 1.491/6.661, allocations: 159.8 MB / 2.998 GB, free: 44.37 MB / 1.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05328/6.715, allocations: 0.7984 MB / 2.999 GB, free: 44.37 MB / 1.592 GB Notification: Performance of NFTyping.typeComponents: time 0.05298/6.768, allocations: 22.28 MB / 3.021 GB, free: 44.21 MB / 1.592 GB Notification: Performance of NFTyping.typeBindings: time 0.09913/6.867, allocations: 27.79 MB / 3.048 GB, free: 43.32 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.04985/6.917, allocations: 17.26 MB / 3.065 GB, free: 42.95 MB / 1.592 GB Notification: Performance of NFFlatten.flatten: time 0.1141/7.031, allocations: 67.1 MB / 3.13 GB, free: 42.67 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0638/7.095, allocations: 19.98 MB / 3.15 GB, free: 40.43 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05892/7.154, allocations: 19.6 MB / 3.169 GB, free: 40.27 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0408/7.195, allocations: 14.86 MB / 3.183 GB, free: 38.76 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.01871/7.213, allocations: 2.968 MB / 3.186 GB, free: 38.76 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0913/7.305, allocations: 18.6 MB / 3.204 GB, free: 38.55 MB / 1.592 GB Notification: Performance of NFScalarize.scalarize: time 0.02787/7.333, allocations: 7.031 MB / 3.211 GB, free: 34.57 MB / 1.592 GB Notification: Performance of NFVerifyModel.verify: time 0.04412/7.377, allocations: 13.27 MB / 3.224 GB, free: 25.78 MB / 1.592 GB Notification: Performance of NFConvertDAE.convert: time 0.09873/7.476, allocations: 47.6 MB / 3.271 GB, free: 1.203 MB / 1.607 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/7.476, allocations: 0 / 3.271 GB, free: 1.203 MB / 1.607 GB Notification: Performance of FrontEnd: time 3.486e-06/7.476, allocations: 0 / 3.271 GB, free: 1.203 MB / 1.607 GB Notification: Performance of Transformations before backend: time 0.001639/7.477, allocations: 4 kB / 3.271 GB, free: 1.199 MB / 1.607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3245 * Number of variables: 3245 Notification: Performance of Generate backend data structure: time 0.09925/7.577, allocations: 24.18 MB / 3.294 GB, free: 9.043 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 7.799e-05/7.577, allocations: 12.03 kB / 3.294 GB, free: 9.031 MB / 1.639 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008175/7.585, allocations: 1.622 MB / 3.296 GB, free: 7.402 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06521/7.65, allocations: 9.056 MB / 3.305 GB, free: 14.34 MB / 1.654 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06472/7.715, allocations: 27.27 MB / 3.331 GB, free: 3.914 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002106/7.717, allocations: 1.141 MB / 3.332 GB, free: 2.754 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00805/7.725, allocations: 1.351 MB / 3.334 GB, free: 1.41 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06601/7.791, allocations: 18.93 MB / 3.352 GB, free: 14.27 MB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007147/7.792, allocations: 13.06 kB / 3.352 GB, free: 14.27 MB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005554/7.798, allocations: 0.5132 MB / 3.353 GB, free: 13.76 MB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005884/7.798, allocations: 0.4955 MB / 3.353 GB, free: 13.26 MB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06762/7.866, allocations: 19.57 MB / 3.372 GB, free: 9.734 MB / 1.717 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.2001/8.066, allocations: 85.63 MB / 3.456 GB, free: 2.633 MB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04068/8.107, allocations: 13.66 MB / 3.469 GB, free: 4.953 MB / 1.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02601/8.133, allocations: 7.983 MB / 3.477 GB, free: 12.96 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1097/8.243, allocations: 38.49 MB / 3.515 GB, free: 5.934 MB / 1.857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02668/8.269, allocations: 7.976 MB / 3.522 GB, free: 13.92 MB / 1.873 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0126/8.282, allocations: 0.9057 MB / 3.523 GB, free: 13.01 MB / 1.873 GB Notification: Performance of pre-optimization done (n=874): time 7.776e-05/8.282, allocations: 3.984 kB / 3.523 GB, free: 13 MB / 1.873 GB Notification: Performance of matching and sorting (n=898): time 0.1708/8.453, allocations: 41.06 MB / 3.563 GB, free: 3.719 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003748/8.453, allocations: 0.5775 MB / 3.564 GB, free: 3.023 MB / 1.904 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 10.1.1-maint.10.0.x/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.05942/8.513, allocations: 17.42 MB / 3.581 GB, free: 1.703 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.004545/8.517, allocations: 245.7 kB / 3.581 GB, free: 1.457 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 1.346/9.864, allocations: 8.547 MB / 3.59 GB, free: 1.045 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.006726/9.87, allocations: 3.055 MB / 3.593 GB, free: 1.044 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01836/9.889, allocations: 2.89 MB / 3.595 GB, free: 1.043 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/9.889, allocations: 305.5 kB / 3.596 GB, free: 1.043 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02935/9.918, allocations: 8.681 MB / 3.604 GB, free: 1.039 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03293/9.951, allocations: 11.65 MB / 3.616 GB, free: 1.033 GB / 1.92 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.2541/10.21, allocations: 71.23 MB / 3.685 GB, free: 1.009 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001834/10.21, allocations: 16.25 kB / 3.685 GB, free: 1.009 GB / 1.92 GB Notification: Performance of matching and sorting (n=1665) (initialization): time 0.08181/10.29, allocations: 23.89 MB / 3.708 GB, free: 0.9876 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/10.29, allocations: 299.6 kB / 3.709 GB, free: 0.9873 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/10.29, allocations: 59.98 kB / 3.709 GB, free: 0.9872 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007418/10.3, allocations: 2.558 MB / 3.711 GB, free: 0.9847 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02201/10.32, allocations: 3.644 MB / 3.715 GB, free: 0.9812 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/10.34, allocations: 26.13 MB / 3.74 GB, free: 0.9542 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02735/10.37, allocations: 1.597 MB / 3.742 GB, free: 0.9528 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004852/10.37, allocations: 0.7045 MB / 3.743 GB, free: 0.9521 GB / 1.92 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.03578/10.41, allocations: 12.4 MB / 3.755 GB, free: 0.9401 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02828/10.43, allocations: 11.31 MB / 3.766 GB, free: 0.9281 GB / 1.92 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.237/10.67, allocations: 69.41 MB / 3.834 GB, free: 0.8599 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.639e-05/10.67, allocations: 20 kB / 3.834 GB, free: 0.8599 GB / 1.92 GB Notification: Performance of matching and sorting (n=1665) (initialization_lambda0): time 0.07336/10.75, allocations: 23.34 MB / 3.856 GB, free: 0.837 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/10.75, allocations: 295 kB / 3.857 GB, free: 0.8366 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-05/10.75, allocations: 56 kB / 3.857 GB, free: 0.8366 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007183/10.75, allocations: 2.475 MB / 3.859 GB, free: 0.8341 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02143/10.77, allocations: 3.619 MB / 3.863 GB, free: 0.8306 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03006/10.8, allocations: 32.58 MB / 3.894 GB, free: 0.797 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03008/10.83, allocations: 1.667 MB / 3.896 GB, free: 0.7954 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004145/10.84, allocations: 0.6827 MB / 3.897 GB, free: 0.7947 GB / 1.92 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 262 * Number of states: 0 () * Number of discrete variables: 90 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.ctlPum2.cha.u,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1497): * Single equations (assignments): 1456 * Array equations: 10 * Algorithm blocks: 10 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 15 systems {(1,2), (1,2), (5,26), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.006232/10.85, allocations: 1.204 MB / 3.898 GB, free: 0.7935 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006551/10.85, allocations: 1.69 MB / 3.9 GB, free: 0.7918 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05451/10.91, allocations: 17.39 MB / 3.917 GB, free: 0.7748 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001661/10.91, allocations: 104 kB / 3.917 GB, free: 0.7747 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/10.91, allocations: 7.938 kB / 3.917 GB, free: 0.7747 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04334/10.95, allocations: 14.32 MB / 3.931 GB, free: 0.7605 GB / 1.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09946/11.05, allocations: 44.11 MB / 3.974 GB, free: 0.7172 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.352e-05/11.05, allocations: 20 kB / 3.974 GB, free: 0.7171 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01288/11.06, allocations: 2.123 MB / 3.976 GB, free: 0.7151 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/11.07, allocations: 1.049 MB / 3.977 GB, free: 0.714 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002539/11.07, allocations: 327.8 kB / 3.977 GB, free: 0.7137 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007096/11.08, allocations: 9.895 MB / 3.987 GB, free: 0.7033 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/11.08, allocations: 31.88 kB / 3.987 GB, free: 0.7033 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06963/11.15, allocations: 26.25 MB / 4.013 GB, free: 0.6772 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01553/11.16, allocations: 3.974 MB / 4.016 GB, free: 0.6733 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009778/11.17, allocations: 236 kB / 4.017 GB, free: 0.673 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01836/11.19, allocations: 1.026 MB / 4.018 GB, free: 0.672 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002498/11.19, allocations: 0.642 MB / 4.018 GB, free: 0.6714 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00268/11.19, allocations: 499.5 kB / 4.019 GB, free: 0.6709 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.029/11.22, allocations: 11.77 MB / 4.03 GB, free: 0.6595 GB / 1.92 GB Notification: Performance of sort global known variables: time 6.62e-07/11.22, allocations: 0 / 4.03 GB, free: 0.6595 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.04032/11.26, allocations: 8.054 MB / 4.038 GB, free: 0.6518 GB / 1.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 50 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y) * Number of discrete variables: 51 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y) * Number of discrete states: 7 (fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (927): * Single equations (assignments): 879 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07625/11.34, allocations: 29.47 MB / 4.067 GB, free: 0.623 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.1684/11.51, allocations: 41.37 MB / 4.107 GB, free: 0.5824 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-05/11.51, allocations: 9.875 kB / 4.107 GB, free: 0.5824 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.02058/11.53, allocations: 8.362 MB / 4.115 GB, free: 0.5741 GB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04931/11.58, allocations: 9.324 MB / 4.125 GB, free: 0.5654 GB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.466/12.04, allocations: 284.5 MB / 4.402 GB, free: 279.8 MB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01841/12.06, allocations: 8.353 MB / 4.411 GB, free: 271.4 MB / 1.92 GB Notification: Performance of simCode: alias equations: time 0.03961/12.1, allocations: 4.815 MB / 4.415 GB, free: 266.7 MB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02249/12.12, allocations: 8.989 MB / 4.424 GB, free: 257.7 MB / 1.92 GB Notification: Performance of SimCode: time 1.243e-06/12.12, allocations: 0 / 4.424 GB, free: 257.7 MB / 1.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/14, allocations: 0.5236 GB / 4.948 GB, free: 0.8185 GB / 1.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.6/42.6, allocations: 14.12 kB / 4.948 GB, free: 0.8184 GB / 1.92 GB (rm -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; mkfifo Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe >> ../files/Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.fmu > Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable T2Set.y from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.val.y_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.val.y_actual from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable pum.m_flow in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable pum.m_flow from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.pum.m_flow in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.pum.m_flow from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.res3.m_flow in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.res3.m_flow from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable mPum_flow_nominal in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable mPum_flow_nominal from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.mPum_flow_nominal in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.mPum_flow_nominal from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable fraLoa.y[1] in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable fraLoa.y[1] from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable fraLoa.y[2] in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable fraLoa.y[2] from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa.yLoa_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa.yLoa_actual from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa1.yLoa_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa1.yLoa_actual from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa.con.val.y_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa.con.val.y_actual from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa1.con.val.y_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa1.con.val.y_actual from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp1SetVal.y in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp1SetVal.y from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp1.p_rel in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp1.p_rel from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp2SetVal.y in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp2SetVal.y from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp2.p_rel in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp2.p_rel from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable pum.y_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable pum.y_actual from file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.pum.y_actual in file Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.pum.y_actual from file Buildings_10_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