Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",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.005226/0.005226, allocations: 99 kB / 15.73 MB, free: 6.441 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.001509/0.001509, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7426 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 63.91 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2606, allocations: 159.1 MB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.7988/1.06, allocations: 357.8 MB / 1.57 GB, free: 15.32 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.09899/1.159, allocations: 75.85 MB / 1.644 GB, free: 3.281 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/1.171, allocations: 433.5 kB / 1.644 GB, free: 2.855 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.01591/1.187, allocations: 6.439 MB / 1.65 GB, free: 12.38 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.03417/1.221, allocations: 14.08 MB / 1.664 GB, free: 14.25 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02552/1.247, allocations: 10.2 MB / 1.674 GB, free: 4.129 MB / 1.357 GB Notification: Performance of NFFlatten.flatten: time 0.09443/1.341, allocations: 74.18 MB / 1.747 GB, free: 9.805 MB / 1.436 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02545/1.366, allocations: 20.01 MB / 1.766 GB, free: 5.637 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03149/1.398, allocations: 17.03 MB / 1.783 GB, free: 4.574 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02719/1.425, allocations: 16.38 MB / 1.799 GB, free: 4.137 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.007341/1.433, allocations: 1.961 MB / 1.801 GB, free: 2.176 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/1.45, allocations: 6.051 MB / 1.807 GB, free: 12.12 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.009956/1.46, allocations: 6.492 MB / 1.813 GB, free: 5.605 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 1.148/2.608, allocations: 11.25 MB / 1.824 GB, free: 144 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.04049/2.648, allocations: 31.41 MB / 1.855 GB, free: 142.3 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.648, allocations: 1.656 kB / 1.855 GB, free: 142.3 MB / 1.498 GB Notification: Performance of FrontEnd: time 1.503e-06/2.648, allocations: 0 / 1.855 GB, free: 142.3 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.0007084/2.649, allocations: 0 / 1.855 GB, free: 142.3 MB / 1.498 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06053/2.71, allocations: 24.69 MB / 1.879 GB, free: 133.2 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/2.71, allocations: 10.09 kB / 1.879 GB, free: 133.2 MB / 1.498 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002104/2.712, allocations: 1.053 MB / 1.88 GB, free: 133.1 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/2.726, allocations: 3.296 MB / 1.883 GB, free: 132 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03702/2.763, allocations: 23.15 MB / 1.906 GB, free: 128.9 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/2.763, allocations: 0.6674 MB / 1.906 GB, free: 128.8 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/2.766, allocations: 0.9374 MB / 1.907 GB, free: 128.8 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/2.794, allocations: 17.07 MB / 1.924 GB, free: 128 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/2.794, allocations: 14.98 kB / 1.924 GB, free: 128 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/2.796, allocations: 330.9 kB / 1.924 GB, free: 128 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/2.796, allocations: 369.8 kB / 1.924 GB, free: 128 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/2.825, allocations: 21.5 MB / 1.945 GB, free: 128 MB / 1.498 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.1036/2.929, allocations: 84.06 MB / 2.028 GB, free: 84.09 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/2.945, allocations: 13.03 MB / 2.04 GB, free: 80.89 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01171/2.957, allocations: 10.08 MB / 2.05 GB, free: 73.89 MB / 1.498 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 evalFunc (simulation): time 0.05089/3.008, allocations: 35.57 MB / 2.085 GB, free: 38.04 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01137/3.019, allocations: 10.14 MB / 2.095 GB, free: 27.83 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01736/3.037, allocations: 5.831 MB / 2.1 GB, free: 22.16 MB / 1.498 GB Notification: Performance of pre-optimization done (n=567): time 1.734e-05/3.037, allocations: 0 / 2.1 GB, free: 22.16 MB / 1.498 GB Notification: Performance of matching and sorting (n=838): time 0.877/3.914, allocations: 218.1 MB / 2.313 GB, free: 11.47 MB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1347/4.049, allocations: 55.98 MB / 2.368 GB, free: 2.492 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03019/4.079, allocations: 20.51 MB / 2.388 GB, free: 14.08 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.003641/4.082, allocations: 224.8 kB / 2.388 GB, free: 13.86 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.007374/4.09, allocations: 7.876 MB / 2.396 GB, free: 6.008 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.00699/4.097, allocations: 3.144 MB / 2.399 GB, free: 2.902 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007358/4.104, allocations: 3.997 MB / 2.403 GB, free: 14.89 MB / 1.795 GB Notification: Performance of setup shared object (initialization): time 0.0001061/4.104, allocations: 305.1 kB / 2.403 GB, free: 14.59 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02933/4.134, allocations: 20.28 MB / 2.423 GB, free: 10.29 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03212/4.166, allocations: 23.1 MB / 2.446 GB, free: 2.191 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6052/4.771, allocations: 38.6 MB / 2.483 GB, free: 0.7875 GB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.622e-05/4.771, allocations: 19.14 kB / 2.483 GB, free: 0.7875 GB / 1.858 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5679/5.339, allocations: 134.6 MB / 2.615 GB, free: 0.7542 GB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/5.339, allocations: 54.7 kB / 2.615 GB, free: 0.7541 GB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.148e-05/5.339, allocations: 56 kB / 2.615 GB, free: 0.7541 GB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5376/5.877, allocations: 118 MB / 2.73 GB, free: 0.6392 GB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01628/5.893, allocations: 3.539 MB / 2.734 GB, free: 0.6358 GB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1155/6.008, allocations: 81.92 MB / 2.814 GB, free: 0.5557 GB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08531/6.094, allocations: 6.453 MB / 2.82 GB, free: 0.5494 GB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003056/6.097, allocations: 1.314 MB / 2.821 GB, free: 0.5481 GB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02787/6.125, allocations: 23.67 MB / 2.844 GB, free: 0.525 GB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02252/6.147, allocations: 22.59 MB / 2.866 GB, free: 0.5019 GB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04332/6.191, allocations: 37.58 MB / 2.903 GB, free: 475.6 MB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-05/6.191, allocations: 16 kB / 2.903 GB, free: 475.6 MB / 1.858 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5347/6.725, allocations: 133.1 MB / 3.033 GB, free: 343.4 MB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/6.725, allocations: 57.7 kB / 3.033 GB, free: 343.4 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/6.726, allocations: 52 kB / 3.033 GB, free: 343.3 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5347/7.26, allocations: 117.6 MB / 3.148 GB, free: 226.1 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/7.276, allocations: 3.537 MB / 3.152 GB, free: 222.5 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1247/7.4, allocations: 86.15 MB / 3.236 GB, free: 136.3 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08684/7.487, allocations: 6.495 MB / 3.242 GB, free: 129.8 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003986/7.491, allocations: 1.286 MB / 3.243 GB, free: 128.5 MB / 1.858 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003973/7.495, allocations: 0.7569 MB / 3.244 GB, free: 127.8 MB / 1.858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005597/7.501, allocations: 1.704 MB / 3.246 GB, free: 126.8 MB / 1.858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1793/7.68, allocations: 60.77 MB / 3.305 GB, free: 66.13 MB / 1.858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.7207/8.401, allocations: 67.04 MB / 3.37 GB, free: 0.7634 GB / 1.858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-05/8.401, allocations: 29.41 kB / 3.371 GB, free: 0.7634 GB / 1.858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1868/8.588, allocations: 66.35 MB / 3.435 GB, free: 0.7577 GB / 1.858 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2394/8.827, allocations: 130.7 MB / 3.563 GB, free: 0.6639 GB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.179e-05/8.827, allocations: 1.125 kB / 3.563 GB, free: 0.6639 GB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0103/8.838, allocations: 1.981 MB / 3.565 GB, free: 0.6619 GB / 1.858 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2971/9.135, allocations: 81.39 MB / 3.644 GB, free: 0.5829 GB / 1.858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003087/9.138, allocations: 0.5726 MB / 3.645 GB, free: 0.5823 GB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08683/9.225, allocations: 58.57 MB / 3.702 GB, free: 0.5251 GB / 1.858 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09368/9.318, allocations: 54.11 MB / 3.755 GB, free: 482.6 MB / 1.858 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2119/9.53, allocations: 96.27 MB / 3.849 GB, free: 387.5 MB / 1.858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01374/9.544, allocations: 6.112 MB / 3.855 GB, free: 382.3 MB / 1.858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006168/9.55, allocations: 215.9 kB / 3.855 GB, free: 382.1 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04862/9.599, allocations: 3.321 MB / 3.858 GB, free: 378.8 MB / 1.858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003283/9.602, allocations: 0.8655 MB / 3.859 GB, free: 377.9 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001886/9.604, allocations: 0.6276 MB / 3.86 GB, free: 377.3 MB / 1.858 GB Notification: Performance of sorting global known variables: time 0.01792/9.622, allocations: 14.3 MB / 3.874 GB, free: 363.1 MB / 1.858 GB Notification: Performance of sort global known variables: time 1.5e-07/9.622, allocations: 0 / 3.874 GB, free: 363.1 MB / 1.858 GB Notification: Performance of remove unused functions: time 0.07346/9.696, allocations: 38.73 MB / 3.912 GB, free: 324.3 MB / 1.858 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2209/9.916, allocations: 97.79 MB / 4.007 GB, free: 227 MB / 1.858 GB Notification: Performance of simCode: created initialization part: time 0.1119/10.03, allocations: 77.46 MB / 4.083 GB, free: 149.5 MB / 1.858 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/10.03, allocations: 0 / 4.083 GB, free: 149.5 MB / 1.858 GB Notification: Performance of simCode: created simulation system equations: time 0.04886/10.08, allocations: 25.52 MB / 4.108 GB, free: 124 MB / 1.858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05081/10.13, allocations: 7.984 MB / 4.115 GB, free: 116.3 MB / 1.858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.872/12, allocations: 444.4 MB / 4.549 GB, free: 0.5484 GB / 1.858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008268/12.01, allocations: 10.45 MB / 4.56 GB, free: 0.5381 GB / 1.858 GB Notification: Performance of simCode: alias equations: time 0.02368/12.03, allocations: 7.993 MB / 4.567 GB, free: 0.5306 GB / 1.858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01786/12.05, allocations: 10.36 MB / 4.578 GB, free: 0.5204 GB / 1.858 GB Notification: Performance of SimCode: time 1.162e-06/12.05, allocations: 0 / 4.578 GB, free: 0.5204 GB / 1.858 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.14/25.19, allocations: 0.8086 GB / 5.386 GB, free: 0.5519 GB / 1.858 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.69/117.9, allocations: 15.91 kB / 5.386 GB, free: 0.5519 GB / 1.858 GB (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat