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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001625/0.001625, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.601/0.6024, allocations: 140.4 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.8312/1.434, allocations: 353.1 MB / 1.294 GB, free: 59.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.08284/1.517, allocations: 73.09 MB / 1.365 GB, free: 56.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01481/1.531, allocations: 395.8 kB / 1.366 GB, free: 56.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01362/1.545, allocations: 4.423 MB / 1.37 GB, free: 55.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03134/1.576, allocations: 12.55 MB / 1.382 GB, free: 49.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01993/1.596, allocations: 8.916 MB / 1.391 GB, free: 43.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03729/1.634, allocations: 48.27 MB / 1.438 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02199/1.656, allocations: 17.51 MB / 1.455 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02937/1.685, allocations: 14.51 MB / 1.469 GB, free: 3.828 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02598/1.711, allocations: 15.71 MB / 1.485 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.006664/1.718, allocations: 1.207 MB / 1.486 GB, free: 4.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/1.736, allocations: 4.877 MB / 1.491 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.009673/1.745, allocations: 5.09 MB / 1.496 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02012/1.765, allocations: 9.567 MB / 1.505 GB, free: 1.184 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03831/1.804, allocations: 28.13 MB / 1.532 GB, free: 6.121 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.804, allocations: 0 / 1.532 GB, free: 6.121 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/1.804, allocations: 0 / 1.532 GB, free: 6.121 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0007713/1.805, allocations: 0 / 1.532 GB, free: 6.121 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.05818/1.863, allocations: 22.27 MB / 1.554 GB, free: 15.92 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.863, allocations: 12.03 kB / 1.554 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004012/1.867, allocations: 1.042 MB / 1.555 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/1.881, allocations: 2.582 MB / 1.558 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03671/1.917, allocations: 17.84 MB / 1.575 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/1.918, allocations: 0.6808 MB / 1.576 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004076/1.922, allocations: 0.9219 MB / 1.577 GB, free: 9.117 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/1.957, allocations: 16.54 MB / 1.593 GB, free: 8.398 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002818/1.958, allocations: 15.84 kB / 1.593 GB, free: 8.383 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002679/1.96, allocations: 325.6 kB / 1.593 GB, free: 8.07 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003633/1.961, allocations: 371.2 kB / 1.593 GB, free: 7.707 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03548/1.996, allocations: 21.07 MB / 1.614 GB, free: 2.629 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.1324/2.129, allocations: 81.78 MB / 1.694 GB, free: 13.79 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/2.149, allocations: 12.61 MB / 1.706 GB, free: 1.41 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01469/2.164, allocations: 9.835 MB / 1.716 GB, free: 7.562 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 1.013/3.177, allocations: 34.51 MB / 1.75 GB, free: 0.497 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01846/3.196, allocations: 9.708 MB / 1.759 GB, free: 0.4937 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02813/3.224, allocations: 8.559 MB / 1.767 GB, free: 0.4912 GB / 1.279 GB Notification: Performance of pre-optimization done (n=555): time 5.78e-05/3.224, allocations: 0 / 1.767 GB, free: 0.4912 GB / 1.279 GB Notification: Performance of matching and sorting (n=826): time 0.8738/4.098, allocations: 214.9 MB / 1.977 GB, free: 304.3 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1305/4.228, allocations: 55.25 MB / 2.031 GB, free: 248 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02148/4.25, allocations: 17.55 MB / 2.048 GB, free: 230.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00333/4.253, allocations: 213.7 kB / 2.049 GB, free: 230.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00515/4.259, allocations: 7.224 MB / 2.056 GB, free: 223.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.006709/4.265, allocations: 2.939 MB / 2.058 GB, free: 220.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006974/4.272, allocations: 3.548 MB / 2.062 GB, free: 216.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.399e-05/4.272, allocations: 301.1 kB / 2.062 GB, free: 216.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02443/4.297, allocations: 18.98 MB / 2.081 GB, free: 197.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02702/4.324, allocations: 21.54 MB / 2.102 GB, free: 174.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05162/4.375, allocations: 36.22 MB / 2.137 GB, free: 137.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.996e-05/4.375, allocations: 16 kB / 2.137 GB, free: 137.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 1.354/5.73, allocations: 131.5 MB / 2.266 GB, free: 463.7 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.892e-05/5.73, allocations: 58.11 kB / 2.266 GB, free: 463.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/5.73, allocations: 52.66 kB / 2.266 GB, free: 463.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5731/6.303, allocations: 117.9 MB / 2.381 GB, free: 423.4 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01701/6.32, allocations: 3.303 MB / 2.384 GB, free: 420.3 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1311/6.451, allocations: 77.53 MB / 2.46 GB, free: 342.7 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07883/6.53, allocations: 6.769 MB / 2.466 GB, free: 336 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004615/6.535, allocations: 1.286 MB / 2.468 GB, free: 334.7 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0309/6.566, allocations: 22 MB / 2.489 GB, free: 312.7 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02641/6.592, allocations: 21.11 MB / 2.51 GB, free: 290.6 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04998/6.642, allocations: 35.31 MB / 2.544 GB, free: 254.5 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.115e-05/6.642, allocations: 16 kB / 2.544 GB, free: 254.4 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.565/7.207, allocations: 130.1 MB / 2.671 GB, free: 125.1 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/7.207, allocations: 57.77 kB / 2.671 GB, free: 125 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.559e-05/7.207, allocations: 52 kB / 2.671 GB, free: 125 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042/8.249, allocations: 117.6 MB / 2.786 GB, free: 452.7 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/8.266, allocations: 3.283 MB / 2.789 GB, free: 452.7 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.157/8.423, allocations: 81.48 MB / 2.869 GB, free: 432.9 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07902/8.502, allocations: 6.777 MB / 2.876 GB, free: 431.3 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006431/8.509, allocations: 1.254 MB / 2.877 GB, free: 430.5 MB / 1.28 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.008507/8.517, allocations: 0.7288 MB / 2.878 GB, free: 429.9 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008012/8.525, allocations: 1.476 MB / 2.879 GB, free: 429.9 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2041/8.729, allocations: 60.24 MB / 2.938 GB, free: 378.3 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1954/8.925, allocations: 66.62 MB / 3.003 GB, free: 311.8 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.83e-05/8.925, allocations: 28 kB / 3.003 GB, free: 311.8 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1897/9.115, allocations: 65.94 MB / 3.067 GB, free: 245.9 MB / 1.28 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 postOpt removeSimpleEquations (simulation): time 0.2524/9.367, allocations: 129.4 MB / 3.194 GB, free: 116.6 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.259e-05/9.367, allocations: 0 / 3.194 GB, free: 116.6 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01027/9.377, allocations: 1.922 MB / 3.196 GB, free: 114.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3178/9.695, allocations: 81.41 MB / 3.275 GB, free: 33.37 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003229/9.699, allocations: 0.5612 MB / 3.276 GB, free: 32.8 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5548/10.25, allocations: 55.73 MB / 3.33 GB, free: 455.3 MB / 1.28 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 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 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.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 ] 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.1092/10.36, allocations: 53.18 MB / 3.382 GB, free: 431.2 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2266/10.59, allocations: 95.36 MB / 3.475 GB, free: 353.7 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01309/10.6, allocations: 5.741 MB / 3.481 GB, free: 348.7 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005856/10.61, allocations: 211.9 kB / 3.481 GB, free: 348.5 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04937/10.66, allocations: 3.679 MB / 3.484 GB, free: 344.9 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008031/10.67, allocations: 0.8615 MB / 3.485 GB, free: 344 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005767/10.67, allocations: 0.6237 MB / 3.486 GB, free: 343.4 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.02929/10.7, allocations: 12.28 MB / 3.498 GB, free: 331.2 MB / 1.28 GB Notification: Performance of sort global known variables: time 1.252e-06/10.7, allocations: 0 / 3.498 GB, free: 331.2 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.1268/10.83, allocations: 38.48 MB / 3.535 GB, free: 292.8 MB / 1.28 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 (609): * Single equations (assignments): 588 * 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.219/11.05, allocations: 96.71 MB / 3.63 GB, free: 196.6 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.1128/11.16, allocations: 74.36 MB / 3.703 GB, free: 122.2 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/11.16, allocations: 4 kB / 3.703 GB, free: 122.2 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.04681/11.21, allocations: 25.27 MB / 3.727 GB, free: 96.9 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04903/11.26, allocations: 7.356 MB / 3.734 GB, free: 89.73 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.933/13.19, allocations: 0.5184 GB / 4.253 GB, free: 85.59 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009341/13.2, allocations: 9.731 MB / 4.262 GB, free: 75.82 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.02541/13.22, allocations: 7.484 MB / 4.27 GB, free: 68.55 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01647/13.24, allocations: 9.623 MB / 4.279 GB, free: 58.92 MB / 1.28 GB Notification: Performance of SimCode: time 9.72e-07/13.24, allocations: 0 / 4.279 GB, free: 58.92 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.461/17.7, allocations: 0.7412 GB / 5.02 GB, free: 276.1 MB / 1.28 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/17.7, allocations: 280.1 kB / 5.021 GB, free: 275.7 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.63/36.33, allocations: 0 / 5.021 GB, free: 275.7 MB / 1.28 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