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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 214 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.063/3.063, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 69.84 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.413, allocations: 169.9 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3864/0.7994, allocations: 328.9 MB / 1.604 GB, free: 2.484 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.9306/1.73, allocations: 70.77 MB / 1.673 GB, free: 56.78 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01576/1.746, allocations: 0.5804 MB / 1.673 GB, free: 56.77 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.0165/1.762, allocations: 6.393 MB / 1.68 GB, free: 56.66 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04168/1.804, allocations: 15.05 MB / 1.694 GB, free: 56.08 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02814/1.832, allocations: 10.5 MB / 1.705 GB, free: 55.79 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09417/1.926, allocations: 76.23 MB / 1.779 GB, free: 19.67 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02465/1.951, allocations: 15.78 MB / 1.795 GB, free: 4.52 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03975/1.991, allocations: 18.06 MB / 1.812 GB, free: 3.422 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03611/2.027, allocations: 16.88 MB / 1.829 GB, free: 3.711 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.009539/2.036, allocations: 1.836 MB / 1.83 GB, free: 1.875 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02285/2.059, allocations: 5.235 MB / 1.836 GB, free: 12.86 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01239/2.072, allocations: 6.504 MB / 1.842 GB, free: 6.586 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02466/2.096, allocations: 9.11 MB / 1.851 GB, free: 13.68 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.06513/2.161, allocations: 30.99 MB / 1.881 GB, free: 15.84 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/2.161, allocations: 0 / 1.881 GB, free: 15.84 MB / 1.389 GB Notification: Performance of FrontEnd: time 3.767e-06/2.161, allocations: 7.938 kB / 1.881 GB, free: 15.83 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.001256/2.163, allocations: 0 / 1.881 GB, free: 15.83 MB / 1.389 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.08885/2.251, allocations: 21.68 MB / 1.902 GB, free: 10.25 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 8.017e-05/2.251, allocations: 11.98 kB / 1.902 GB, free: 10.24 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007373/2.259, allocations: 1.046 MB / 1.903 GB, free: 9.188 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/2.279, allocations: 3.309 MB / 1.906 GB, free: 5.863 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05994/2.339, allocations: 22.02 MB / 1.928 GB, free: 116 kB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/2.34, allocations: 0.6617 MB / 1.929 GB, free: 15.45 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006319/2.346, allocations: 0.9365 MB / 1.93 GB, free: 14.53 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04739/2.394, allocations: 18.18 MB / 1.947 GB, free: 11.93 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003295/2.394, allocations: 11.89 kB / 1.947 GB, free: 11.92 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004226/2.398, allocations: 338.3 kB / 1.948 GB, free: 11.59 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000459/2.399, allocations: 371.3 kB / 1.948 GB, free: 11.23 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04986/2.449, allocations: 21.85 MB / 1.969 GB, free: 5.363 MB / 1.467 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.161/2.61, allocations: 64.19 MB / 2.032 GB, free: 6 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02695/2.637, allocations: 11.68 MB / 2.043 GB, free: 10.59 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0196/2.656, allocations: 8.964 MB / 2.052 GB, free: 1.609 MB / 1.545 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.09008/2.746, allocations: 29.83 MB / 2.081 GB, free: 3.891 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02553/2.772, allocations: 11.24 MB / 2.092 GB, free: 8.359 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03615/2.808, allocations: 8.254 MB / 2.1 GB, free: 312 kB / 1.592 GB Notification: Performance of pre-optimization done (n=567): time 5.59e-05/2.808, allocations: 0 / 2.1 GB, free: 312 kB / 1.592 GB Notification: Performance of matching and sorting (n=838): time 2.269/5.077, allocations: 217.4 MB / 2.313 GB, free: 0.6777 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.139/5.216, allocations: 54.33 MB / 2.366 GB, free: 0.6337 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03195/5.248, allocations: 20.34 MB / 2.386 GB, free: 0.6142 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.004589/5.253, allocations: 229.4 kB / 2.386 GB, free: 0.614 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.008343/5.261, allocations: 7.872 MB / 2.394 GB, free: 0.6078 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007974/5.269, allocations: 3.149 MB / 2.397 GB, free: 0.6063 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01294/5.282, allocations: 3.977 MB / 2.4 GB, free: 0.6024 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/5.282, allocations: 305.1 kB / 2.401 GB, free: 0.6022 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02743/5.31, allocations: 20.33 MB / 2.421 GB, free: 0.5823 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03139/5.341, allocations: 25.34 MB / 2.445 GB, free: 0.556 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05807/5.399, allocations: 38.67 MB / 2.483 GB, free: 0.5175 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-05/5.399, allocations: 12 kB / 2.483 GB, free: 0.5174 GB / 1.748 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.602/6.001, allocations: 134.3 MB / 2.614 GB, free: 395.6 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/6.001, allocations: 53.7 kB / 2.614 GB, free: 395.5 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/6.001, allocations: 52.09 kB / 2.614 GB, free: 395.5 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5909/6.592, allocations: 117.9 MB / 2.729 GB, free: 278 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0175/6.61, allocations: 3.545 MB / 2.733 GB, free: 274.4 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1361/6.746, allocations: 80.99 MB / 2.812 GB, free: 193.1 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09251/6.838, allocations: 6.448 MB / 2.818 GB, free: 186.7 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005151/6.844, allocations: 1.31 MB / 2.82 GB, free: 185.4 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03378/6.877, allocations: 23.71 MB / 2.843 GB, free: 161.6 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02904/6.906, allocations: 24.81 MB / 2.867 GB, free: 135.2 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05286/6.959, allocations: 37.63 MB / 2.904 GB, free: 96.8 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.343e-05/6.959, allocations: 12 kB / 2.904 GB, free: 96.79 MB / 1.748 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.858/8.817, allocations: 132.7 MB / 3.033 GB, free: 0.6582 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/8.817, allocations: 60.12 kB / 3.033 GB, free: 0.6581 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.662e-05/8.817, allocations: 49.22 kB / 3.034 GB, free: 0.6581 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6173/9.434, allocations: 117.5 MB / 3.148 GB, free: 0.5821 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01654/9.451, allocations: 3.534 MB / 3.152 GB, free: 0.5788 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1684/9.619, allocations: 84.25 MB / 3.234 GB, free: 0.4967 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09227/9.711, allocations: 6.481 MB / 3.24 GB, free: 0.4903 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006663/9.718, allocations: 1.28 MB / 3.242 GB, free: 0.4891 GB / 1.748 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.01041/9.729, allocations: 0.767 MB / 3.242 GB, free: 0.4884 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008833/9.737, allocations: 1.701 MB / 3.244 GB, free: 499.3 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2184/9.956, allocations: 60.29 MB / 3.303 GB, free: 439.3 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.226/10.18, allocations: 66.11 MB / 3.367 GB, free: 373.4 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001866/10.18, allocations: 28 kB / 3.367 GB, free: 373.4 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2174/10.4, allocations: 65.43 MB / 3.431 GB, free: 308.1 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2856/10.68, allocations: 111.1 MB / 3.54 GB, free: 197.3 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.107e-05/10.68, allocations: 7.5 kB / 3.54 GB, free: 197.3 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/10.7, allocations: 1.98 MB / 3.542 GB, free: 195.4 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3375/11.03, allocations: 81.28 MB / 3.621 GB, free: 114.5 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003472/11.04, allocations: 0.5729 MB / 3.622 GB, free: 113.9 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1049/11.14, allocations: 57.92 MB / 3.678 GB, free: 56.01 MB / 1.748 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.1103/11.25, allocations: 51.93 MB / 3.729 GB, free: 3.383 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.02/12.27, allocations: 95.37 MB / 3.822 GB, free: 0.6347 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02157/12.29, allocations: 6.186 MB / 3.828 GB, free: 0.6304 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009218/12.3, allocations: 215.2 kB / 3.828 GB, free: 0.6302 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05508/12.36, allocations: 3.317 MB / 3.832 GB, free: 0.6287 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005736/12.36, allocations: 0.8981 MB / 3.832 GB, free: 0.6284 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003989/12.37, allocations: 0.6265 MB / 3.833 GB, free: 0.6281 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02617/12.39, allocations: 14.11 MB / 3.847 GB, free: 0.6165 GB / 1.748 GB Notification: Performance of sort global known variables: time 2.4e-07/12.39, allocations: 0 / 3.847 GB, free: 0.6165 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.08487/12.48, allocations: 38.7 MB / 3.885 GB, free: 0.5789 GB / 1.748 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.2635/12.74, allocations: 96.77 MB / 3.979 GB, free: 497.6 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1273/12.87, allocations: 74.05 MB / 4.051 GB, free: 423.6 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/12.87, allocations: 4 kB / 4.051 GB, free: 423.6 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.05351/12.92, allocations: 23.18 MB / 4.074 GB, free: 400.4 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05835/12.98, allocations: 7.983 MB / 4.082 GB, free: 392.8 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.246/15.23, allocations: 443.3 MB / 4.515 GB, free: 0.6257 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0211/15.25, allocations: 10.2 MB / 4.525 GB, free: 0.6236 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.03599/15.28, allocations: 7.988 MB / 4.533 GB, free: 0.6214 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0258/15.31, allocations: 10.37 MB / 4.543 GB, free: 0.6177 GB / 1.748 GB Notification: Performance of SimCode: time 2.024e-06/15.31, allocations: 0 / 4.543 GB, free: 0.6177 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.973/17.28, allocations: 0.8411 GB / 5.384 GB, free: 0.4987 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 112.9/130.1, allocations: 2.234 kB / 5.384 GB, free: 0.4987 GB / 1.748 GB " [Timeout remaining time 169] (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 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 142.46785432798788] Failed to read output from testmodel.py, exit status != 0: 131.37285271799192 130.671449884 128.507322648 Calling exit ...