Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_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.004938/0.004938, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001243/0.001243, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.21/1.21, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 288.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8637/0.8637, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 95.86 kB / 0.6811 GB, free: 7.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3582, allocations: 86.97 MB / 0.766 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6087/0.9669, allocations: 357.7 MB / 1.115 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.09396/1.061, allocations: 75.87 MB / 1.189 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01311/1.074, allocations: 433.5 kB / 1.19 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01645/1.091, allocations: 6.559 MB / 1.196 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03531/1.126, allocations: 14.76 MB / 1.211 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0222/1.148, allocations: 10.19 MB / 1.221 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.09016/1.238, allocations: 74.28 MB / 1.293 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02616/1.264, allocations: 20.05 MB / 1.313 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7877/2.052, allocations: 17.43 MB / 1.33 GB, free: 64.98 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02653/2.079, allocations: 16.37 MB / 1.346 GB, free: 62.94 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.007482/2.086, allocations: 1.955 MB / 1.348 GB, free: 62.94 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/2.104, allocations: 6.056 MB / 1.354 GB, free: 62.94 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.009337/2.113, allocations: 6.486 MB / 1.36 GB, free: 62.2 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02101/2.134, allocations: 11.27 MB / 1.371 GB, free: 59.28 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04321/2.177, allocations: 31.43 MB / 1.402 GB, free: 55.23 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/2.177, allocations: 0 / 1.402 GB, free: 55.23 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.743e-06/2.177, allocations: 3.562 kB / 1.402 GB, free: 55.23 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0008701/2.178, allocations: 0 / 1.402 GB, free: 55.23 MB / 0.9357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06664/2.245, allocations: 24.7 MB / 1.426 GB, free: 46.04 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/2.245, allocations: 15.59 kB / 1.426 GB, free: 46.04 MB / 0.9357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004463/2.249, allocations: 1.049 MB / 1.427 GB, free: 45.96 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/2.266, allocations: 3.299 MB / 1.43 GB, free: 44.81 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0392/2.305, allocations: 23.15 MB / 1.453 GB, free: 39.09 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000495/2.305, allocations: 0.6759 MB / 1.453 GB, free: 39.07 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003681/2.309, allocations: 0.9388 MB / 1.454 GB, free: 39.05 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02659/2.336, allocations: 17.07 MB / 1.471 GB, free: 27.57 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/2.336, allocations: 14.28 kB / 1.471 GB, free: 27.57 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/2.337, allocations: 325.3 kB / 1.471 GB, free: 27.5 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/2.338, allocations: 371.5 kB / 1.471 GB, free: 27.16 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/2.366, allocations: 21.5 MB / 1.492 GB, free: 11.64 MB / 0.9357 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.128/2.494, allocations: 84.09 MB / 1.575 GB, free: 5.121 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/2.515, allocations: 13.03 MB / 1.587 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01504/2.53, allocations: 10.08 MB / 1.597 GB, free: 14.25 MB / 1.045 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.06515/2.595, allocations: 35.57 MB / 1.632 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01461/2.609, allocations: 10.14 MB / 1.642 GB, free: 104 kB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01879/2.628, allocations: 5.833 MB / 1.648 GB, free: 10.43 MB / 1.092 GB Notification: Performance of pre-optimization done (n=567): time 2.205e-05/2.628, allocations: 0 / 1.648 GB, free: 10.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=838): time 1.244/3.873, allocations: 218.2 MB / 1.861 GB, free: 470.6 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1247/3.997, allocations: 56.04 MB / 1.915 GB, free: 413.6 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02952/4.027, allocations: 20.51 MB / 1.935 GB, free: 393.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003871/4.031, allocations: 229.6 kB / 1.936 GB, free: 393 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.007531/4.038, allocations: 7.876 MB / 1.943 GB, free: 385.6 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.007861/4.046, allocations: 3.145 MB / 1.946 GB, free: 382.5 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01271/4.059, allocations: 4 MB / 1.95 GB, free: 378.4 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/4.059, allocations: 305.2 kB / 1.95 GB, free: 378.1 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02595/4.085, allocations: 20.27 MB / 1.97 GB, free: 357.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02755/4.113, allocations: 23.1 MB / 1.993 GB, free: 333.7 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05677/4.169, allocations: 38.6 MB / 2.031 GB, free: 294.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.802e-05/4.169, allocations: 19.94 kB / 2.031 GB, free: 294.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.601/4.77, allocations: 134.6 MB / 2.162 GB, free: 159.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/4.771, allocations: 61.75 kB / 2.162 GB, free: 159.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/4.771, allocations: 52 kB / 2.162 GB, free: 159.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5866/5.357, allocations: 118 MB / 2.277 GB, free: 41.49 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01789/5.375, allocations: 3.549 MB / 2.281 GB, free: 37.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4675/5.843, allocations: 81.91 MB / 2.361 GB, free: 0.4883 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09278/5.936, allocations: 6.456 MB / 2.367 GB, free: 499.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004459/5.94, allocations: 1.314 MB / 2.368 GB, free: 499.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03323/5.973, allocations: 23.68 MB / 2.392 GB, free: 492.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02988/6.003, allocations: 22.58 MB / 2.414 GB, free: 482 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0523/6.056, allocations: 37.58 MB / 2.45 GB, free: 444.6 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.813e-05/6.056, allocations: 16 kB / 2.45 GB, free: 444.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5986/6.654, allocations: 133.1 MB / 2.58 GB, free: 312.7 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/6.654, allocations: 53.7 kB / 2.58 GB, free: 312.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.952e-05/6.654, allocations: 52 kB / 2.58 GB, free: 312.6 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5835/7.238, allocations: 117.6 MB / 2.695 GB, free: 195.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/7.255, allocations: 3.538 MB / 2.699 GB, free: 191.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1725/7.427, allocations: 86.16 MB / 2.783 GB, free: 105.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09566/7.523, allocations: 6.495 MB / 2.789 GB, free: 99.04 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005126/7.528, allocations: 1.284 MB / 2.79 GB, free: 97.76 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.006132/7.534, allocations: 0.7706 MB / 2.791 GB, free: 97.01 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006701/7.541, allocations: 1.701 MB / 2.793 GB, free: 95.85 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2048/7.746, allocations: 60.77 MB / 2.852 GB, free: 35.27 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6109/8.357, allocations: 67.03 MB / 2.918 GB, free: 0.4885 GB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.728e-05/8.357, allocations: 26.59 kB / 2.918 GB, free: 0.4885 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2085/8.566, allocations: 66.37 MB / 2.982 GB, free: 474.7 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2673/8.833, allocations: 130.7 MB / 3.11 GB, free: 344.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.075e-05/8.833, allocations: 0 / 3.11 GB, free: 344.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0114/8.844, allocations: 1.977 MB / 3.112 GB, free: 342.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3265/9.171, allocations: 81.4 MB / 3.191 GB, free: 261.4 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003669/9.175, allocations: 0.5729 MB / 3.192 GB, free: 260.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09535/9.27, allocations: 58.56 MB / 3.249 GB, free: 202.2 MB / 1.154 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 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 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] 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 + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09966/9.37, allocations: 54.18 MB / 3.302 GB, free: 147 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2451/9.615, allocations: 96.28 MB / 3.396 GB, free: 51.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01865/9.633, allocations: 6.112 MB / 3.402 GB, free: 45.64 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006739/9.64, allocations: 219.9 kB / 3.402 GB, free: 45.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05337/9.694, allocations: 3.319 MB / 3.406 GB, free: 42.11 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004559/9.698, allocations: 0.8694 MB / 3.406 GB, free: 41.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002396/9.701, allocations: 0.6331 MB / 3.407 GB, free: 40.6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02038/9.721, allocations: 14.29 MB / 3.421 GB, free: 26.4 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.5e-07/9.721, allocations: 0 / 3.421 GB, free: 26.4 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.4432/10.16, allocations: 38.73 MB / 3.459 GB, free: 0.4918 GB / 1.154 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 (621): * Single equations (assignments): 600 * 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.2472/10.41, allocations: 97.79 MB / 3.554 GB, free: 463.7 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.1218/10.53, allocations: 77.45 MB / 3.63 GB, free: 395.8 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/10.53, allocations: 7.875 kB / 3.63 GB, free: 395.8 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.05329/10.59, allocations: 25.52 MB / 3.655 GB, free: 370.8 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05479/10.64, allocations: 7.982 MB / 3.663 GB, free: 363.6 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.874/12.51, allocations: 444.5 MB / 4.097 GB, free: 474.4 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/12.53, allocations: 10.46 MB / 4.107 GB, free: 470 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.02784/12.55, allocations: 8.005 MB / 4.115 GB, free: 464.1 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02033/12.57, allocations: 10.36 MB / 4.125 GB, free: 458.3 MB / 1.154 GB Notification: Performance of SimCode: time 7.11e-07/12.57, allocations: 0 / 4.125 GB, free: 458.3 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/13.93, allocations: 0.8088 GB / 4.934 GB, free: 191.6 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 105.9/119.8, allocations: 11.77 kB / 4.934 GB, free: 191.6 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)