Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay,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|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay,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|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00709/0.007091, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.001516/0.001516, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.816/2.816, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.02 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.381, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay): time 3.068/3.449, allocations: 1.256 GB / 2.309 GB, free: 11.36 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 1.678/5.127, allocations: 210.9 MB / 2.515 GB, free: 69.98 MB / 1.607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07423/5.202, allocations: 1.01 MB / 2.516 GB, free: 69.98 MB / 1.607 GB Notification: Performance of NFTyping.typeComponents: time 0.06537/5.267, allocations: 22.41 MB / 2.538 GB, free: 69.63 MB / 1.607 GB Notification: Performance of NFTyping.typeBindings: time 0.116/5.383, allocations: 30.62 MB / 2.568 GB, free: 68.39 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0578/5.441, allocations: 19.86 MB / 2.587 GB, free: 62.38 MB / 1.607 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0004017734279107983, 0.0008035468558215966, 0.001094486234653554}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1319/5.573, allocations: 92.01 MB / 2.677 GB, free: 8.297 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04481/5.618, allocations: 18.6 MB / 2.695 GB, free: 5.844 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06572/5.683, allocations: 18.82 MB / 2.714 GB, free: 3.895 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04336/5.727, allocations: 16.48 MB / 2.73 GB, free: 4.637 MB / 1.654 GB Notification: Performance of NFPackage.collectConstants: time 0.01274/5.74, allocations: 1.086 MB / 2.731 GB, free: 3.551 MB / 1.654 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07515/5.815, allocations: 18.64 MB / 2.749 GB, free: 2.637 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01482/5.83, allocations: 5.677 MB / 2.755 GB, free: 13.09 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.04477/5.874, allocations: 12.76 MB / 2.767 GB, free: 400 kB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.07089/5.945, allocations: 45.31 MB / 2.811 GB, free: 4.328 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/5.945, allocations: 0 / 2.811 GB, free: 4.328 MB / 1.732 GB Notification: Performance of FrontEnd: time 2.304e-06/5.945, allocations: 0 / 2.811 GB, free: 4.328 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.001646/5.947, allocations: 4 kB / 2.811 GB, free: 4.324 MB / 1.732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3526 * Number of variables: 3526 Notification: Performance of Generate backend data structure: time 0.1026/6.05, allocations: 27.18 MB / 2.838 GB, free: 9.09 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/6.05, allocations: 8.031 kB / 2.838 GB, free: 9.082 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06641/6.116, allocations: 9.269 MB / 2.847 GB, free: 15.8 MB / 1.779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06361/6.18, allocations: 26.73 MB / 2.873 GB, free: 5.453 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002019/6.182, allocations: 1.233 MB / 2.874 GB, free: 4.203 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007826/6.19, allocations: 1.463 MB / 2.876 GB, free: 2.746 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07625/6.266, allocations: 20.38 MB / 2.896 GB, free: 14.14 MB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007513/6.267, allocations: 19.78 kB / 2.896 GB, free: 14.12 MB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006469/6.273, allocations: 0.5583 MB / 2.896 GB, free: 13.56 MB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005826/6.274, allocations: 0.5477 MB / 2.897 GB, free: 13.02 MB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06732/6.341, allocations: 20.64 MB / 2.917 GB, free: 8.363 MB / 1.842 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.204/6.545, allocations: 97.27 MB / 3.012 GB, free: 4.016 MB / 1.936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03455/6.58, allocations: 13.64 MB / 3.025 GB, free: 6.516 MB / 1.951 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02152/6.602, allocations: 8.028 MB / 3.033 GB, free: 14.48 MB / 1.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08683/6.688, allocations: 34.73 MB / 3.067 GB, free: 10.88 MB / 1.998 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02742/6.716, allocations: 8.128 MB / 3.075 GB, free: 2.703 MB / 1.998 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01596/6.732, allocations: 1.198 MB / 3.076 GB, free: 1.5 MB / 1.998 GB Notification: Performance of pre-optimization done (n=872): time 4.698e-05/6.732, allocations: 0 / 3.076 GB, free: 1.5 MB / 1.998 GB Notification: Performance of matching and sorting (n=896): time 1.114/7.846, allocations: 42.05 MB / 3.117 GB, free: 1.072 GB / 1.998 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003575/7.846, allocations: 462.1 kB / 3.117 GB, free: 1.071 GB / 1.998 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter 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.05339/7.899, allocations: 19.5 MB / 3.137 GB, free: 1.064 GB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.00395/7.903, allocations: 252.3 kB / 3.137 GB, free: 1.064 GB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.01519/7.919, allocations: 9.832 MB / 3.146 GB, free: 1.057 GB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.006647/7.925, allocations: 3.083 MB / 3.149 GB, free: 1.055 GB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01487/7.94, allocations: 3.023 MB / 3.152 GB, free: 1.053 GB / 1.998 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/7.94, allocations: 305.1 kB / 3.153 GB, free: 1.053 GB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02609/7.966, allocations: 8.812 MB / 3.161 GB, free: 1.05 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02945/7.996, allocations: 12.09 MB / 3.173 GB, free: 1.043 GB / 1.998 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.2555/8.251, allocations: 71.27 MB / 3.243 GB, free: 0.9991 GB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/8.252, allocations: 23.94 kB / 3.243 GB, free: 0.999 GB / 1.998 GB Notification: Performance of matching and sorting (n=1734) (initialization): time 0.08547/8.337, allocations: 24.64 MB / 3.267 GB, free: 0.9749 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003149/8.338, allocations: 251 kB / 3.267 GB, free: 0.9746 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/8.338, allocations: 68 kB / 3.267 GB, free: 0.9745 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008547/8.346, allocations: 2.613 MB / 3.27 GB, free: 0.972 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.023/8.369, allocations: 3.752 MB / 3.273 GB, free: 0.9683 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/8.392, allocations: 24.78 MB / 3.297 GB, free: 0.9426 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03415/8.426, allocations: 2.225 MB / 3.3 GB, free: 0.9404 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00551/8.432, allocations: 0.7143 MB / 3.3 GB, free: 0.9397 GB / 1.998 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.04087/8.473, allocations: 13.28 MB / 3.313 GB, free: 0.9267 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02799/8.501, allocations: 11.77 MB / 3.325 GB, free: 0.9141 GB / 1.998 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.2445/8.745, allocations: 69.73 MB / 3.393 GB, free: 0.8448 GB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000139/8.746, allocations: 24 kB / 3.393 GB, free: 0.8448 GB / 1.998 GB Notification: Performance of matching and sorting (n=1734) (initialization_lambda0): time 0.08542/8.831, allocations: 24.16 MB / 3.416 GB, free: 0.8211 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/8.831, allocations: 249.5 kB / 3.417 GB, free: 0.8208 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002987/8.832, allocations: 68 kB / 3.417 GB, free: 0.8208 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008864/8.84, allocations: 2.598 MB / 3.419 GB, free: 0.8182 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02532/8.866, allocations: 3.732 MB / 3.423 GB, free: 0.8145 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03478/8.901, allocations: 31.64 MB / 3.454 GB, free: 0.7819 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03318/8.934, allocations: 2.231 MB / 3.456 GB, free: 0.7798 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004914/8.939, allocations: 0.7025 MB / 3.457 GB, free: 0.7791 GB / 1.998 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: 309 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.setOff.tab.nextTimeEvent,$whenCondition8,$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.mode.idx,$PRE.mode.y[1],$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,isEna.y,setOff.tab.nextTimeEventScaled,$PRE.setOff.tab.nextTimeEventScaled,setOff.tab.nextTimeEvent,mode.idx,mode.y[1],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,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,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,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,$whenCondition9,$whenCondition10,$whenCondition11,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 (1561): * Single equations (assignments): 1522 * Array equations: 10 * Algorithm blocks: 8 * 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), (4,32), (5,2), (1,10), (1,2), (1,2), (1,2), (5,2), (5,2), (1,10), (1,2), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008551/8.947, allocations: 1.197 MB / 3.458 GB, free: 0.7779 GB / 1.998 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0108/8.958, allocations: 1.879 MB / 3.46 GB, free: 0.776 GB / 1.998 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06837/9.027, allocations: 17.87 MB / 3.477 GB, free: 0.7585 GB / 1.998 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001852/9.027, allocations: 95.98 kB / 3.477 GB, free: 0.7584 GB / 1.998 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.074e-05/9.027, allocations: 4 kB / 3.477 GB, free: 0.7584 GB / 1.998 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04964/9.077, allocations: 14.41 MB / 3.491 GB, free: 0.7443 GB / 1.998 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.1225/9.199, allocations: 46.75 MB / 3.537 GB, free: 0.6983 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001353/9.199, allocations: 27.98 kB / 3.537 GB, free: 0.6982 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0143/9.214, allocations: 2.162 MB / 3.539 GB, free: 0.6961 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/9.218, allocations: 1.1 MB / 3.54 GB, free: 0.695 GB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003201/9.221, allocations: 331.8 kB / 3.541 GB, free: 0.6947 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/9.229, allocations: 9.539 MB / 3.55 GB, free: 0.6847 GB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-05/9.229, allocations: 39.81 kB / 3.55 GB, free: 0.6847 GB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08421/9.313, allocations: 26.77 MB / 3.576 GB, free: 0.6581 GB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01912/9.332, allocations: 4.323 MB / 3.58 GB, free: 0.6538 GB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01215/9.345, allocations: 236 kB / 3.58 GB, free: 0.6536 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02806/9.373, allocations: 1.569 MB / 3.582 GB, free: 0.652 GB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003522/9.376, allocations: 0.6458 MB / 3.583 GB, free: 0.6514 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003871/9.38, allocations: 499.5 kB / 3.583 GB, free: 0.6509 GB / 1.998 GB Notification: Performance of sorting global known variables: time 0.04102/9.421, allocations: 13.13 MB / 3.596 GB, free: 0.6382 GB / 1.998 GB Notification: Performance of sort global known variables: time 8.32e-07/9.421, allocations: 0 / 3.596 GB, free: 0.6382 GB / 1.998 GB Notification: Performance of remove unused functions: time 0.07509/9.496, allocations: 9.28 MB / 3.605 GB, free: 0.6293 GB / 1.998 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * Number of states: 52 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.val.valEquLin.vol.dynBal.U,con.val.valEquLin.filter.s[1],con.val.valEquLin.filter.s[2],con.jun.vol.dynBal.U,con.junBypSup.vol.dynBal.U,con.junBypRet.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.T2Sup.T,con.ctl.conPID.I.y,con.T2Ret.T,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.valEquLin.vol.dynBal.U,loa.con.val.valEquLin.filter.s[1],loa.con.val.valEquLin.filter.s[2],loa.con.jun.vol.dynBal.U,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.valEquLin.vol.dynBal.U,loa1.con.val.valEquLin.filter.s[1],loa1.con.val.valEquLin.filter.s[2],loa1.con.jun.vol.dynBal.U) * Number of discrete variables: 39 (con.ctl.cha.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,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,mode.y[1],mode.idx,setOff.tab.nextTimeEvent,setOff.tab.nextTimeEventScaled,isEna.y) * Number of discrete states: 7 (setOff.tab.nextTimeEvent,fraLoa.tab.nextTimeEvent,setOff.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u,fraLoa.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (917): * Single equations (assignments): 869 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 25 * When equations: 6 * 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,2), (1,2), (1,2), (1,2), (4,34), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/9.509, allocations: 3.557 MB / 3.608 GB, free: 0.6264 GB / 1.998 GB Notification: Performance of simCode: created initialization part: time 0.1019/9.611, allocations: 33.03 MB / 3.641 GB, free: 0.5938 GB / 1.998 GB Notification: Performance of simCode: created event and clocks part: time 4.1e-05/9.611, allocations: 10.56 kB / 3.641 GB, free: 0.5938 GB / 1.998 GB Notification: Performance of simCode: created simulation system equations: time 0.02475/9.636, allocations: 8.877 MB / 3.649 GB, free: 0.585 GB / 1.998 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07776/9.714, allocations: 10.24 MB / 3.659 GB, free: 0.5752 GB / 1.998 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1178/9.832, allocations: 49.29 MB / 3.708 GB, free: 0.5267 GB / 1.998 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02403/9.856, allocations: 9.277 MB / 3.717 GB, free: 0.5176 GB / 1.998 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01343/9.869, allocations: 1.612 MB / 3.718 GB, free: 0.5161 GB / 1.998 GB Notification: Performance of SimCode: time 1.132e-06/9.869, allocations: 0 / 3.718 GB, free: 0.5161 GB / 1.998 GB Notification: Performance of Templates: time 4.379/14.25, allocations: 2.004 GB / 5.722 GB, free: 0.689 GB / 1.998 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12128: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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12130: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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12132: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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12134: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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12136: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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12138: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_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.o] Error 1