Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_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.009014/0.009014, allocations: 101.6 kB / 15.73 MB, free: 6.023 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.001671/0.001671, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.944/2.944, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3169, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9741/1.291, allocations: 357.8 MB / 1.557 GB, free: 1.199 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.1167/1.408, allocations: 75.85 MB / 1.631 GB, free: 5.188 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01584/1.424, allocations: 429.6 kB / 1.631 GB, free: 4.766 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01898/1.443, allocations: 6.431 MB / 1.637 GB, free: 14.3 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.04154/1.484, allocations: 14.1 MB / 1.651 GB, free: 156 kB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.02421/1.508, allocations: 10.19 MB / 1.661 GB, free: 6.035 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.1102/1.619, allocations: 74.18 MB / 1.734 GB, free: 11.7 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.033/1.652, allocations: 20 MB / 1.753 GB, free: 7.551 MB / 1.436 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0398/1.692, allocations: 17.43 MB / 1.77 GB, free: 6.102 MB / 1.451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03044/1.722, allocations: 16.37 MB / 1.786 GB, free: 5.672 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.007612/1.73, allocations: 1.961 MB / 1.788 GB, free: 3.711 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/1.749, allocations: 6.035 MB / 1.794 GB, free: 13.67 MB / 1.482 GB Notification: Performance of NFScalarize.scalarize: time 0.01165/1.76, allocations: 6.5 MB / 1.8 GB, free: 7.148 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 1.394/3.155, allocations: 11.25 MB / 1.811 GB, free: 141.5 MB / 1.483 GB Notification: Performance of NFConvertDAE.convert: time 0.05489/3.209, allocations: 31.3 MB / 1.842 GB, free: 140.8 MB / 1.483 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/3.21, allocations: 0 / 1.842 GB, free: 140.8 MB / 1.483 GB Notification: Performance of FrontEnd: time 2.224e-06/3.21, allocations: 0 / 1.842 GB, free: 140.8 MB / 1.483 GB Notification: Performance of Transformations before backend: time 0.0009919/3.211, allocations: 1.156 kB / 1.842 GB, free: 140.8 MB / 1.483 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.08799/3.299, allocations: 24.06 MB / 1.865 GB, free: 132.3 MB / 1.483 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/3.299, allocations: 12.72 kB / 1.865 GB, free: 132.3 MB / 1.483 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006766/3.305, allocations: 1.048 MB / 1.866 GB, free: 132.2 MB / 1.483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/3.326, allocations: 3.198 MB / 1.87 GB, free: 131.1 MB / 1.483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05362/3.38, allocations: 23 MB / 1.892 GB, free: 128.2 MB / 1.483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007396/3.381, allocations: 0.6668 MB / 1.893 GB, free: 128.2 MB / 1.483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006739/3.387, allocations: 0.9379 MB / 1.894 GB, free: 128.2 MB / 1.483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04335/3.431, allocations: 17.06 MB / 1.91 GB, free: 127.4 MB / 1.483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003078/3.431, allocations: 14.31 kB / 1.91 GB, free: 127.4 MB / 1.483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004434/3.436, allocations: 333.1 kB / 1.911 GB, free: 127.4 MB / 1.483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/3.436, allocations: 366.8 kB / 1.911 GB, free: 127.3 MB / 1.483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04057/3.477, allocations: 21.5 MB / 1.932 GB, free: 127.3 MB / 1.483 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.1475/3.624, allocations: 83.99 MB / 2.014 GB, free: 83.96 MB / 1.483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/3.647, allocations: 13.01 MB / 2.027 GB, free: 81.71 MB / 1.483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01488/3.661, allocations: 10.08 MB / 2.036 GB, free: 74.19 MB / 1.483 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.07225/3.734, allocations: 35.55 MB / 2.071 GB, free: 38.37 MB / 1.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01897/3.753, allocations: 10.15 MB / 2.081 GB, free: 28.15 MB / 1.483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02261/3.775, allocations: 5.814 MB / 2.087 GB, free: 22.5 MB / 1.483 GB Notification: Performance of pre-optimization done (n=567): time 3.142e-05/3.775, allocations: 0 / 2.087 GB, free: 22.5 MB / 1.483 GB Notification: Performance of matching and sorting (n=838): time 0.9501/4.726, allocations: 217.7 MB / 2.299 GB, free: 12.14 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1739/4.9, allocations: 55.93 MB / 2.354 GB, free: 3.203 MB / 1.733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0521/4.952, allocations: 20.5 MB / 2.374 GB, free: 14.8 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.006073/4.958, allocations: 221.7 kB / 2.374 GB, free: 14.58 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.01475/4.973, allocations: 7.782 MB / 2.382 GB, free: 6.809 MB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.01094/4.984, allocations: 3.001 MB / 2.385 GB, free: 3.832 MB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02434/5.008, allocations: 3.994 MB / 2.389 GB, free: 15.83 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 0.0001071/5.008, allocations: 301.1 kB / 2.389 GB, free: 15.53 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04118/5.049, allocations: 20.27 MB / 2.409 GB, free: 11.24 MB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04883/5.098, allocations: 23.1 MB / 2.431 GB, free: 3.137 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7855/5.884, allocations: 38.61 MB / 2.469 GB, free: 0.7699 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.461e-05/5.884, allocations: 14.88 kB / 2.469 GB, free: 0.7699 GB / 1.826 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6581/6.542, allocations: 134.6 MB / 2.6 GB, free: 0.7188 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 8.042e-05/6.542, allocations: 58.89 kB / 2.601 GB, free: 0.7188 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.732e-05/6.542, allocations: 52 kB / 2.601 GB, free: 0.7187 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5567/7.099, allocations: 118 MB / 2.716 GB, free: 0.6039 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01892/7.118, allocations: 3.553 MB / 2.719 GB, free: 0.6004 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.142/7.26, allocations: 81.9 MB / 2.799 GB, free: 0.5204 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08265/7.343, allocations: 6.448 MB / 2.806 GB, free: 0.5141 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006693/7.349, allocations: 1.31 MB / 2.807 GB, free: 0.5128 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0415/7.391, allocations: 23.67 MB / 2.83 GB, free: 0.4897 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03067/7.422, allocations: 22.59 MB / 2.852 GB, free: 477.8 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05757/7.479, allocations: 37.58 MB / 2.889 GB, free: 439.4 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.796e-05/7.479, allocations: 16 kB / 2.889 GB, free: 439.4 MB / 1.826 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5713/8.051, allocations: 133 MB / 3.019 GB, free: 307.3 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/8.051, allocations: 53.7 kB / 3.019 GB, free: 307.2 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-05/8.051, allocations: 52 kB / 3.019 GB, free: 307.2 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5364/8.587, allocations: 117.6 MB / 3.134 GB, free: 189.8 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0179/8.605, allocations: 3.529 MB / 3.137 GB, free: 186.2 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1406/8.746, allocations: 86.12 MB / 3.221 GB, free: 99.96 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08598/8.832, allocations: 6.499 MB / 3.227 GB, free: 93.46 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007576/8.839, allocations: 1.286 MB / 3.229 GB, free: 92.17 MB / 1.826 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.01042/8.85, allocations: 0.7687 MB / 3.229 GB, free: 91.4 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008559/8.858, allocations: 1.619 MB / 3.231 GB, free: 90.5 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2061/9.064, allocations: 60.75 MB / 3.29 GB, free: 29.81 MB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.9183/9.983, allocations: 67.04 MB / 3.356 GB, free: 0.7474 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001708/9.983, allocations: 32.97 kB / 3.356 GB, free: 0.7474 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2024/10.19, allocations: 66.36 MB / 3.421 GB, free: 0.7319 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3055/10.49, allocations: 130.7 MB / 3.548 GB, free: 0.6085 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/10.49, allocations: 4.125 kB / 3.548 GB, free: 0.6085 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01187/10.5, allocations: 1.977 MB / 3.55 GB, free: 0.6066 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3134/10.82, allocations: 81.39 MB / 3.63 GB, free: 0.5275 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005009/10.82, allocations: 0.5768 MB / 3.63 GB, free: 0.5269 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1072/10.93, allocations: 58.52 MB / 3.687 GB, free: 481 MB / 1.826 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.1219/11.05, allocations: 54.07 MB / 3.74 GB, free: 425.9 MB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2479/11.3, allocations: 96.19 MB / 3.834 GB, free: 330.7 MB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02379/11.32, allocations: 6.02 MB / 3.84 GB, free: 325.5 MB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01162/11.33, allocations: 215.9 kB / 3.84 GB, free: 325.3 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05039/11.38, allocations: 3.321 MB / 3.843 GB, free: 321.9 MB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006692/11.39, allocations: 0.8732 MB / 3.844 GB, free: 321.1 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004801/11.4, allocations: 0.6237 MB / 3.845 GB, free: 320.4 MB / 1.826 GB Notification: Performance of sorting global known variables: time 0.03377/11.43, allocations: 14.3 MB / 3.859 GB, free: 306.2 MB / 1.826 GB Notification: Performance of sort global known variables: time 5.71e-07/11.43, allocations: 0 / 3.859 GB, free: 306.2 MB / 1.826 GB Notification: Performance of remove unused functions: time 0.1033/11.53, allocations: 38.71 MB / 3.897 GB, free: 267.6 MB / 1.826 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.2543/11.79, allocations: 97.68 MB / 3.992 GB, free: 170.4 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.1361/11.92, allocations: 77.44 MB / 4.068 GB, free: 92.92 MB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/11.92, allocations: 4 kB / 4.068 GB, free: 92.91 MB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.05597/11.98, allocations: 25.49 MB / 4.093 GB, free: 67.41 MB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06632/12.05, allocations: 7.989 MB / 4.1 GB, free: 59.75 MB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.283/14.33, allocations: 443.7 MB / 4.534 GB, free: 486.5 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02692/14.36, allocations: 10.46 MB / 4.544 GB, free: 476 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.03606/14.39, allocations: 7.992 MB / 4.552 GB, free: 468.2 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02852/14.42, allocations: 10.36 MB / 4.562 GB, free: 457.9 MB / 1.826 GB Notification: Performance of SimCode: time 1.403e-06/14.42, allocations: 0 / 4.562 GB, free: 457.9 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.061/16.48, allocations: 0.8274 GB / 5.389 GB, free: 449.5 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate platform static: time 117.2/133.7, allocations: 11.89 kB / 5.389 GB, free: 449.4 MB / 1.826 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat