Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_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.006031/0.006031, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.001652/0.001652, allocations: 204.6 kB / 16.68 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 290.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 95.97 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1633, allocations: 86.98 MB / 0.766 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.071/1.234, allocations: 357.7 MB / 1.115 GB, free: 56.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.08415/1.318, allocations: 75.87 MB / 1.189 GB, free: 55.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01426/1.332, allocations: 433.8 kB / 1.19 GB, free: 55.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01682/1.349, allocations: 6.431 MB / 1.196 GB, free: 55.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03814/1.387, allocations: 14.1 MB / 1.21 GB, free: 52.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02239/1.41, allocations: 10.18 MB / 1.22 GB, free: 45.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08169/1.492, allocations: 74.21 MB / 1.292 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03055/1.522, allocations: 20 MB / 1.312 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03504/1.557, allocations: 17.02 MB / 1.328 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02921/1.586, allocations: 16.38 MB / 1.344 GB, free: 28 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007733/1.594, allocations: 1.953 MB / 1.346 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/1.614, allocations: 6.052 MB / 1.352 GB, free: 8.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01041/1.624, allocations: 6.49 MB / 1.359 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02417/1.649, allocations: 11.25 MB / 1.37 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.05586/1.704, allocations: 31.44 MB / 1.4 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.704, allocations: 4 kB / 1.4 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/1.704, allocations: 3.938 kB / 1.4 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0009397/1.705, allocations: 0 / 1.4 GB, free: 8.605 MB / 0.9669 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.06964/1.775, allocations: 24.69 MB / 1.424 GB, free: 20 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.775, allocations: 8.031 kB / 1.424 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004467/1.78, allocations: 1.054 MB / 1.425 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01911/1.799, allocations: 3.298 MB / 1.429 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05285/1.852, allocations: 23.15 MB / 1.451 GB, free: 4.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008816/1.853, allocations: 0.6691 MB / 1.452 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004667/1.857, allocations: 0.9385 MB / 1.453 GB, free: 3.215 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04234/1.9, allocations: 17.07 MB / 1.47 GB, free: 1.949 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003183/1.9, allocations: 23.77 kB / 1.47 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003213/1.903, allocations: 327.1 kB / 1.47 GB, free: 1.613 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004436/1.904, allocations: 375.3 kB / 1.47 GB, free: 1.246 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3545/2.258, allocations: 21.49 MB / 1.491 GB, free: 438 MB / 1.029 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.1309/2.389, allocations: 84.07 MB / 1.573 GB, free: 380.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/2.409, allocations: 13.02 MB / 1.586 GB, free: 372.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01349/2.422, allocations: 10.08 MB / 1.596 GB, free: 362.6 MB / 1.029 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.06197/2.484, allocations: 35.57 MB / 1.631 GB, free: 327.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01506/2.499, allocations: 10.14 MB / 1.64 GB, free: 317 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01875/2.518, allocations: 5.827 MB / 1.646 GB, free: 311.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=567): time 2.749e-05/2.518, allocations: 4 kB / 1.646 GB, free: 311.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=838): time 0.8613/3.38, allocations: 218.2 MB / 1.859 GB, free: 93.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1355/3.515, allocations: 56.05 MB / 1.914 GB, free: 36.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03214/3.547, allocations: 20.51 MB / 1.934 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003891/3.551, allocations: 229.7 kB / 1.934 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.007751/3.559, allocations: 7.879 MB / 1.942 GB, free: 7.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007409/3.566, allocations: 3.138 MB / 1.945 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01261/3.579, allocations: 4 MB / 1.949 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/3.579, allocations: 301.1 kB / 1.949 GB, free: 276 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3763/3.955, allocations: 20.27 MB / 1.969 GB, free: 400.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03656/3.992, allocations: 23.11 MB / 1.992 GB, free: 391.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0584/4.05, allocations: 38.61 MB / 2.029 GB, free: 376.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/4.051, allocations: 14.72 kB / 2.029 GB, free: 376.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5977/4.648, allocations: 134.7 MB / 2.161 GB, free: 264.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.771e-05/4.648, allocations: 54.33 kB / 2.161 GB, free: 264 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.979e-05/4.648, allocations: 52 kB / 2.161 GB, free: 264 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5486/5.197, allocations: 118 MB / 2.276 GB, free: 146.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01837/5.215, allocations: 3.553 MB / 2.28 GB, free: 142.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1315/5.347, allocations: 81.91 MB / 2.36 GB, free: 60.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07981/5.427, allocations: 6.453 MB / 2.366 GB, free: 54.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005187/5.432, allocations: 1.314 MB / 2.367 GB, free: 53.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3905/5.823, allocations: 23.67 MB / 2.39 GB, free: 386.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03595/5.859, allocations: 22.58 MB / 2.412 GB, free: 383.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05991/5.919, allocations: 37.58 MB / 2.449 GB, free: 370.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001156/5.919, allocations: 13.44 kB / 2.449 GB, free: 370.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.553/6.472, allocations: 133.1 MB / 2.579 GB, free: 279.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/6.472, allocations: 53.7 kB / 2.579 GB, free: 279.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.423e-05/6.472, allocations: 58.48 kB / 2.579 GB, free: 279.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5327/7.005, allocations: 117.6 MB / 2.694 GB, free: 162 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/7.021, allocations: 3.537 MB / 2.697 GB, free: 158.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1466/7.168, allocations: 86.13 MB / 2.781 GB, free: 72.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08021/7.248, allocations: 6.502 MB / 2.788 GB, free: 65.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005523/7.254, allocations: 1.286 MB / 2.789 GB, free: 64.45 MB / 1.029 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.008578/7.262, allocations: 0.7696 MB / 2.79 GB, free: 63.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008229/7.271, allocations: 1.705 MB / 2.792 GB, free: 62.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5497/7.82, allocations: 60.78 MB / 2.851 GB, free: 377.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2008/8.021, allocations: 67.03 MB / 2.916 GB, free: 365.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/8.021, allocations: 37.09 kB / 2.916 GB, free: 365.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1984/8.22, allocations: 66.36 MB / 2.981 GB, free: 310.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2872/8.507, allocations: 130.7 MB / 3.109 GB, free: 179.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.238e-05/8.507, allocations: 4.75 kB / 3.109 GB, free: 179.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01138/8.518, allocations: 1.977 MB / 3.111 GB, free: 177.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3154/8.834, allocations: 81.4 MB / 3.19 GB, free: 96.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00305/8.837, allocations: 0.5729 MB / 3.191 GB, free: 96.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09393/8.931, allocations: 58.56 MB / 3.248 GB, free: 37.49 MB / 1.029 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.4546/9.385, allocations: 54.16 MB / 3.301 GB, free: 359.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2391/9.625, allocations: 96.28 MB / 3.395 GB, free: 326.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01526/9.64, allocations: 6.112 MB / 3.401 GB, free: 321.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006389/9.646, allocations: 212 kB / 3.401 GB, free: 321.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0477/9.694, allocations: 3.317 MB / 3.404 GB, free: 318.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004781/9.699, allocations: 0.8655 MB / 3.405 GB, free: 317.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002742/9.702, allocations: 0.6315 MB / 3.406 GB, free: 317 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.02144/9.723, allocations: 14.29 MB / 3.42 GB, free: 302.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.11e-07/9.723, allocations: 0 / 3.42 GB, free: 302.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.08756/9.811, allocations: 38.72 MB / 3.457 GB, free: 264.2 MB / 1.029 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.2347/10.05, allocations: 97.8 MB / 3.553 GB, free: 167.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.1235/10.17, allocations: 77.48 MB / 3.629 GB, free: 89.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/10.17, allocations: 7.938 kB / 3.629 GB, free: 89.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.04996/10.22, allocations: 25.51 MB / 3.654 GB, free: 64.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05395/10.27, allocations: 7.984 MB / 3.661 GB, free: 56.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.022/12.3, allocations: 444.5 MB / 4.095 GB, free: 64.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01842/12.31, allocations: 10.46 MB / 4.106 GB, free: 54.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.02898/12.34, allocations: 7.994 MB / 4.113 GB, free: 46.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01974/12.36, allocations: 10.37 MB / 4.124 GB, free: 36.32 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/12.36, allocations: 0 / 4.124 GB, free: 36.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.22/14.58, allocations: 0.8087 GB / 4.932 GB, free: 68.6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 102/116.6, allocations: 11.28 kB / 4.932 GB, free: 68.59 MB / 1.029 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)