Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant,fileNamePrefix="Buildings_10_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant,fileNamePrefix="Buildings_10_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001095, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001165/0.001165, allocations: 191.1 kB / 16.25 MB, free: 6.637 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.89 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.644/0.6455, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant): time 2.183/2.829, allocations: 1.148 GB / 2.165 GB, free: 14 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 1.098/3.926, allocations: 194.6 MB / 2.355 GB, free: 38.79 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03591/3.962, allocations: 0.9397 MB / 2.356 GB, free: 38.79 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.04528/4.008, allocations: 23.05 MB / 2.379 GB, free: 38.75 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.07077/4.078, allocations: 29.69 MB / 2.408 GB, free: 38.18 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.03772/4.116, allocations: 19.15 MB / 2.426 GB, free: 37.77 MB / 1.576 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001488049733002956, 0.002976099466005913, 0.004053652720939088}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.08764/4.204, allocations: 77.22 MB / 2.502 GB, free: 37.47 MB / 1.576 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03292/4.237, allocations: 22.84 MB / 2.524 GB, free: 34.79 MB / 1.576 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04821/4.285, allocations: 23.01 MB / 2.547 GB, free: 32.76 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0283/4.313, allocations: 17.46 MB / 2.564 GB, free: 27.17 MB / 1.576 GB Notification: Performance of NFPackage.collectConstants: time 0.009145/4.323, allocations: 3.324 MB / 2.567 GB, free: 25.04 MB / 1.576 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04176/4.364, allocations: 20.45 MB / 2.587 GB, free: 12.01 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.01052/4.375, allocations: 7.786 MB / 2.594 GB, free: 8.133 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.02608/4.401, allocations: 14.91 MB / 2.609 GB, free: 11.66 MB / 1.592 GB Notification: Performance of NFConvertDAE.convert: time 0.08023/4.481, allocations: 54.1 MB / 2.662 GB, free: 7.422 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/4.481, allocations: 0 / 2.662 GB, free: 7.422 MB / 1.639 GB Notification: Performance of FrontEnd: time 2.014e-06/4.481, allocations: 0 / 2.662 GB, free: 7.422 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.001121/4.482, allocations: 0 / 2.662 GB, free: 7.422 MB / 1.639 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.07564/4.558, allocations: 26.74 MB / 2.688 GB, free: 12.78 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/4.558, allocations: 8.031 kB / 2.688 GB, free: 12.77 MB / 1.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005937/4.564, allocations: 1.773 MB / 2.69 GB, free: 11 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06357/4.628, allocations: 9.221 MB / 2.699 GB, free: 1.762 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05615/4.684, allocations: 31.27 MB / 2.729 GB, free: 3.246 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001597/4.685, allocations: 1.224 MB / 2.73 GB, free: 2 MB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005716/4.691, allocations: 1.468 MB / 2.732 GB, free: 0.5391 MB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05688/4.748, allocations: 20.34 MB / 2.752 GB, free: 11.97 MB / 1.732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000467/4.749, allocations: 23.78 kB / 2.752 GB, free: 11.95 MB / 1.732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003643/4.752, allocations: 0.5595 MB / 2.752 GB, free: 11.39 MB / 1.732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004844/4.753, allocations: 0.538 MB / 2.753 GB, free: 10.86 MB / 1.732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05641/4.809, allocations: 20.59 MB / 2.773 GB, free: 6.258 MB / 1.748 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.157/4.966, allocations: 95.23 MB / 2.866 GB, free: 4.281 MB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03531/5.002, allocations: 13.8 MB / 2.879 GB, free: 6.48 MB / 1.857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01865/5.02, allocations: 8.099 MB / 2.887 GB, free: 14.37 MB / 1.873 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05587/5.076, allocations: 34.43 MB / 2.921 GB, free: 11.07 MB / 1.904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01992/5.096, allocations: 8.22 MB / 2.929 GB, free: 2.812 MB / 1.904 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008509/5.105, allocations: 1.037 MB / 2.93 GB, free: 1.77 MB / 1.904 GB Notification: Performance of pre-optimization done (n=893): time 1.798e-05/5.105, allocations: 0 / 2.93 GB, free: 1.77 MB / 1.904 GB Notification: Performance of matching and sorting (n=917): time 0.1319/5.237, allocations: 42.32 MB / 2.971 GB, free: 7.238 MB / 1.951 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002555/5.237, allocations: 0.5313 MB / 2.972 GB, free: 6.602 MB / 1.951 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04609/5.283, allocations: 18.91 MB / 2.99 GB, free: 3.816 MB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.003618/5.287, allocations: 255.5 kB / 2.991 GB, free: 3.562 MB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01445/5.301, allocations: 9.641 MB / 3 GB, free: 10.04 MB / 1.982 GB Notification: Performance of collectInitialBindings (initialization): time 0.006269/5.307, allocations: 3.131 MB / 3.003 GB, free: 6.93 MB / 1.982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01405/5.322, allocations: 3.006 MB / 3.006 GB, free: 3.914 MB / 1.982 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.322, allocations: 305.1 kB / 3.006 GB, free: 3.613 MB / 1.982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02424/5.346, allocations: 8.815 MB / 3.015 GB, free: 10.79 MB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02771/5.374, allocations: 12.04 MB / 3.027 GB, free: 13.57 MB / 2.014 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 1.061/6.435, allocations: 71.35 MB / 3.096 GB, free: 1.133 GB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/6.435, allocations: 19.62 kB / 3.096 GB, free: 1.133 GB / 2.045 GB Notification: Performance of matching and sorting (n=1731) (initialization): time 0.07729/6.512, allocations: 24.57 MB / 3.12 GB, free: 1.124 GB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002289/6.513, allocations: 278.7 kB / 3.121 GB, free: 1.124 GB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/6.513, allocations: 63.19 kB / 3.121 GB, free: 1.124 GB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007931/6.521, allocations: 2.586 MB / 3.123 GB, free: 1.123 GB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02205/6.543, allocations: 3.748 MB / 3.127 GB, free: 1.123 GB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/6.565, allocations: 26.29 MB / 3.152 GB, free: 1.1 GB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03205/6.597, allocations: 2.186 MB / 3.155 GB, free: 1.1 GB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004729/6.602, allocations: 0.7236 MB / 3.155 GB, free: 1.1 GB / 2.045 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.03717/6.639, allocations: 13.09 MB / 3.168 GB, free: 1.094 GB / 2.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02639/6.666, allocations: 11.71 MB / 3.18 GB, free: 1.087 GB / 2.045 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.2293/6.895, allocations: 69.58 MB / 3.247 GB, free: 1.048 GB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001257/6.895, allocations: 20 kB / 3.248 GB, free: 1.048 GB / 2.045 GB Notification: Performance of matching and sorting (n=1731) (initialization_lambda0): time 0.06948/6.965, allocations: 24.05 MB / 3.271 GB, free: 1.025 GB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/6.965, allocations: 276.1 kB / 3.271 GB, free: 1.025 GB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/6.965, allocations: 67.84 kB / 3.271 GB, free: 1.025 GB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007115/6.972, allocations: 2.558 MB / 3.274 GB, free: 1.022 GB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02025/6.992, allocations: 3.713 MB / 3.277 GB, free: 1.019 GB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03174/7.024, allocations: 33.49 MB / 3.31 GB, free: 0.9844 GB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02776/7.052, allocations: 2.221 MB / 3.312 GB, free: 0.9823 GB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003641/7.056, allocations: 0.6948 MB / 3.313 GB, free: 0.9816 GB / 2.045 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: 299 * Number of states: 0 () * Number of discrete variables: 82 ($PRE.fraLoa.tab.nextTimeEvent,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$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 (1559): * Single equations (assignments): 1519 * 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,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.006284/7.062, allocations: 1.214 MB / 3.314 GB, free: 0.9804 GB / 2.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007561/7.069, allocations: 1.864 MB / 3.316 GB, free: 0.9795 GB / 2.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05534/7.125, allocations: 18 MB / 3.334 GB, free: 0.962 GB / 2.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001338/7.125, allocations: 104 kB / 3.334 GB, free: 0.9619 GB / 2.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-05/7.125, allocations: 0 / 3.334 GB, free: 0.9619 GB / 2.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04031/7.165, allocations: 14.74 MB / 3.348 GB, free: 0.9474 GB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09008/7.255, allocations: 46.52 MB / 3.394 GB, free: 0.9018 GB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001035/7.256, allocations: 24.22 kB / 3.394 GB, free: 0.9018 GB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01306/7.269, allocations: 2.198 MB / 3.396 GB, free: 0.8996 GB / 2.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/7.272, allocations: 1.077 MB / 3.397 GB, free: 0.8986 GB / 2.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003032/7.275, allocations: 335.8 kB / 3.397 GB, free: 0.8982 GB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007752/7.283, allocations: 9.939 MB / 3.407 GB, free: 0.8879 GB / 2.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/7.283, allocations: 43.81 kB / 3.407 GB, free: 0.8878 GB / 2.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06824/7.351, allocations: 27.04 MB / 3.433 GB, free: 0.861 GB / 2.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01212/7.364, allocations: 4.27 MB / 3.437 GB, free: 0.8568 GB / 2.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007822/7.371, allocations: 240 kB / 3.438 GB, free: 0.8566 GB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02146/7.393, allocations: 1.532 MB / 3.439 GB, free: 0.8551 GB / 2.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002517/7.395, allocations: 0.6499 MB / 3.44 GB, free: 0.8545 GB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002727/7.398, allocations: 0.4996 MB / 3.44 GB, free: 0.854 GB / 2.045 GB Notification: Performance of sorting global known variables: time 0.02938/7.428, allocations: 12.76 MB / 3.453 GB, free: 0.8416 GB / 2.045 GB Notification: Performance of sort global known variables: time 2.375e-06/7.428, allocations: 0 / 3.453 GB, free: 0.8416 GB / 2.045 GB Notification: Performance of remove unused functions: time 0.05896/7.487, allocations: 9.096 MB / 3.462 GB, free: 0.833 GB / 2.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * 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 (resT2.cha.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,con.ctl.cha.y,isEna.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,fraLoa.tab.nextTimeEventScaled,con.ctl.cha.u,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,resT2.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,2), (1,2), (1,2), (1,2), (4,33), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.08482/7.571, allocations: 30.62 MB / 3.491 GB, free: 0.8032 GB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.1876/7.759, allocations: 42.54 MB / 3.533 GB, free: 0.7614 GB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 3.769e-05/7.759, allocations: 10.66 kB / 3.533 GB, free: 0.7614 GB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02392/7.783, allocations: 8.495 MB / 3.541 GB, free: 0.7529 GB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05971/7.843, allocations: 10.51 MB / 3.552 GB, free: 0.7431 GB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.32/9.163, allocations: 327.7 MB / 3.872 GB, free: 416.8 MB / 2.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02975/9.192, allocations: 9.153 MB / 3.881 GB, free: 407.6 MB / 2.045 GB Notification: Performance of simCode: alias equations: time 0.04719/9.24, allocations: 5.135 MB / 3.886 GB, free: 402.6 MB / 2.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02966/9.269, allocations: 9.922 MB / 3.895 GB, free: 392.7 MB / 2.045 GB Notification: Performance of SimCode: time 1.743e-06/9.269, allocations: 0 / 3.895 GB, free: 392.7 MB / 2.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.325/14.59, allocations: 0.569 GB / 4.464 GB, free: 1.035 GB / 2.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/14.6, allocations: 334.7 kB / 4.465 GB, free: 1.035 GB / 2.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/37.1, allocations: 0 / 4.465 GB, free: 1.035 GB / 2.045 GB (rm -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe ; mkfifo Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe >> ../files/Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant.fmu > Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.mat does not exist to compare? outputFormat=mat