Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InjectionTwoWayVariable,fileNamePrefix="Buildings_11_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayVariable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable,fileNamePrefix="Buildings_11_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayVariable",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.006902/0.006902, allocations: 100.8 kB / 15.73 MB, free: 6.066 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.001571/0.001571, allocations: 196.5 kB / 16.68 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7425 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.89 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7774, allocations: 159.1 MB / 1.22 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable): time 3.113/3.89, allocations: 1.644 GB / 2.864 GB, free: 4.184 MB / 1.889 GB Notification: Performance of NFInst.instExpressions: time 1.022/4.912, allocations: 159.2 MB / 3.02 GB, free: 308.3 MB / 1.967 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02874/4.941, allocations: 0.7975 MB / 3.021 GB, free: 308.3 MB / 1.967 GB Notification: Performance of NFTyping.typeComponents: time 0.02331/4.964, allocations: 10.05 MB / 3.03 GB, free: 308.3 MB / 1.967 GB Notification: Performance of NFTyping.typeBindings: time 0.06524/5.029, allocations: 28.16 MB / 3.058 GB, free: 307.3 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.03796/5.067, allocations: 17.29 MB / 3.075 GB, free: 306.9 MB / 1.967 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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. Notification: Performance of NFFlatten.flatten: time 0.07911/5.147, allocations: 67.56 MB / 3.141 GB, free: 306.6 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03333/5.18, allocations: 20.06 MB / 3.16 GB, free: 304.4 MB / 1.967 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04137/5.221, allocations: 19.76 MB / 3.18 GB, free: 301.3 MB / 1.967 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02683/5.248, allocations: 14.94 MB / 3.194 GB, free: 293.7 MB / 1.967 GB Notification: Performance of NFPackage.collectConstants: time 0.008892/5.257, allocations: 2.987 MB / 3.197 GB, free: 293.7 MB / 1.967 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03935/5.296, allocations: 18.66 MB / 3.215 GB, free: 287 MB / 1.967 GB Notification: Performance of NFScalarize.scalarize: time 0.009498/5.306, allocations: 7.054 MB / 3.222 GB, free: 281.7 MB / 1.967 GB Notification: Performance of NFVerifyModel.verify: time 0.0236/5.33, allocations: 13.27 MB / 3.235 GB, free: 269 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.0633/5.393, allocations: 48.29 MB / 3.282 GB, free: 222.3 MB / 1.967 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/5.393, allocations: 7.922 kB / 3.282 GB, free: 222.3 MB / 1.967 GB Notification: Performance of FrontEnd: time 1.613e-06/5.393, allocations: 0 / 3.282 GB, free: 222.3 MB / 1.967 GB Notification: Performance of Transformations before backend: time 0.0009826/5.394, allocations: 0 / 3.282 GB, free: 222.3 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: 3242 * Number of variables: 3242 Notification: Performance of Generate backend data structure: time 0.05568/5.45, allocations: 24.9 MB / 3.307 GB, free: 197.6 MB / 1.967 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/5.45, allocations: 8.625 kB / 3.307 GB, free: 197.5 MB / 1.967 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005026/5.455, allocations: 1.629 MB / 3.308 GB, free: 195.9 MB / 1.967 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06086/5.516, allocations: 9.155 MB / 3.317 GB, free: 186.8 MB / 1.967 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04666/5.562, allocations: 28.19 MB / 3.345 GB, free: 159.4 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009305/5.563, allocations: 1.127 MB / 3.346 GB, free: 158.3 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004328/5.568, allocations: 1.346 MB / 3.347 GB, free: 156.9 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04685/5.615, allocations: 18.91 MB / 3.366 GB, free: 137.8 MB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004725/5.615, allocations: 17.77 kB / 3.366 GB, free: 137.8 MB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003396/5.618, allocations: 0.51 MB / 3.366 GB, free: 137.3 MB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/5.619, allocations: 0.4943 MB / 3.367 GB, free: 136.8 MB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05281/5.672, allocations: 19.55 MB / 3.386 GB, free: 117.3 MB / 1.967 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.1324/5.804, allocations: 85.15 MB / 3.469 GB, free: 30.66 MB / 1.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02823/5.832, allocations: 13.67 MB / 3.482 GB, free: 17 MB / 1.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01768/5.85, allocations: 7.952 MB / 3.49 GB, free: 9.039 MB / 1.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07232/5.922, allocations: 38.46 MB / 3.528 GB, free: 2.004 MB / 1.998 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02259/5.945, allocations: 7.959 MB / 3.535 GB, free: 10.01 MB / 2.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008289/5.953, allocations: 0.9133 MB / 3.536 GB, free: 9.098 MB / 2.014 GB Notification: Performance of pre-optimization done (n=869): time 2.909e-05/5.953, allocations: 0 / 3.536 GB, free: 9.098 MB / 2.014 GB Notification: Performance of matching and sorting (n=893): time 0.1392/6.093, allocations: 40.71 MB / 3.576 GB, free: 220 kB / 2.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003632/6.093, allocations: 0.5736 MB / 3.577 GB, free: 15.52 MB / 2.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 11.1.0-maint.11.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.04025/6.133, allocations: 17.48 MB / 3.594 GB, free: 14.15 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.002538/6.136, allocations: 248.6 kB / 3.594 GB, free: 13.9 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01177/6.148, allocations: 8.641 MB / 3.602 GB, free: 5.281 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.00519/6.153, allocations: 3.183 MB / 3.605 GB, free: 2.141 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009124/6.162, allocations: 2.893 MB / 3.608 GB, free: 15.24 MB / 2.092 GB Notification: Performance of setup shared object (initialization): time 0.0001215/6.162, allocations: 301.1 kB / 3.609 GB, free: 14.95 MB / 2.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02447/6.187, allocations: 8.644 MB / 3.617 GB, free: 6.285 MB / 2.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03078/6.217, allocations: 11.62 MB / 3.628 GB, free: 9.648 MB / 2.107 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.2631/6.481, allocations: 70.99 MB / 3.698 GB, free: 1.77 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.857e-05/6.481, allocations: 16 kB / 3.698 GB, free: 1.754 MB / 2.17 GB Notification: Performance of matching and sorting (n=1656) (initialization): time 1.19/7.67, allocations: 23.89 MB / 3.721 GB, free: 1.121 GB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/7.67, allocations: 298 kB / 3.721 GB, free: 1.121 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.374e-05/7.671, allocations: 58.3 kB / 3.721 GB, free: 1.121 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007843/7.678, allocations: 2.465 MB / 3.724 GB, free: 1.121 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02145/7.7, allocations: 3.637 MB / 3.727 GB, free: 1.121 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/7.721, allocations: 26.04 MB / 3.753 GB, free: 1.1 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.024/7.745, allocations: 1.582 MB / 3.754 GB, free: 1.1 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003286/7.748, allocations: 0.6987 MB / 3.755 GB, free: 1.1 GB / 2.186 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.02965/7.778, allocations: 12.38 MB / 3.767 GB, free: 1.095 GB / 2.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02747/7.805, allocations: 11.28 MB / 3.778 GB, free: 1.088 GB / 2.186 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.2529/8.058, allocations: 69.2 MB / 3.846 GB, free: 1.061 GB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-05/8.058, allocations: 16 kB / 3.846 GB, free: 1.061 GB / 2.186 GB Notification: Performance of matching and sorting (n=1656) (initialization_lambda0): time 0.06434/8.123, allocations: 23.33 MB / 3.868 GB, free: 1.04 GB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/8.123, allocations: 306.4 kB / 3.869 GB, free: 1.039 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.149e-05/8.123, allocations: 56 kB / 3.869 GB, free: 1.039 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007149/8.13, allocations: 2.454 MB / 3.871 GB, free: 1.037 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02022/8.15, allocations: 3.607 MB / 3.875 GB, free: 1.033 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02792/8.178, allocations: 32.39 MB / 3.906 GB, free: 1 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02439/8.203, allocations: 1.634 MB / 3.908 GB, free: 0.9987 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003428/8.206, allocations: 0.6783 MB / 3.909 GB, free: 0.9981 GB / 2.186 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 (1493): * Single equations (assignments): 1452 * 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,21), (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.005625/8.212, allocations: 1.209 MB / 3.91 GB, free: 0.9969 GB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006598/8.218, allocations: 1.773 MB / 3.911 GB, free: 0.9961 GB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05339/8.272, allocations: 17.42 MB / 3.929 GB, free: 0.9792 GB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001222/8.272, allocations: 99.98 kB / 3.929 GB, free: 0.9791 GB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/8.272, allocations: 7.938 kB / 3.929 GB, free: 0.9791 GB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0425/8.315, allocations: 14.37 MB / 3.943 GB, free: 0.9649 GB / 2.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0895/8.404, allocations: 44.01 MB / 3.986 GB, free: 0.9217 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001138/8.404, allocations: 28.14 kB / 3.986 GB, free: 0.9217 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.013/8.417, allocations: 2.126 MB / 3.988 GB, free: 0.9196 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003389/8.421, allocations: 1.003 MB / 3.989 GB, free: 0.9186 GB / 2.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002215/8.423, allocations: 323.8 kB / 3.989 GB, free: 0.9183 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/8.43, allocations: 9.806 MB / 3.999 GB, free: 0.9081 GB / 2.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/8.43, allocations: 35.81 kB / 3.999 GB, free: 0.908 GB / 2.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06589/8.496, allocations: 26.17 MB / 4.024 GB, free: 0.883 GB / 2.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00979/8.506, allocations: 4.066 MB / 4.028 GB, free: 0.879 GB / 2.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005832/8.512, allocations: 244 kB / 4.028 GB, free: 0.8788 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0173/8.529, allocations: 1.008 MB / 4.029 GB, free: 0.8778 GB / 2.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002412/8.531, allocations: 0.6498 MB / 4.03 GB, free: 0.8772 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002135/8.534, allocations: 491.5 kB / 4.03 GB, free: 0.8767 GB / 2.186 GB Notification: Performance of sorting global known variables: time 0.02274/8.556, allocations: 11.81 MB / 4.042 GB, free: 0.8653 GB / 2.186 GB Notification: Performance of sort global known variables: time 6.72e-07/8.556, allocations: 0 / 4.042 GB, free: 0.8653 GB / 2.186 GB Notification: Performance of remove unused functions: time 0.02975/8.586, allocations: 8.051 MB / 4.05 GB, free: 0.8576 GB / 2.186 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), (7,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06857/8.655, allocations: 29.46 MB / 4.079 GB, free: 0.8289 GB / 2.186 GB Notification: Performance of simCode: created initialization part: time 0.08037/8.735, allocations: 32.65 MB / 4.111 GB, free: 0.7967 GB / 2.186 GB Notification: Performance of simCode: created event and clocks part: time 2.469e-05/8.735, allocations: 9.875 kB / 4.111 GB, free: 0.7967 GB / 2.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01917/8.754, allocations: 8.352 MB / 4.119 GB, free: 0.7884 GB / 2.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04483/8.799, allocations: 9.265 MB / 4.128 GB, free: 0.7797 GB / 2.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3094/9.109, allocations: 154.1 MB / 4.278 GB, free: 0.6265 GB / 2.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009646/9.118, allocations: 8.348 MB / 4.286 GB, free: 0.6183 GB / 2.186 GB Notification: Performance of simCode: alias equations: time 0.02237/9.141, allocations: 4.803 MB / 4.291 GB, free: 0.6138 GB / 2.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0151/9.156, allocations: 8.946 MB / 4.3 GB, free: 0.605 GB / 2.186 GB Notification: Performance of SimCode: time 9.32e-07/9.156, allocations: 0 / 4.3 GB, free: 0.605 GB / 2.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6796/9.836, allocations: 0.5208 GB / 4.821 GB, free: 88.41 MB / 2.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 74.14/83.98, allocations: 14.47 kB / 4.821 GB, free: 88.4 MB / 2.186 GB (rm -f Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.pipe ; mkfifo Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.pipe >> ../files/Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayVariable.fmu > Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayVariable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.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_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable T2Set.y from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable con.val.y_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable con.val.y_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable pum.m_flow in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable pum.m_flow from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable con.pum.m_flow in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable con.pum.m_flow from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable con.res3.m_flow in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable con.res3.m_flow from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable mPum_flow_nominal in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable mPum_flow_nominal from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable con.mPum_flow_nominal in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable con.mPum_flow_nominal from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable fraLoa.y[1] in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable fraLoa.y[1] from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable fraLoa.y[2] in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable fraLoa.y[2] from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable loa.yLoa_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable loa.yLoa_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable loa1.yLoa_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable loa1.yLoa_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable loa.con.val.y_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable loa.con.val.y_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable loa1.con.val.y_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable loa1.con.val.y_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable dp1SetVal.y in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable dp1SetVal.y from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable dp1.p_rel in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable dp1.p_rel from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable dp2SetVal.y in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable dp2SetVal.y from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable dp2.p_rel in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable dp2.p_rel from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable pum.y_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable pum.y_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv failed! Error: Could not read variable con.pum.y_actual in file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_res.csv. Warning: Get data of variable con.pum.y_actual from file Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable_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