Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_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.001505/0.001505, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 190.4 kB / 16.25 MB, free: 6.645 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7057, allocations: 140.4 MB / 0.9492 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9269/1.633, allocations: 352.3 MB / 1.293 GB, free: 59.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0947/1.727, allocations: 72.44 MB / 1.364 GB, free: 56.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02115/1.749, allocations: 399.2 kB / 1.364 GB, free: 56.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.02006/1.769, allocations: 4.631 MB / 1.369 GB, free: 55.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04108/1.81, allocations: 12.6 MB / 1.381 GB, free: 49.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02674/1.837, allocations: 8.992 MB / 1.39 GB, free: 43.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04095/1.878, allocations: 37.76 MB / 1.427 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02692/1.905, allocations: 19.75 MB / 1.446 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03578/1.94, allocations: 16.88 MB / 1.463 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02809/1.969, allocations: 16.26 MB / 1.478 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008105/1.977, allocations: 1.859 MB / 1.48 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02163/1.998, allocations: 5.745 MB / 1.486 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01151/2.01, allocations: 5.81 MB / 1.492 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02422/2.034, allocations: 10.38 MB / 1.502 GB, free: 4.199 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04947/2.084, allocations: 28.78 MB / 1.53 GB, free: 8.488 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/2.084, allocations: 0 / 1.53 GB, free: 8.488 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/2.084, allocations: 0 / 1.53 GB, free: 8.488 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0009296/2.085, allocations: 0 / 1.53 GB, free: 8.488 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06421/2.149, allocations: 22.26 MB / 1.552 GB, free: 2.297 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/2.149, allocations: 16.02 kB / 1.552 GB, free: 2.281 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004838/2.154, allocations: 1.036 MB / 1.553 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/2.168, allocations: 2.586 MB / 1.555 GB, free: 14.63 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03903/2.207, allocations: 17.84 MB / 1.573 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000771/2.208, allocations: 0.681 MB / 1.573 GB, free: 12.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004863/2.213, allocations: 0.9228 MB / 1.574 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04042/2.254, allocations: 16.54 MB / 1.59 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/2.254, allocations: 11.88 kB / 1.59 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003364/2.257, allocations: 326.6 kB / 1.591 GB, free: 10.44 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003774/2.258, allocations: 367.3 kB / 1.591 GB, free: 10.08 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0382/2.296, allocations: 21.07 MB / 1.612 GB, free: 4.992 MB / 1.17 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.1372/2.433, allocations: 81.77 MB / 1.691 GB, free: 168 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/2.454, allocations: 12.61 MB / 1.704 GB, free: 3.789 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01448/2.468, allocations: 9.834 MB / 1.713 GB, free: 9.938 MB / 1.279 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.5256/2.994, allocations: 34.51 MB / 1.747 GB, free: 0.5004 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01531/3.009, allocations: 9.712 MB / 1.756 GB, free: 0.4972 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02378/3.033, allocations: 7.521 MB / 1.764 GB, free: 0.4956 GB / 1.279 GB Notification: Performance of pre-optimization done (n=555): time 2.697e-05/3.033, allocations: 3.969 kB / 1.764 GB, free: 0.4956 GB / 1.279 GB Notification: Performance of matching and sorting (n=826): time 0.8276/3.861, allocations: 215 MB / 1.974 GB, free: 312 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1294/3.99, allocations: 56.02 MB / 2.029 GB, free: 254.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02334/4.014, allocations: 17.54 MB / 2.046 GB, free: 237.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.003485/4.017, allocations: 217.7 kB / 2.046 GB, free: 237.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004755/4.022, allocations: 7.224 MB / 2.053 GB, free: 230.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.006414/4.028, allocations: 2.939 MB / 2.056 GB, free: 227.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006328/4.035, allocations: 3.552 MB / 2.059 GB, free: 223.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.423e-05/4.035, allocations: 309.1 kB / 2.06 GB, free: 223.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02284/4.058, allocations: 18.97 MB / 2.078 GB, free: 204.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02487/4.082, allocations: 21.56 MB / 2.099 GB, free: 181.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04866/4.131, allocations: 36.23 MB / 2.135 GB, free: 144.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.652e-05/4.131, allocations: 16 kB / 2.135 GB, free: 144.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 1.001/5.132, allocations: 131.5 MB / 2.263 GB, free: 467.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/5.132, allocations: 55.33 kB / 2.263 GB, free: 467.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-05/5.132, allocations: 52.86 kB / 2.263 GB, free: 467.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5416/5.674, allocations: 118 MB / 2.378 GB, free: 434.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01621/5.69, allocations: 3.315 MB / 2.382 GB, free: 431.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1298/5.82, allocations: 81.56 MB / 2.461 GB, free: 350.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07724/5.897, allocations: 6.759 MB / 2.468 GB, free: 343.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005237/5.902, allocations: 1.286 MB / 2.469 GB, free: 342.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03223/5.935, allocations: 22.01 MB / 2.491 GB, free: 320.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02588/5.961, allocations: 21.11 MB / 2.511 GB, free: 298 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04748/6.008, allocations: 35.33 MB / 2.546 GB, free: 261.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.401e-05/6.008, allocations: 16 kB / 2.546 GB, free: 261.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.5542/6.562, allocations: 130.1 MB / 2.673 GB, free: 132.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/6.563, allocations: 54.64 kB / 2.673 GB, free: 132.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.869e-05/6.563, allocations: 52 kB / 2.673 GB, free: 132.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016/7.579, allocations: 117.7 MB / 2.788 GB, free: 455.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01665/7.596, allocations: 3.296 MB / 2.791 GB, free: 455.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1471/7.743, allocations: 86.15 MB / 2.875 GB, free: 433.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07761/7.82, allocations: 6.777 MB / 2.882 GB, free: 433.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003551/7.824, allocations: 1.259 MB / 2.883 GB, free: 433.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.004216/7.828, allocations: 0.7241 MB / 2.884 GB, free: 433 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004786/7.833, allocations: 1.471 MB / 2.885 GB, free: 433 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1836/8.017, allocations: 60.3 MB / 2.944 GB, free: 385.2 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1866/8.203, allocations: 66.67 MB / 3.009 GB, free: 318.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-05/8.203, allocations: 28 kB / 3.009 GB, free: 318.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1799/8.383, allocations: 65.97 MB / 3.073 GB, free: 252.7 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.246/8.629, allocations: 129.1 MB / 3.2 GB, free: 123.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.042e-05/8.629, allocations: 0 / 3.2 GB, free: 123.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/8.64, allocations: 1.922 MB / 3.201 GB, free: 121.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3047/8.945, allocations: 81.52 MB / 3.281 GB, free: 40.4 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003164/8.948, allocations: 0.5612 MB / 3.282 GB, free: 39.84 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5441/9.492, allocations: 58.24 MB / 3.338 GB, free: 459.8 MB / 1.279 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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.1075/9.599, allocations: 54.05 MB / 3.391 GB, free: 434.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2123/9.812, allocations: 95.27 MB / 3.484 GB, free: 361.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01421/9.826, allocations: 5.738 MB / 3.49 GB, free: 356.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004948/9.831, allocations: 211.9 kB / 3.49 GB, free: 356.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0442/9.875, allocations: 3.65 MB / 3.494 GB, free: 352.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004601/9.88, allocations: 0.8577 MB / 3.494 GB, free: 351.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002225/9.882, allocations: 0.6236 MB / 3.495 GB, free: 351.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01521/9.897, allocations: 12.28 MB / 3.507 GB, free: 339.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.32e-07/9.897, allocations: 0 / 3.507 GB, free: 339.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.08926/9.986, allocations: 38.5 MB / 3.545 GB, free: 300.7 MB / 1.279 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 (610): * Single equations (assignments): 589 * 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.208/10.19, allocations: 96.57 MB / 3.639 GB, free: 204.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.1779/10.37, allocations: 98.19 MB / 3.735 GB, free: 106.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/10.37, allocations: 0 / 3.735 GB, free: 106.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.04487/10.42, allocations: 25.34 MB / 3.76 GB, free: 80.92 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04025/10.46, allocations: 7.201 MB / 3.767 GB, free: 73.97 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.19/12.65, allocations: 0.5185 GB / 4.285 GB, free: 81.27 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/12.66, allocations: 9.746 MB / 4.295 GB, free: 71.48 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0263/12.69, allocations: 7.465 MB / 4.302 GB, free: 64.23 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01726/12.7, allocations: 9.556 MB / 4.311 GB, free: 54.66 MB / 1.279 GB Notification: Performance of SimCode: time 7.32e-07/12.7, allocations: 4 kB / 4.311 GB, free: 54.66 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.29/23, allocations: 0.7631 GB / 5.074 GB, free: 260.4 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/23, allocations: 279.2 kB / 5.075 GB, free: 260 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/41.71, allocations: 0 / 5.075 GB, free: 260 MB / 1.279 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat