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.0009743/0.0009742, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007631/0.007631, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.223/2.223, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 16 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6974, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9232/1.621, allocations: 348.1 MB / 1.295 GB, free: 59.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.08577/1.707, allocations: 72.38 MB / 1.366 GB, free: 57.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01521/1.722, allocations: 373.2 kB / 1.366 GB, free: 57.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01474/1.737, allocations: 4.408 MB / 1.37 GB, free: 56.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03762/1.774, allocations: 12.55 MB / 1.383 GB, free: 49.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0216/1.796, allocations: 8.945 MB / 1.391 GB, free: 44.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04501/1.841, allocations: 48.26 MB / 1.439 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02456/1.865, allocations: 17.21 MB / 1.455 GB, free: 7.141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03194/1.897, allocations: 14.13 MB / 1.469 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02758/1.925, allocations: 15.25 MB / 1.484 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00706/1.932, allocations: 1.059 MB / 1.485 GB, free: 10.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.023/1.955, allocations: 4.725 MB / 1.49 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.009328/1.964, allocations: 4.843 MB / 1.494 GB, free: 1.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02025/1.985, allocations: 9.288 MB / 1.503 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04416/2.029, allocations: 27.52 MB / 1.53 GB, free: 13.87 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/2.029, allocations: 0 / 1.53 GB, free: 13.87 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.943e-06/2.029, allocations: 0 / 1.53 GB, free: 13.87 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0008355/2.03, allocations: 0 / 1.53 GB, free: 13.87 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.05017/2.08, allocations: 20.15 MB / 1.55 GB, free: 9.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/2.08, allocations: 8.031 kB / 1.55 GB, free: 9.723 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004313/2.084, allocations: 1.048 MB / 1.551 GB, free: 8.672 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/2.098, allocations: 2.629 MB / 1.554 GB, free: 6.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03902/2.137, allocations: 17.81 MB / 1.571 GB, free: 4.484 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/2.137, allocations: 0.6807 MB / 1.572 GB, free: 3.809 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/2.141, allocations: 0.9243 MB / 1.573 GB, free: 2.891 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/2.174, allocations: 16.54 MB / 1.589 GB, free: 2.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000339/2.174, allocations: 19.78 kB / 1.589 GB, free: 2.141 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/2.177, allocations: 326.6 kB / 1.589 GB, free: 1.828 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/2.178, allocations: 363.3 kB / 1.589 GB, free: 1.473 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03917/2.217, allocations: 21.1 MB / 1.61 GB, free: 12.36 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.1357/2.353, allocations: 83.37 MB / 1.691 GB, free: 5.945 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/2.374, allocations: 12.63 MB / 1.704 GB, free: 9.539 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.9446/3.319, allocations: 9.858 MB / 1.713 GB, free: 0.4922 GB / 1.264 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.07147/3.39, allocations: 35.79 MB / 1.748 GB, free: 488.5 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01358/3.404, allocations: 9.718 MB / 1.758 GB, free: 482.6 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02731/3.431, allocations: 9.916 MB / 1.768 GB, free: 479.3 MB / 1.264 GB Notification: Performance of pre-optimization done (n=555): time 3.359e-05/3.431, allocations: 0 / 1.768 GB, free: 479.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=826): time 0.9563/4.387, allocations: 244.9 MB / 2.007 GB, free: 245 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.132/4.52, allocations: 55.65 MB / 2.061 GB, free: 188.3 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02365/4.543, allocations: 17.53 MB / 2.078 GB, free: 170.8 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.003766/4.547, allocations: 213.7 kB / 2.078 GB, free: 170.6 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006028/4.553, allocations: 7.234 MB / 2.085 GB, free: 163.4 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.007025/4.56, allocations: 2.943 MB / 2.088 GB, free: 160.4 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003077/4.563, allocations: 0.9405 MB / 2.089 GB, free: 159.5 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/4.563, allocations: 301.1 kB / 2.089 GB, free: 159.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02494/4.588, allocations: 18.94 MB / 2.108 GB, free: 140.2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02738/4.616, allocations: 21.57 MB / 2.129 GB, free: 117.7 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05133/4.667, allocations: 36.26 MB / 2.164 GB, free: 80.57 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-05/4.667, allocations: 20 kB / 2.164 GB, free: 80.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 1.573/6.24, allocations: 144.4 MB / 2.305 GB, free: 442.6 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007115/6.241, allocations: 1.783 MB / 2.307 GB, free: 440.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.401e-05/6.241, allocations: 52.59 kB / 2.307 GB, free: 440.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6704/6.911, allocations: 143.6 MB / 2.447 GB, free: 312.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01733/6.928, allocations: 3.324 MB / 2.451 GB, free: 309.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1326/7.061, allocations: 78.82 MB / 2.528 GB, free: 230.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09876/7.16, allocations: 6.769 MB / 2.534 GB, free: 223.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004555/7.164, allocations: 1.286 MB / 2.536 GB, free: 222.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/7.164, allocations: 4 kB / 2.536 GB, free: 222.1 MB / 1.264 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6352/7.8, allocations: 141.6 MB / 2.674 GB, free: 80.28 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/7.8, allocations: 59.72 kB / 2.674 GB, free: 80.22 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165/8.965, allocations: 143.3 MB / 2.814 GB, free: 430.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01618/8.981, allocations: 3.305 MB / 2.817 GB, free: 429.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/9.127, allocations: 82.82 MB / 2.898 GB, free: 358.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09866/9.226, allocations: 6.745 MB / 2.904 GB, free: 352.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005372/9.231, allocations: 1.263 MB / 2.906 GB, free: 351 MB / 1.264 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.01142/9.243, allocations: 3.975 MB / 2.91 GB, free: 347 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004888/9.248, allocations: 1.473 MB / 2.911 GB, free: 346.3 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2156/9.463, allocations: 61.25 MB / 2.971 GB, free: 285.1 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2244/9.688, allocations: 67.59 MB / 3.037 GB, free: 217.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-05/9.688, allocations: 28 kB / 3.037 GB, free: 217.4 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2104/9.898, allocations: 66.93 MB / 3.102 GB, free: 150.4 MB / 1.264 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.2855/10.18, allocations: 130.4 MB / 3.23 GB, free: 20.05 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-05/10.18, allocations: 0 / 3.23 GB, free: 20.05 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01095/10.19, allocations: 1.93 MB / 3.231 GB, free: 18.12 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8851/11.08, allocations: 83.32 MB / 3.313 GB, free: 431.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003422/11.08, allocations: 0.569 MB / 3.313 GB, free: 430.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1144/11.2, allocations: 70.99 MB / 3.383 GB, free: 371.9 MB / 1.264 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.1027/11.3, allocations: 53.69 MB / 3.435 GB, free: 317.2 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2415/11.54, allocations: 96.37 MB / 3.529 GB, free: 221.6 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0141/11.56, allocations: 5.945 MB / 3.535 GB, free: 216.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005393/11.56, allocations: 216 kB / 3.535 GB, free: 216.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05285/11.61, allocations: 3.689 MB / 3.539 GB, free: 212.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004415/11.62, allocations: 0.8615 MB / 3.54 GB, free: 211.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001974/11.62, allocations: 0.6198 MB / 3.54 GB, free: 211.1 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0172/11.64, allocations: 12.28 MB / 3.552 GB, free: 198.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.8e-07/11.64, allocations: 0 / 3.552 GB, free: 198.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.09518/11.73, allocations: 38.49 MB / 3.59 GB, free: 160.6 MB / 1.264 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.2556/11.99, allocations: 97.76 MB / 3.685 GB, free: 63.15 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.5663/12.56, allocations: 74.69 MB / 3.758 GB, free: 460.9 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/12.56, allocations: 2.438 kB / 3.758 GB, free: 460.9 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.07284/12.63, allocations: 40.61 MB / 3.798 GB, free: 453.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05406/12.68, allocations: 7.375 MB / 3.805 GB, free: 452.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.085/14.77, allocations: 0.5439 GB / 4.349 GB, free: 411.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007382/14.78, allocations: 9.737 MB / 4.359 GB, free: 402.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.02201/14.8, allocations: 7.492 MB / 4.366 GB, free: 395.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01548/14.81, allocations: 9.627 MB / 4.375 GB, free: 390.5 MB / 1.264 GB Notification: Performance of SimCode: time 9.22e-07/14.81, allocations: 7.656 kB / 4.375 GB, free: 390.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.481/19.29, allocations: 0.7248 GB / 5.1 GB, free: 88.13 MB / 1.264 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/19.29, allocations: 278.7 kB / 5.1 GB, free: 87.75 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.87/39.16, allocations: 4 kB / 5.1 GB, free: 87.74 MB / 1.264 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