Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.765/1.765, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 187.2 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007358/0.0007358, allocations: 93.8 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 8 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.5594, allocations: 121.3 MB / 1.041 GB, free: 58.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.8484/1.408, allocations: 355.6 MB / 1.388 GB, free: 77.58 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.1013/1.509, allocations: 94.55 MB / 1.48 GB, free: 40.37 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01958/1.529, allocations: 345.2 kB / 1.481 GB, free: 40.37 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01841/1.547, allocations: 4.401 MB / 1.485 GB, free: 38.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.04046/1.588, allocations: 12.49 MB / 1.497 GB, free: 30.92 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.02538/1.613, allocations: 8.926 MB / 1.506 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.04991/1.663, allocations: 48.12 MB / 1.553 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02601/1.689, allocations: 17.16 MB / 1.57 GB, free: 296 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03216/1.721, allocations: 14.38 MB / 1.584 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0278/1.749, allocations: 15.24 MB / 1.599 GB, free: 4.383 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006742/1.756, allocations: 1.066 MB / 1.6 GB, free: 3.316 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/1.775, allocations: 4.525 MB / 1.604 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.009395/1.785, allocations: 4.802 MB / 1.609 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.02077/1.805, allocations: 9.224 MB / 1.618 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.04862/1.854, allocations: 27.34 MB / 1.645 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/1.854, allocations: 0 / 1.645 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.675e-06/1.854, allocations: 0 / 1.645 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009928/1.855, allocations: 0 / 1.645 GB, free: 7.121 MB / 0.9948 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.05288/1.908, allocations: 19.99 MB / 1.664 GB, free: 3.137 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.908, allocations: 8.031 kB / 1.664 GB, free: 3.129 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.919, allocations: 2.266 MB / 1.666 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03949/1.959, allocations: 15.46 MB / 1.681 GB, free: 1.676 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000906/1.96, allocations: 0.6824 MB / 1.682 GB, free: 1 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004641/1.964, allocations: 0.9333 MB / 1.683 GB, free: 76 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04028/2.005, allocations: 16.38 MB / 1.699 GB, free: 15.5 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000409/2.005, allocations: 15.88 kB / 1.699 GB, free: 15.49 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003824/2.009, allocations: 328.2 kB / 1.699 GB, free: 15.18 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004123/2.009, allocations: 363.3 kB / 1.7 GB, free: 14.82 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04061/2.05, allocations: 20.89 MB / 1.72 GB, free: 9.918 MB / 1.073 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.9942/3.044, allocations: 82.48 MB / 1.801 GB, free: 346.4 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02072/3.065, allocations: 12.46 MB / 1.813 GB, free: 341 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01613/3.081, allocations: 9.783 MB / 1.822 GB, free: 336.9 MB / 1.073 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.07697/3.158, allocations: 35.53 MB / 1.857 GB, free: 319.1 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01657/3.175, allocations: 9.619 MB / 1.866 GB, free: 313.2 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02908/3.204, allocations: 9.92 MB / 1.876 GB, free: 304.8 MB / 1.073 GB Notification: Performance of pre-optimization done (n=555): time 3.843e-05/3.204, allocations: 0 / 1.876 GB, free: 304.8 MB / 1.073 GB Notification: Performance of matching and sorting (n=826): time 0.8686/4.073, allocations: 247.1 MB / 2.117 GB, free: 57.16 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.131/4.204, allocations: 55.59 MB / 2.172 GB, free: 496 kB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9624/5.166, allocations: 14.66 MB / 2.186 GB, free: 358.6 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.003995/5.17, allocations: 219.1 kB / 2.186 GB, free: 358.4 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.007647/5.178, allocations: 7.226 MB / 2.193 GB, free: 354.1 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007922/5.186, allocations: 2.943 MB / 2.196 GB, free: 352.9 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003498/5.189, allocations: 196.4 kB / 2.196 GB, free: 352.8 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0007661/5.19, allocations: 0.7229 MB / 2.197 GB, free: 352.3 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02811/5.218, allocations: 18.81 MB / 2.215 GB, free: 346.8 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.033/5.251, allocations: 21.53 MB / 2.236 GB, free: 338.2 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06099/5.312, allocations: 36.07 MB / 2.272 GB, free: 324.8 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/5.312, allocations: 18.16 kB / 2.272 GB, free: 324.8 MB / 1.073 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.5703/5.883, allocations: 144.1 MB / 2.412 GB, free: 204.5 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008208/5.884, allocations: 1.777 MB / 2.414 GB, free: 202 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.029e-05/5.884, allocations: 52 kB / 2.414 GB, free: 201.9 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5761/6.46, allocations: 143.6 MB / 2.554 GB, free: 58.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02598/6.486, allocations: 3.303 MB / 2.558 GB, free: 54.82 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6827/7.169, allocations: 78.71 MB / 2.635 GB, free: 323.3 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07974/7.248, allocations: 6.749 MB / 2.641 GB, free: 323.2 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007707/7.256, allocations: 1.284 MB / 2.642 GB, free: 323.1 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/7.256, allocations: 7.125 kB / 2.642 GB, free: 323.1 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.57/7.826, allocations: 141.3 MB / 2.78 GB, free: 236.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/7.826, allocations: 52.22 kB / 2.78 GB, free: 236.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6051/8.432, allocations: 143.3 MB / 2.92 GB, free: 93.25 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01654/8.448, allocations: 3.287 MB / 2.924 GB, free: 89.96 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6725/9.121, allocations: 82.72 MB / 3.004 GB, free: 322.6 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07633/9.197, allocations: 6.731 MB / 3.011 GB, free: 322.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006289/9.203, allocations: 1.259 MB / 3.012 GB, free: 322.4 MB / 1.073 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,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * 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.01416/9.218, allocations: 3.962 MB / 3.016 GB, free: 320.7 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00693/9.225, allocations: 1.456 MB / 3.017 GB, free: 320.7 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2142/9.439, allocations: 61.05 MB / 3.077 GB, free: 308.4 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2101/9.649, allocations: 67.43 MB / 3.143 GB, free: 272.6 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002124/9.649, allocations: 31.94 kB / 3.143 GB, free: 272.5 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.192/9.841, allocations: 66.75 MB / 3.208 GB, free: 205.7 MB / 1.073 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.2695/10.11, allocations: 129.9 MB / 3.335 GB, free: 75.79 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001004/10.11, allocations: 0 / 3.335 GB, free: 75.79 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01056/10.12, allocations: 1.898 MB / 3.337 GB, free: 73.89 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7788/10.9, allocations: 83.37 MB / 3.418 GB, free: 319.2 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004638/10.9, allocations: 0.5687 MB / 3.419 GB, free: 319.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1266/11.03, allocations: 70.96 MB / 3.488 GB, free: 303.1 MB / 1.073 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.1163/11.15, allocations: 53.68 MB / 3.541 GB, free: 266.9 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2409/11.39, allocations: 95.85 MB / 3.634 GB, free: 173.9 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02011/11.41, allocations: 5.876 MB / 3.64 GB, free: 168.2 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008828/11.42, allocations: 216 kB / 3.64 GB, free: 168 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04551/11.46, allocations: 3.649 MB / 3.644 GB, free: 164.4 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006347/11.47, allocations: 0.8727 MB / 3.644 GB, free: 163.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003438/11.47, allocations: 0.6237 MB / 3.645 GB, free: 162.9 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01834/11.49, allocations: 9.99 MB / 3.655 GB, free: 153 MB / 1.073 GB Notification: Performance of sort global known variables: time 6.52e-07/11.49, allocations: 0 / 3.655 GB, free: 153 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.09737/11.59, allocations: 38.5 MB / 3.692 GB, free: 114.6 MB / 1.073 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.005739/11.59, allocations: 1.747 MB / 3.694 GB, free: 113.1 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.1217/11.72, allocations: 74.34 MB / 3.767 GB, free: 38.75 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/11.72, allocations: 4 kB / 3.767 GB, free: 38.75 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.5657/12.28, allocations: 40.49 MB / 3.806 GB, free: 344.1 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.076/12.36, allocations: 7.354 MB / 3.813 GB, free: 343.6 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1122/12.47, allocations: 57.32 MB / 3.869 GB, free: 323.7 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01912/12.49, allocations: 9.713 MB / 3.879 GB, free: 321.5 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03411/12.52, allocations: 7.415 MB / 3.886 GB, free: 320.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01302/12.54, allocations: 1.937 MB / 3.888 GB, free: 320.4 MB / 1.073 GB Notification: Performance of SimCode: time 1.062e-06/12.54, allocations: 0 / 3.888 GB, free: 320.4 MB / 1.073 GB Notification: Performance of Templates: time 1.292/13.83, allocations: 0.5722 GB / 4.46 GB, free: 139.5 MB / 1.073 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)