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.00649/0.00649, allocations: 107 kB / 15.74 MB, free: 6.043 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.001469/0.001469, allocations: 199 kB / 16.68 MB, free: 5.957 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.184/2.184, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.88 kB / 0.9505 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8189, allocations: 140.4 MB / 1.088 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3575/1.176, allocations: 355.6 MB / 1.435 GB, free: 9.625 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.1024/1.279, allocations: 72.94 MB / 1.506 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01725/1.296, allocations: 425.5 kB / 1.506 GB, free: 80 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01549/1.312, allocations: 5.315 MB / 1.512 GB, free: 10.73 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03786/1.35, allocations: 13.53 MB / 1.525 GB, free: 13.16 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0234/1.373, allocations: 9.767 MB / 1.534 GB, free: 3.457 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.0447/1.418, allocations: 37.55 MB / 1.571 GB, free: 13.8 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7125/2.13, allocations: 19.78 MB / 1.59 GB, free: 77.1 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03616/2.166, allocations: 16.7 MB / 1.607 GB, free: 77.09 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02884/2.195, allocations: 15.83 MB / 1.622 GB, free: 75.2 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.008344/2.204, allocations: 1.859 MB / 1.624 GB, free: 75.2 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02151/2.225, allocations: 5.7 MB / 1.63 GB, free: 75.2 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01231/2.238, allocations: 5.776 MB / 1.635 GB, free: 74.52 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02362/2.261, allocations: 10.38 MB / 1.645 GB, free: 71.84 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04155/2.303, allocations: 29.01 MB / 1.674 GB, free: 68.41 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/2.303, allocations: 0 / 1.674 GB, free: 68.41 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.473e-06/2.303, allocations: 0 / 1.674 GB, free: 68.41 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0009237/2.304, allocations: 0 / 1.674 GB, free: 68.41 MB / 1.311 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.06492/2.369, allocations: 22.25 MB / 1.695 GB, free: 60.43 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/2.369, allocations: 7.344 kB / 1.695 GB, free: 60.43 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006234/2.375, allocations: 1.048 MB / 1.696 GB, free: 60.34 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/2.39, allocations: 2.583 MB / 1.699 GB, free: 59.33 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03765/2.428, allocations: 18.12 MB / 1.717 GB, free: 55.86 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008644/2.429, allocations: 0.6648 MB / 1.717 GB, free: 55.84 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006285/2.435, allocations: 0.9234 MB / 1.718 GB, free: 55.82 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03514/2.47, allocations: 16.52 MB / 1.734 GB, free: 50.86 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/2.47, allocations: 16.09 kB / 1.734 GB, free: 50.86 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/2.473, allocations: 327.9 kB / 1.735 GB, free: 50.86 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/2.473, allocations: 368.3 kB / 1.735 GB, free: 50.82 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/2.507, allocations: 21.04 MB / 1.756 GB, free: 47.65 MB / 1.311 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.13/2.637, allocations: 82.11 MB / 1.836 GB, free: 9.5 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02619/2.663, allocations: 12.54 MB / 1.848 GB, free: 13.19 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01757/2.68, allocations: 9.869 MB / 1.858 GB, free: 3.305 MB / 1.357 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.08567/2.766, allocations: 34.53 MB / 1.891 GB, free: 500 kB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01631/2.783, allocations: 9.692 MB / 1.901 GB, free: 6.73 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02101/2.804, allocations: 5.755 MB / 1.906 GB, free: 1.133 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 2.816e-05/2.804, allocations: 0 / 1.906 GB, free: 1.133 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 0.9881/3.792, allocations: 217.1 MB / 2.118 GB, free: 7.172 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6354/4.427, allocations: 55.94 MB / 2.173 GB, free: 0.7184 GB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0377/4.465, allocations: 17.63 MB / 2.19 GB, free: 0.7169 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004037/4.469, allocations: 220.5 kB / 2.19 GB, free: 0.7167 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.008851/4.478, allocations: 7.185 MB / 2.197 GB, free: 0.7125 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00798/4.486, allocations: 2.927 MB / 2.2 GB, free: 0.7121 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01558/4.502, allocations: 3.542 MB / 2.204 GB, free: 0.7113 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/4.502, allocations: 304.9 kB / 2.204 GB, free: 0.711 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03356/4.535, allocations: 18.96 MB / 2.223 GB, free: 0.7056 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03322/4.568, allocations: 21.55 MB / 2.244 GB, free: 0.6973 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05503/4.623, allocations: 36.2 MB / 2.279 GB, free: 0.6843 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.734e-05/4.624, allocations: 23.06 kB / 2.279 GB, free: 0.6843 GB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.623/5.247, allocations: 131.5 MB / 2.407 GB, free: 0.5845 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/5.247, allocations: 53.7 kB / 2.407 GB, free: 0.5844 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.448e-05/5.247, allocations: 52 kB / 2.408 GB, free: 0.5844 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6138/5.861, allocations: 118 MB / 2.523 GB, free: 480.5 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0176/5.878, allocations: 3.307 MB / 2.526 GB, free: 477.2 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1364/6.015, allocations: 81.54 MB / 2.606 GB, free: 395.3 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09616/6.111, allocations: 6.356 MB / 2.612 GB, free: 388.9 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00573/6.117, allocations: 1.286 MB / 2.613 GB, free: 387.6 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03493/6.152, allocations: 21.99 MB / 2.635 GB, free: 365.6 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02735/6.179, allocations: 21.09 MB / 2.655 GB, free: 343.5 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05538/6.234, allocations: 35.3 MB / 2.69 GB, free: 307.4 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-05/6.234, allocations: 16 kB / 2.69 GB, free: 307.4 MB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6174/6.852, allocations: 130.1 MB / 2.817 GB, free: 177.2 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/6.852, allocations: 53.92 kB / 2.817 GB, free: 177.1 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-05/6.852, allocations: 60 kB / 2.817 GB, free: 177 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6113/7.463, allocations: 117.6 MB / 2.932 GB, free: 59.45 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/7.48, allocations: 3.28 MB / 2.935 GB, free: 56.16 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.751/8.231, allocations: 86.09 MB / 3.019 GB, free: 0.6751 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.104/8.335, allocations: 6.377 MB / 3.025 GB, free: 0.6749 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006698/8.342, allocations: 1.255 MB / 3.026 GB, free: 0.6749 GB / 1.67 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 (1027): * Single equations (assignments): 1011 * 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.008781/8.351, allocations: 0.7202 MB / 3.027 GB, free: 0.6744 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008817/8.359, allocations: 1.47 MB / 3.029 GB, free: 0.6744 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2418/8.601, allocations: 60.23 MB / 3.087 GB, free: 0.6611 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2294/8.831, allocations: 66.73 MB / 3.152 GB, free: 0.6188 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001945/8.831, allocations: 34.56 kB / 3.153 GB, free: 0.6188 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2247/9.056, allocations: 66.05 MB / 3.217 GB, free: 0.5544 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3037/9.359, allocations: 129 MB / 3.343 GB, free: 439 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.039e-05/9.359, allocations: 7.984 kB / 3.343 GB, free: 439 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01126/9.371, allocations: 1.907 MB / 3.345 GB, free: 437.1 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.351/9.722, allocations: 81.37 MB / 3.424 GB, free: 355.9 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004167/9.726, allocations: 0.5727 MB / 3.425 GB, free: 355.3 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1111/9.837, allocations: 58.3 MB / 3.482 GB, free: 296.9 MB / 1.67 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 2 : 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 + 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. 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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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.1182/9.955, allocations: 54.02 MB / 3.535 GB, free: 241.8 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2645/10.22, allocations: 95.15 MB / 3.628 GB, free: 147.3 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0189/10.24, allocations: 5.737 MB / 3.633 GB, free: 141.6 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007549/10.25, allocations: 215.9 kB / 3.633 GB, free: 141.4 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0533/10.3, allocations: 3.249 MB / 3.637 GB, free: 138.1 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005034/10.3, allocations: 0.8615 MB / 3.637 GB, free: 137.2 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002935/10.31, allocations: 0.6159 MB / 3.638 GB, free: 136.6 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02029/10.33, allocations: 12.36 MB / 3.65 GB, free: 124.3 MB / 1.67 GB Notification: Performance of sort global known variables: time 4.51e-07/10.33, allocations: 0 / 3.65 GB, free: 124.3 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.08803/10.42, allocations: 38.12 MB / 3.687 GB, free: 86.32 MB / 1.67 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 (605): * Single equations (assignments): 584 * 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.7721/11.19, allocations: 96.54 MB / 3.782 GB, free: 0.6933 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.1418/11.33, allocations: 74.38 MB / 3.854 GB, free: 0.6702 GB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/11.33, allocations: 7.469 kB / 3.854 GB, free: 0.6702 GB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.05565/11.39, allocations: 25.32 MB / 3.879 GB, free: 0.6624 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05125/11.44, allocations: 7.179 MB / 3.886 GB, free: 0.6606 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.543/12.98, allocations: 426.1 MB / 4.302 GB, free: 266.8 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01679/13, allocations: 9.748 MB / 4.312 GB, free: 257 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.03295/13.03, allocations: 7.457 MB / 4.319 GB, free: 249.5 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02334/13.05, allocations: 9.619 MB / 4.328 GB, free: 239.9 MB / 1.67 GB Notification: Performance of SimCode: time 9.32e-07/13.05, allocations: 0 / 4.328 GB, free: 239.9 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.416/15.47, allocations: 0.7652 GB / 5.093 GB, free: 239.4 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 76.38/91.85, allocations: 15.44 kB / 5.093 GB, free: 239.3 MB / 1.67 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