Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8335/0.8335, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.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.001152/0.001152, allocations: 179.3 kB / 192 MB, free: 6.734 MB / 154.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.424/1.424, allocations: 225.7 MB / 450.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 114.4 kB / 0.5211 GB, free: 1.633 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 272.2 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004307, allocations: 10.41 kB / 0.6948 GB, free: 59.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 82.46 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6457/0.7998, allocations: 355.6 MB / 1.123 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5702/1.37, allocations: 94.52 MB / 1.215 GB, free: 40.03 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01732/1.387, allocations: 346.9 kB / 1.215 GB, free: 40.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.01713/1.405, allocations: 4.395 MB / 1.219 GB, free: 39.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.04763/1.452, allocations: 12.49 MB / 1.232 GB, free: 39.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02489/1.477, allocations: 8.939 MB / 1.24 GB, free: 39.04 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.05316/1.53, allocations: 48.11 MB / 1.287 GB, free: 27.92 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02616/1.557, allocations: 17.16 MB / 1.304 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02947/1.586, allocations: 14.38 MB / 1.318 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0278/1.614, allocations: 15.24 MB / 1.333 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.007789/1.622, allocations: 1.062 MB / 1.334 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02111/1.643, allocations: 4.527 MB / 1.339 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.01044/1.653, allocations: 4.794 MB / 1.343 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0242/1.678, allocations: 9.226 MB / 1.352 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04286/1.72, allocations: 27.35 MB / 1.379 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.721, allocations: 0 / 1.379 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.395e-06/1.721, allocations: 0 / 1.379 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0009207/1.721, allocations: 0 / 1.379 GB, free: 2.102 MB / 0.7605 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.04961/1.771, allocations: 20.01 MB / 1.398 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.771, allocations: 8.031 kB / 1.398 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/1.782, allocations: 2.261 MB / 1.401 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03442/1.817, allocations: 15.46 MB / 1.416 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007796/1.818, allocations: 0.679 MB / 1.416 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004708/1.822, allocations: 0.9341 MB / 1.417 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03941/1.862, allocations: 16.38 MB / 1.433 GB, free: 14.01 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00036/1.862, allocations: 15.84 kB / 1.433 GB, free: 13.99 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003613/1.866, allocations: 323.3 kB / 1.434 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003965/1.866, allocations: 371.2 kB / 1.434 GB, free: 13.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04038/1.907, allocations: 20.9 MB / 1.454 GB, free: 8.406 MB / 0.8386 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.7632/2.67, allocations: 82.48 MB / 1.535 GB, free: 331.2 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/2.689, allocations: 12.45 MB / 1.547 GB, free: 324.1 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/2.703, allocations: 9.788 MB / 1.557 GB, free: 318.6 MB / 0.8543 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.07091/2.774, allocations: 35.54 MB / 1.591 GB, free: 283.9 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01647/2.791, allocations: 9.613 MB / 1.601 GB, free: 274.2 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03168/2.823, allocations: 9.92 MB / 1.61 GB, free: 265.2 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=555): time 7.166e-05/2.823, allocations: 0 / 1.61 GB, free: 265.2 MB / 0.8543 GB Notification: Performance of matching and sorting (n=826): time 0.8727/3.695, allocations: 247.2 MB / 1.852 GB, free: 17.54 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5056/4.201, allocations: 55.66 MB / 1.906 GB, free: 337.3 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02693/4.228, allocations: 14.66 MB / 1.921 GB, free: 332.7 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.004389/4.232, allocations: 220.4 kB / 1.921 GB, free: 332.5 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.008552/4.241, allocations: 7.21 MB / 1.928 GB, free: 328.1 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.009013/4.25, allocations: 2.938 MB / 1.931 GB, free: 326.5 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004165/4.254, allocations: 195.1 kB / 1.931 GB, free: 326.4 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0008184/4.255, allocations: 0.7232 MB / 1.932 GB, free: 325.9 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02845/4.284, allocations: 18.82 MB / 1.95 GB, free: 320.4 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02913/4.313, allocations: 21.52 MB / 1.971 GB, free: 305 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05478/4.368, allocations: 36.07 MB / 2.006 GB, free: 268.3 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.003e-05/4.368, allocations: 12 kB / 2.006 GB, free: 268.2 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.5465/4.914, allocations: 144.1 MB / 2.147 GB, free: 124.6 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008218/4.915, allocations: 1.777 MB / 2.149 GB, free: 122 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/4.915, allocations: 52 kB / 2.149 GB, free: 122 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239/6.154, allocations: 143.6 MB / 2.289 GB, free: 319.7 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01727/6.172, allocations: 3.302 MB / 2.292 GB, free: 319.7 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1353/6.307, allocations: 78.71 MB / 2.369 GB, free: 271.6 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07701/6.384, allocations: 6.759 MB / 2.376 GB, free: 265.2 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007485/6.392, allocations: 1.282 MB / 2.377 GB, free: 263.9 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/6.392, allocations: 7.938 kB / 2.377 GB, free: 263.9 MB / 0.8544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.529/6.921, allocations: 141.3 MB / 2.515 GB, free: 122.3 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/6.921, allocations: 56.97 kB / 2.515 GB, free: 122.3 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8863/7.807, allocations: 143.3 MB / 2.655 GB, free: 297.7 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01538/7.822, allocations: 3.286 MB / 2.658 GB, free: 297.7 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1419/7.964, allocations: 82.71 MB / 2.739 GB, free: 263.8 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07566/8.04, allocations: 6.73 MB / 2.745 GB, free: 257.6 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00623/8.046, allocations: 1.259 MB / 2.747 GB, free: 256.3 MB / 0.8544 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.0134/8.06, allocations: 3.953 MB / 2.751 GB, free: 252.4 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005881/8.066, allocations: 1.46 MB / 2.752 GB, free: 251.7 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1958/8.262, allocations: 61.06 MB / 2.812 GB, free: 190.7 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1888/8.45, allocations: 67.43 MB / 2.877 GB, free: 123.2 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002573/8.451, allocations: 31.94 kB / 2.877 GB, free: 123.2 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1882/8.639, allocations: 66.74 MB / 2.943 GB, free: 56.35 MB / 0.8544 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.6681/9.307, allocations: 130 MB / 3.07 GB, free: 294.4 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001661/9.307, allocations: 5.781 kB / 3.07 GB, free: 294.4 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/9.318, allocations: 1.896 MB / 3.071 GB, free: 293.1 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2921/9.61, allocations: 83.37 MB / 3.153 GB, free: 213 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00415/9.614, allocations: 0.569 MB / 3.153 GB, free: 212.4 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1127/9.727, allocations: 70.95 MB / 3.223 GB, free: 141.4 MB / 0.8544 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.104/9.831, allocations: 53.75 MB / 3.275 GB, free: 86.64 MB / 0.8544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6724/10.5, allocations: 95.84 MB / 3.369 GB, free: 300.8 MB / 0.8544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01986/10.52, allocations: 5.879 MB / 3.374 GB, free: 300.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008982/10.53, allocations: 210.2 kB / 3.375 GB, free: 300.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04751/10.58, allocations: 3.645 MB / 3.378 GB, free: 300.7 MB / 0.8544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007034/10.59, allocations: 0.8661 MB / 3.379 GB, free: 300.7 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004414/10.59, allocations: 0.6247 MB / 3.38 GB, free: 300.7 MB / 0.8544 GB Notification: Performance of sorting global known variables: time 0.02511/10.62, allocations: 9.992 MB / 3.389 GB, free: 300.2 MB / 0.8544 GB Notification: Performance of sort global known variables: time 1.202e-06/10.62, allocations: 0 / 3.389 GB, free: 300.2 MB / 0.8544 GB Notification: Performance of remove unused functions: time 0.1005/10.72, allocations: 38.5 MB / 3.427 GB, free: 292.4 MB / 0.8544 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.005972/10.72, allocations: 1.759 MB / 3.429 GB, free: 291.4 MB / 0.8544 GB Notification: Performance of simCode: created initialization part: time 0.1246/10.85, allocations: 74.33 MB / 3.501 GB, free: 231.9 MB / 0.8544 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/10.85, allocations: 4 kB / 3.501 GB, free: 231.9 MB / 0.8544 GB Notification: Performance of simCode: created simulation system equations: time 0.07076/10.92, allocations: 40.49 MB / 3.541 GB, free: 197.1 MB / 0.8544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05438/10.97, allocations: 7.361 MB / 3.548 GB, free: 190 MB / 0.8544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07964/11.05, allocations: 57.33 MB / 3.604 GB, free: 132.7 MB / 0.8544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/11.06, allocations: 9.711 MB / 3.614 GB, free: 123 MB / 0.8544 GB Notification: Performance of simCode: alias equations: time 0.02749/11.09, allocations: 7.425 MB / 3.621 GB, free: 115.5 MB / 0.8544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/11.1, allocations: 1.937 MB / 3.623 GB, free: 113.6 MB / 0.8544 GB Notification: Performance of SimCode: time 1.873e-06/11.1, allocations: 0 / 3.623 GB, free: 113.6 MB / 0.8544 GB Notification: Performance of Templates: time 1.533/12.64, allocations: 0.5723 GB / 4.195 GB, free: 206.6 MB / 0.8544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)