Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 98.88 kB / 16.02 MB, free: 76 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.00172/0.00172, allocations: 181.9 kB / 16.92 MB, free: 6.684 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.497/1.497, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 11.98 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8585, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 4.694/5.552, allocations: 1.861 GB / 2.885 GB, free: 5.688 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 1.486/7.038, allocations: 197.5 MB / 3.078 GB, free: 85.71 MB / 1.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06052/7.098, allocations: 0.8797 MB / 3.079 GB, free: 85.71 MB / 1.592 GB Notification: Performance of NFTyping.typeComponents: time 0.06112/7.16, allocations: 25.29 MB / 3.103 GB, free: 85.32 MB / 1.592 GB Notification: Performance of NFTyping.typeBindings: time 0.1167/7.276, allocations: 34.13 MB / 3.137 GB, free: 83.96 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.06552/7.342, allocations: 20.94 MB / 3.157 GB, free: 82.06 MB / 1.592 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.005287536717937152, 0.0105750734358743, 0.01440397933507017}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.00549090351478091, 0.01098180702956182, 0.01495797854026524}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1346/7.476, allocations: 98.78 MB / 3.254 GB, free: 40.22 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05375/7.53, allocations: 19.97 MB / 3.273 GB, free: 20.96 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06297/7.593, allocations: 19.96 MB / 3.293 GB, free: 4.477 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04445/7.638, allocations: 17.25 MB / 3.309 GB, free: 5.168 MB / 1.607 GB Notification: Performance of NFPackage.collectConstants: time 0.01201/7.65, allocations: 0.9453 MB / 3.31 GB, free: 4.223 MB / 1.607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07096/7.721, allocations: 23.72 MB / 3.333 GB, free: 14.82 MB / 1.639 GB Notification: Performance of NFScalarize.scalarize: time 0.0156/7.736, allocations: 5.976 MB / 3.339 GB, free: 8.992 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.04002/7.777, allocations: 13.81 MB / 3.353 GB, free: 11.23 MB / 1.654 GB Notification: Performance of NFConvertDAE.convert: time 0.08154/7.858, allocations: 50.66 MB / 3.402 GB, free: 10.04 MB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/7.858, allocations: 4 kB / 3.402 GB, free: 10.03 MB / 1.701 GB Notification: Performance of FrontEnd: time 3.687e-06/7.858, allocations: 0 / 3.402 GB, free: 10.03 MB / 1.701 GB Notification: Performance of Transformations before backend: time 0.001828/7.86, allocations: 0 / 3.402 GB, free: 10.03 MB / 1.701 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4288 * Number of variables: 4288 Notification: Performance of Generate backend data structure: time 0.08298/7.943, allocations: 25.15 MB / 3.427 GB, free: 0.7852 MB / 1.717 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/7.943, allocations: 12.03 kB / 3.427 GB, free: 0.7734 MB / 1.717 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0942/8.037, allocations: 13.73 MB / 3.44 GB, free: 3.047 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07408/8.111, allocations: 28.31 MB / 3.468 GB, free: 7.129 MB / 1.764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003041/8.115, allocations: 1.599 MB / 3.469 GB, free: 5.5 MB / 1.764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01065/8.125, allocations: 1.774 MB / 3.471 GB, free: 3.734 MB / 1.764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09499/8.22, allocations: 25.92 MB / 3.497 GB, free: 9.535 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007415/8.221, allocations: 19.88 kB / 3.497 GB, free: 9.516 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006518/8.228, allocations: 0.6754 MB / 3.497 GB, free: 8.848 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006943/8.228, allocations: 0.6492 MB / 3.498 GB, free: 8.191 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09439/8.323, allocations: 27.85 MB / 3.525 GB, free: 12.31 MB / 1.826 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 1.735/10.06, allocations: 115 MB / 3.637 GB, free: 0.9123 GB / 1.858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0454/10.1, allocations: 18.46 MB / 3.655 GB, free: 0.9044 GB / 1.858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03142/10.13, allocations: 11.09 MB / 3.666 GB, free: 0.9003 GB / 1.858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1291/10.26, allocations: 52.7 MB / 3.718 GB, free: 0.8591 GB / 1.858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0378/10.3, allocations: 11 MB / 3.728 GB, free: 0.8531 GB / 1.858 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01892/10.32, allocations: 1.578 MB / 3.73 GB, free: 0.8521 GB / 1.858 GB Notification: Performance of pre-optimization done (n=1143): time 5.835e-05/10.32, allocations: 0 / 3.73 GB, free: 0.8521 GB / 1.858 GB Notification: Performance of matching and sorting (n=1177): time 0.2362/10.56, allocations: 59.89 MB / 3.788 GB, free: 0.8106 GB / 1.858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003488/10.56, allocations: 0.7614 MB / 3.789 GB, free: 0.8097 GB / 1.858 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loaOpe.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.0-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.0-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.06648/10.62, allocations: 22.55 MB / 3.811 GB, free: 0.7878 GB / 1.858 GB Notification: Performance of collectPreVariables (initialization): time 0.005069/10.63, allocations: 317.3 kB / 3.811 GB, free: 0.7875 GB / 1.858 GB Notification: Performance of collectInitialEqns (initialization): time 0.01455/10.64, allocations: 11.13 MB / 3.822 GB, free: 0.7767 GB / 1.858 GB Notification: Performance of collectInitialBindings (initialization): time 0.00764/10.65, allocations: 4.006 MB / 3.826 GB, free: 0.7728 GB / 1.858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006507/10.66, allocations: 1.515 MB / 3.828 GB, free: 0.7713 GB / 1.858 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/10.66, allocations: 309 kB / 3.828 GB, free: 0.771 GB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0349/10.69, allocations: 11.93 MB / 3.84 GB, free: 0.7595 GB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04033/10.73, allocations: 15.85 MB / 3.855 GB, free: 0.7428 GB / 1.858 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.3358/11.07, allocations: 93.62 MB / 3.947 GB, free: 0.6502 GB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001621/11.07, allocations: 20 kB / 3.947 GB, free: 0.6502 GB / 1.858 GB Notification: Performance of matching and sorting (n=2182) (initialization): time 0.1145/11.18, allocations: 32.81 MB / 3.979 GB, free: 0.618 GB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.001811/11.19, allocations: 2.805 MB / 3.981 GB, free: 0.6141 GB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/11.19, allocations: 76 kB / 3.981 GB, free: 0.6141 GB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/11.2, allocations: 3.629 MB / 3.985 GB, free: 0.6105 GB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03056/11.23, allocations: 5.075 MB / 3.99 GB, free: 0.6055 GB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03502/11.26, allocations: 39.34 MB / 4.028 GB, free: 0.5647 GB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04153/11.3, allocations: 3.246 MB / 4.032 GB, free: 0.5615 GB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006397/11.31, allocations: 0.9253 MB / 4.032 GB, free: 0.5606 GB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/11.31, allocations: 4 kB / 4.032 GB, free: 0.5606 GB / 1.858 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1034/11.41, allocations: 30.24 MB / 4.062 GB, free: 0.5309 GB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002868/11.41, allocations: 72 kB / 4.062 GB, free: 0.5309 GB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/11.43, allocations: 3.572 MB / 4.066 GB, free: 0.5273 GB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03021/11.46, allocations: 5.012 MB / 4.07 GB, free: 0.5224 GB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04542/11.5, allocations: 44.3 MB / 4.114 GB, free: 488 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03722/11.54, allocations: 2.913 MB / 4.117 GB, free: 485.1 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006056/11.55, allocations: 0.9211 MB / 4.117 GB, free: 484.2 MB / 1.858 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization sytem: 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 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 113 (loaOpe.loa.ctl.cha.down,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.y,loaOpe.loa.ctl.cha.u,$PRE.loaOpe.loa.ctl.cha.u,$whenCondition14,$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,loaOpe.loa.coi.flowRegime_nominal,loaOpe.loa.coi.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coi.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coi.dryWetCalcs.cfg,loaOpe.loa.coi.flowRegime,loaOpe.loa.coiNom.flowRegime_nominal,loaOpe.loa.coiNom.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coiNom.dryWetCalcs.cfg,loaOpe.loa.coiNom.flowRegime,loaOpe.loa.coiNom.UAFroRated.isFulWet,loaOpe.loa.coiNom.UAFroRated.isFulDry,loaOpe.loa.coi.UAFroRated.isFulWet,loaOpe.loa.coi.UAFroRated.isFulDry,loaOpe.loa.ctl.isDis.y,loaOpe.loa.ctl.addPar.y,loaOpe.loa.addPar.y,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 (1981): * Single equations (assignments): 1922 * Array equations: 14 * Algorithm blocks: 13 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 23 * 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): 7 systems {1, 1, 1, 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): 23 systems {(1,2), (1,2), (6,20), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (1,4), (1,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.02283/11.57, allocations: 6.393 MB / 4.124 GB, free: 477.7 MB / 1.858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00996/11.58, allocations: 2.195 MB / 4.126 GB, free: 475.5 MB / 1.858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08614/11.66, allocations: 24.47 MB / 4.15 GB, free: 451 MB / 1.858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002378/11.66, allocations: 140 kB / 4.15 GB, free: 450.8 MB / 1.858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-05/11.66, allocations: 0 / 4.15 GB, free: 450.8 MB / 1.858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06777/11.73, allocations: 20.56 MB / 4.17 GB, free: 430 MB / 1.858 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 postOpt removeSimpleEquations (simulation): time 0.1535/11.89, allocations: 64.09 MB / 4.232 GB, free: 365.4 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001787/11.89, allocations: 28 kB / 4.233 GB, free: 365.3 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0188/11.9, allocations: 2.989 MB / 4.235 GB, free: 362.3 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006136/11.91, allocations: 1.58 MB / 4.237 GB, free: 360.7 MB / 1.858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004094/11.92, allocations: 439.6 kB / 4.237 GB, free: 360.3 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/11.93, allocations: 16.43 MB / 4.253 GB, free: 342.7 MB / 1.858 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.821e-05/11.93, allocations: 43.81 kB / 4.253 GB, free: 342.6 MB / 1.858 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.113/12.04, allocations: 36.95 MB / 4.29 GB, free: 304.7 MB / 1.858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01993/12.06, allocations: 5.715 MB / 4.295 GB, free: 299 MB / 1.858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01135/12.07, allocations: 311.9 kB / 4.295 GB, free: 298.7 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03031/12.1, allocations: 2.105 MB / 4.298 GB, free: 296.6 MB / 1.858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004057/12.11, allocations: 0.8545 MB / 4.298 GB, free: 295.7 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004528/12.11, allocations: 0.6517 MB / 4.299 GB, free: 295.1 MB / 1.858 GB Notification: Performance of sorting global known variables: time 0.04314/12.16, allocations: 15.32 MB / 4.314 GB, free: 279.8 MB / 1.858 GB Notification: Performance of sort global known variables: time 5.21e-07/12.16, allocations: 4 kB / 4.314 GB, free: 279.8 MB / 1.858 GB Notification: Performance of remove unused functions: time 0.0741/12.23, allocations: 10.78 MB / 4.324 GB, free: 269.2 MB / 1.858 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 60 (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,loaOpe.loa.TAirLvg.T,loaOpe.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.ctl.conPID.I.y,loaOpe.loa.coiNom.heaCoo.vol.dynBal.U,loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.TLiqEnt.T,loaOpe.loa.TLiqLvg.T,loaOpe.loa.TAirLvgNom.T) * Number of discrete variables: 56 (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,loaOpe.loa.ctl.cha.y,$whenCondition14,loaOpe.loa.ctl.cha.u,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.down) * Number of discrete states: 8 (loaOpe.loa.ctl.cha.u,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 (1228): * Single equations (assignments): 1159 * Array equations: 0 * Algorithm blocks: 13 * Record equations: 37 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 14 * 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): 1 system {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): 14 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (6,22), (1,4), (1,1), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/12.24, allocations: 4.135 MB / 4.329 GB, free: 265.6 MB / 1.858 GB Notification: Performance of simCode: created initialization part: time 0.1388/12.38, allocations: 45.28 MB / 4.373 GB, free: 219.8 MB / 1.858 GB Notification: Performance of simCode: created event and clocks part: time 4.78e-05/12.38, allocations: 13.66 kB / 4.373 GB, free: 219.7 MB / 1.858 GB Notification: Performance of simCode: created simulation system equations: time 0.03472/12.42, allocations: 12.6 MB / 4.385 GB, free: 206.9 MB / 1.858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2062/12.62, allocations: 13.03 MB / 4.398 GB, free: 194.1 MB / 1.858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1299/12.75, allocations: 59.46 MB / 4.456 GB, free: 134.2 MB / 1.858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02201/12.77, allocations: 10.52 MB / 4.466 GB, free: 123.6 MB / 1.858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01619/12.79, allocations: 2.194 MB / 4.468 GB, free: 121.4 MB / 1.858 GB Notification: Performance of SimCode: time 1.162e-06/12.79, allocations: 3.938 kB / 4.468 GB, free: 121.4 MB / 1.858 GB Notification: Performance of Templates: time 6.951/19.74, allocations: 3.356 GB / 7.824 GB, free: 363.3 MB / 1.858 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16112:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16114:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16116:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16118:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16120:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16122:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o] Error 1