Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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.InjectionTwoWayConstantReturn,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01177/0.01177, allocations: 101.9 kB / 15.88 MB, free: 5.867 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.002411/0.002412, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.443/1.443, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.885/2.885, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 64.86 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3524, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn): time 2.944/3.297, allocations: 1.154 GB / 2.206 GB, free: 10.47 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 1.771/5.068, allocations: 196.7 MB / 2.398 GB, free: 42.56 MB / 1.607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06186/5.13, allocations: 0.9376 MB / 2.399 GB, free: 42.56 MB / 1.607 GB Notification: Performance of NFTyping.typeComponents: time 0.06488/5.195, allocations: 22.02 MB / 2.421 GB, free: 42.39 MB / 1.607 GB Notification: Performance of NFTyping.typeBindings: time 0.1074/5.302, allocations: 29.39 MB / 2.45 GB, free: 41.82 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.05937/5.362, allocations: 18.9 MB / 2.468 GB, free: 41.48 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.004758783046143437, 0.009517566092286874, 0.01296358140156316}[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.004941813163302818, 0.009883626326605636, 0.01346218068623871}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1567/5.519, allocations: 88.99 MB / 2.555 GB, free: 38.98 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0624/5.581, allocations: 18.27 MB / 2.573 GB, free: 33.26 MB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07304/5.654, allocations: 18.11 MB / 2.59 GB, free: 29.02 MB / 1.607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04435/5.699, allocations: 15.98 MB / 2.606 GB, free: 16.96 MB / 1.607 GB Notification: Performance of NFPackage.collectConstants: time 0.01323/5.712, allocations: 1.074 MB / 2.607 GB, free: 15.89 MB / 1.607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06725/5.779, allocations: 18.42 MB / 2.625 GB, free: 3.844 MB / 1.607 GB Notification: Performance of NFScalarize.scalarize: time 0.0154/5.795, allocations: 5.557 MB / 2.63 GB, free: 15.84 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.04149/5.836, allocations: 12.47 MB / 2.643 GB, free: 7.27 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.08152/5.918, allocations: 44.13 MB / 2.686 GB, free: 2.188 MB / 1.654 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/5.918, allocations: 0 / 2.686 GB, free: 2.188 MB / 1.654 GB Notification: Performance of FrontEnd: time 1.733e-06/5.918, allocations: 0 / 2.686 GB, free: 2.188 MB / 1.654 GB Notification: Performance of Transformations before backend: time 0.001613/5.919, allocations: 0 / 2.686 GB, free: 2.188 MB / 1.654 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3543 * Number of variables: 3543 Notification: Performance of Generate backend data structure: time 0.1094/6.029, allocations: 26.67 MB / 2.712 GB, free: 7.457 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/6.029, allocations: 12.03 kB / 2.712 GB, free: 7.445 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07183/6.101, allocations: 9.308 MB / 2.721 GB, free: 14.13 MB / 1.701 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07366/6.174, allocations: 25.74 MB / 2.746 GB, free: 4.758 MB / 1.717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00209/6.176, allocations: 1.241 MB / 2.747 GB, free: 3.496 MB / 1.717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008337/6.185, allocations: 1.467 MB / 2.749 GB, free: 2.035 MB / 1.717 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07772/6.263, allocations: 20.37 MB / 2.769 GB, free: 13.43 MB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007922/6.263, allocations: 23.86 kB / 2.769 GB, free: 13.41 MB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006945/6.27, allocations: 0.5629 MB / 2.769 GB, free: 12.85 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006272/6.271, allocations: 0.5358 MB / 2.77 GB, free: 12.32 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0766/6.348, allocations: 20.69 MB / 2.79 GB, free: 7.625 MB / 1.764 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.2356/6.583, allocations: 94.99 MB / 2.883 GB, free: 5.832 MB / 1.857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0412/6.625, allocations: 13.94 MB / 2.896 GB, free: 7.887 MB / 1.873 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0263/6.651, allocations: 8.173 MB / 2.904 GB, free: 15.71 MB / 1.889 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1141/6.765, allocations: 40.17 MB / 2.943 GB, free: 6.848 MB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.029/6.794, allocations: 8.129 MB / 2.951 GB, free: 14.69 MB / 1.936 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01595/6.81, allocations: 1.147 MB / 2.953 GB, free: 13.54 MB / 1.936 GB Notification: Performance of pre-optimization done (n=893): time 6.302e-05/6.81, allocations: 0 / 2.953 GB, free: 13.54 MB / 1.936 GB Notification: Performance of matching and sorting (n=917): time 0.1855/6.996, allocations: 42.16 MB / 2.994 GB, free: 3.172 MB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003402/6.996, allocations: 0.5314 MB / 2.994 GB, free: 2.535 MB / 1.967 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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06666/7.063, allocations: 19.05 MB / 3.013 GB, free: 15.61 MB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.004324/7.067, allocations: 249.7 kB / 3.013 GB, free: 15.36 MB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.02054/7.088, allocations: 9.642 MB / 3.022 GB, free: 5.766 MB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.008076/7.096, allocations: 3.14 MB / 3.026 GB, free: 2.652 MB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02002/7.116, allocations: 3.017 MB / 3.029 GB, free: 15.62 MB / 2.014 GB Notification: Performance of setup shared object (initialization): time 0.0001487/7.116, allocations: 301.1 kB / 3.029 GB, free: 15.33 MB / 2.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02946/7.146, allocations: 8.862 MB / 3.037 GB, free: 6.457 MB / 2.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03624/7.182, allocations: 12.11 MB / 3.049 GB, free: 9.156 MB / 2.029 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 1.202/8.384, allocations: 71.66 MB / 3.119 GB, free: 1.123 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/8.384, allocations: 23.47 kB / 3.119 GB, free: 1.123 GB / 2.076 GB Notification: Performance of matching and sorting (n=1741) (initialization): time 0.0992/8.483, allocations: 24.68 MB / 3.143 GB, free: 1.122 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004404/8.483, allocations: 280.6 kB / 3.144 GB, free: 1.122 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/8.484, allocations: 67.38 kB / 3.144 GB, free: 1.122 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009754/8.493, allocations: 2.594 MB / 3.146 GB, free: 1.121 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02505/8.519, allocations: 3.779 MB / 3.15 GB, free: 1.121 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02535/8.544, allocations: 24.81 MB / 3.174 GB, free: 1.101 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03676/8.581, allocations: 2.277 MB / 3.176 GB, free: 1.101 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006481/8.587, allocations: 0.7181 MB / 3.177 GB, free: 1.101 GB / 2.076 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.04858/8.636, allocations: 13.14 MB / 3.19 GB, free: 1.095 GB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0323/8.668, allocations: 11.78 MB / 3.201 GB, free: 1.088 GB / 2.076 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2594/8.928, allocations: 69.91 MB / 3.27 GB, free: 1.064 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001351/8.928, allocations: 19.98 kB / 3.27 GB, free: 1.064 GB / 2.076 GB Notification: Performance of matching and sorting (n=1741) (initialization_lambda0): time 0.08029/9.008, allocations: 24.16 MB / 3.293 GB, free: 1.041 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/9.009, allocations: 279.3 kB / 3.294 GB, free: 1.041 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/9.009, allocations: 64 kB / 3.294 GB, free: 1.041 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00792/9.017, allocations: 2.585 MB / 3.296 GB, free: 1.038 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02392/9.041, allocations: 3.736 MB / 3.3 GB, free: 1.034 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04144/9.082, allocations: 31.24 MB / 3.33 GB, free: 1.002 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03402/9.116, allocations: 2.3 MB / 3.333 GB, free: 1 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004956/9.121, allocations: 0.7026 MB / 3.333 GB, free: 0.9995 GB / 2.076 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: 303 * Number of states: 0 () * Number of discrete variables: 82 ($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.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],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,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 (1569): * Single equations (assignments): 1529 * Array equations: 10 * Algorithm blocks: 9 * 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,31), (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.008505/9.13, allocations: 1.231 MB / 3.334 GB, free: 0.9983 GB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009168/9.139, allocations: 1.851 MB / 3.336 GB, free: 0.9974 GB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06858/9.208, allocations: 17.86 MB / 3.354 GB, free: 0.9801 GB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001838/9.208, allocations: 111.9 kB / 3.354 GB, free: 0.98 GB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-05/9.208, allocations: 4 kB / 3.354 GB, free: 0.98 GB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05095/9.259, allocations: 14.56 MB / 3.368 GB, free: 0.9656 GB / 2.076 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.1328/9.392, allocations: 46.08 MB / 3.413 GB, free: 0.9204 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001929/9.392, allocations: 20.97 kB / 3.413 GB, free: 0.9204 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01498/9.407, allocations: 2.173 MB / 3.415 GB, free: 0.9183 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004252/9.411, allocations: 1.095 MB / 3.416 GB, free: 0.9172 GB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003402/9.415, allocations: 331.8 kB / 3.417 GB, free: 0.9169 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008441/9.423, allocations: 9.545 MB / 3.426 GB, free: 0.9069 GB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-05/9.423, allocations: 39.75 kB / 3.426 GB, free: 0.9069 GB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08504/9.508, allocations: 26.7 MB / 3.452 GB, free: 0.8805 GB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01816/9.526, allocations: 4.257 MB / 3.456 GB, free: 0.8763 GB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01122/9.538, allocations: 243.9 kB / 3.456 GB, free: 0.876 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02543/9.563, allocations: 1.551 MB / 3.458 GB, free: 0.8745 GB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003384/9.567, allocations: 0.6461 MB / 3.459 GB, free: 0.8739 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003806/9.57, allocations: 0.4956 MB / 3.459 GB, free: 0.8734 GB / 2.076 GB Notification: Performance of sorting global known variables: time 0.03943/9.61, allocations: 12.87 MB / 3.472 GB, free: 0.861 GB / 2.076 GB Notification: Performance of sort global known variables: time 1.383e-06/9.61, allocations: 0 / 3.472 GB, free: 0.861 GB / 2.076 GB Notification: Performance of remove unused functions: time 0.0627/9.673, allocations: 9.076 MB / 3.48 GB, free: 0.8523 GB / 2.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 53 (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.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,resT2.conPID.I.y) * Number of discrete variables: 44 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,$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) * Number of discrete states: 6 (fraLoa.tab.nextTimeEvent,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 (939): * Single equations (assignments): 892 * Array equations: 0 * Algorithm blocks: 9 * 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), (4,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01147/9.684, allocations: 3.482 MB / 3.484 GB, free: 0.8495 GB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.1027/9.787, allocations: 33.19 MB / 3.516 GB, free: 0.8168 GB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-05/9.787, allocations: 10.66 kB / 3.516 GB, free: 0.8168 GB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.02586/9.813, allocations: 8.911 MB / 3.525 GB, free: 0.8079 GB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07316/9.886, allocations: 9.838 MB / 3.535 GB, free: 0.7985 GB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1198/10.01, allocations: 48.53 MB / 3.582 GB, free: 0.7509 GB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02826/10.03, allocations: 9.11 MB / 3.591 GB, free: 0.7419 GB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01336/10.05, allocations: 1.596 MB / 3.592 GB, free: 0.7404 GB / 2.076 GB Notification: Performance of SimCode: time 1.723e-06/10.05, allocations: 0 / 3.592 GB, free: 0.7404 GB / 2.076 GB Notification: Performance of Templates: time 4.251/14.3, allocations: 1.949 GB / 5.541 GB, free: 1.083 GB / 2.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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.InjectionTwoWayConstantReturnCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12320: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.InjectionTwoWayConstantReturn.cpp:12322: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.InjectionTwoWayConstantReturn.cpp:12324: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.InjectionTwoWayConstantReturn.cpp:12326: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.InjectionTwoWayConstantReturn.cpp:12328: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.InjectionTwoWayConstantReturn.cpp:12330: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.InjectionTwoWayConstantReturnCalcHelperMain.o] Error 1