Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008163/0.008163, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001713/0.001713, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 69.98 kB / 0.9505 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2767, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9453/1.222, allocations: 355.6 MB / 1.435 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1005/1.323, allocations: 72.95 MB / 1.506 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/1.336, allocations: 425.5 kB / 1.506 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01556/1.352, allocations: 5.436 MB / 1.512 GB, free: 6.098 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.03669/1.389, allocations: 14.17 MB / 1.526 GB, free: 7.883 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0229/1.411, allocations: 9.794 MB / 1.535 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.04342/1.455, allocations: 37.61 MB / 1.572 GB, free: 8.383 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0259/1.481, allocations: 19.84 MB / 1.591 GB, free: 4.391 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0329/1.514, allocations: 17.11 MB / 1.608 GB, free: 3.25 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02783/1.542, allocations: 15.84 MB / 1.623 GB, free: 3.355 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.007719/1.549, allocations: 1.859 MB / 1.625 GB, free: 1.496 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01952/1.569, allocations: 5.704 MB / 1.631 GB, free: 11.79 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.009315/1.578, allocations: 5.771 MB / 1.636 GB, free: 6 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.02005/1.598, allocations: 10.38 MB / 1.647 GB, free: 11.57 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.04478/1.643, allocations: 29.11 MB / 1.675 GB, free: 14.37 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.643, allocations: 0 / 1.675 GB, free: 14.37 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.693e-06/1.643, allocations: 0 / 1.675 GB, free: 14.37 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0008295/1.644, allocations: 4 kB / 1.675 GB, free: 14.36 MB / 1.295 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.06468/1.709, allocations: 22.83 MB / 1.697 GB, free: 7.348 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.709, allocations: 8.031 kB / 1.697 GB, free: 7.34 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004517/1.713, allocations: 1.045 MB / 1.698 GB, free: 6.285 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/1.728, allocations: 2.678 MB / 1.701 GB, free: 3.594 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04322/1.771, allocations: 18.26 MB / 1.719 GB, free: 1.223 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006671/1.772, allocations: 0.6714 MB / 1.719 GB, free: 0.5508 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004677/1.776, allocations: 0.9217 MB / 1.72 GB, free: 15.62 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/1.817, allocations: 16.52 MB / 1.737 GB, free: 14.89 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/1.817, allocations: 15.89 kB / 1.737 GB, free: 14.87 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003595/1.821, allocations: 328 kB / 1.737 GB, free: 14.55 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00039/1.821, allocations: 371.2 kB / 1.737 GB, free: 14.19 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03913/1.86, allocations: 21.04 MB / 1.758 GB, free: 9.133 MB / 1.373 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.7196/2.58, allocations: 82.2 MB / 1.838 GB, free: 494.3 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/2.602, allocations: 12.54 MB / 1.85 GB, free: 488.9 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01527/2.618, allocations: 9.872 MB / 1.86 GB, free: 484.8 MB / 1.404 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.08139/2.699, allocations: 34.53 MB / 1.894 GB, free: 461.2 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01823/2.717, allocations: 9.686 MB / 1.903 GB, free: 455.3 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02162/2.739, allocations: 5.774 MB / 1.909 GB, free: 453.5 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 4.853e-05/2.739, allocations: 0 / 1.909 GB, free: 453.5 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 0.9383/3.677, allocations: 217.5 MB / 2.121 GB, free: 238.1 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1317/3.809, allocations: 56 MB / 2.176 GB, free: 181 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02363/3.833, allocations: 17.64 MB / 2.193 GB, free: 163.5 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.003436/3.836, allocations: 221.7 kB / 2.193 GB, free: 163.3 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.006401/3.843, allocations: 7.279 MB / 2.2 GB, free: 156 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.007222/3.85, allocations: 3.075 MB / 2.203 GB, free: 153 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00999/3.86, allocations: 3.544 MB / 2.207 GB, free: 149.4 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 3.178e-05/3.86, allocations: 305.1 kB / 2.207 GB, free: 149.1 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02591/3.886, allocations: 18.96 MB / 2.226 GB, free: 130.1 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02737/3.913, allocations: 21.55 MB / 2.247 GB, free: 107.6 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05224/3.966, allocations: 36.19 MB / 2.282 GB, free: 70.54 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.406e-05/3.966, allocations: 16 kB / 2.282 GB, free: 70.52 MB / 1.404 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.163/5.129, allocations: 131.6 MB / 2.41 GB, free: 463.8 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/5.129, allocations: 55.8 kB / 2.411 GB, free: 463.8 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.11e-05/5.129, allocations: 54.44 kB / 2.411 GB, free: 463.8 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6047/5.734, allocations: 118 MB / 2.526 GB, free: 380 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01727/5.751, allocations: 3.313 MB / 2.529 GB, free: 376.8 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1464/5.898, allocations: 81.56 MB / 2.609 GB, free: 295.2 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09499/5.993, allocations: 6.346 MB / 2.615 GB, free: 288.8 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005427/5.998, allocations: 1.288 MB / 2.616 GB, free: 287.5 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03564/6.034, allocations: 22 MB / 2.638 GB, free: 265.5 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03205/6.066, allocations: 21.1 MB / 2.658 GB, free: 243.4 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05387/6.12, allocations: 35.31 MB / 2.693 GB, free: 207.2 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.901e-05/6.12, allocations: 12 kB / 2.693 GB, free: 207.2 MB / 1.404 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.613/6.733, allocations: 130.1 MB / 2.82 GB, free: 77.96 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/6.733, allocations: 60.3 kB / 2.82 GB, free: 77.9 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.882e-05/6.733, allocations: 52 kB / 2.82 GB, free: 77.85 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149/7.882, allocations: 117.6 MB / 2.935 GB, free: 451.7 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01613/7.898, allocations: 3.28 MB / 2.938 GB, free: 451.7 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1614/8.06, allocations: 86.13 MB / 3.022 GB, free: 408.1 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09408/8.154, allocations: 6.379 MB / 3.028 GB, free: 401.7 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005611/8.16, allocations: 1.255 MB / 3.03 GB, free: 400.5 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1011 * 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.007496/8.167, allocations: 0.7244 MB / 3.03 GB, free: 399.8 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00709/8.174, allocations: 1.549 MB / 3.032 GB, free: 399.1 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2209/8.395, allocations: 60.23 MB / 3.091 GB, free: 339.2 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2196/8.615, allocations: 66.72 MB / 3.156 GB, free: 272.7 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001228/8.615, allocations: 28 kB / 3.156 GB, free: 272.6 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2073/8.822, allocations: 66.07 MB / 3.22 GB, free: 206.6 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.305/9.127, allocations: 129 MB / 3.346 GB, free: 77.65 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001022/9.128, allocations: 0 / 3.346 GB, free: 77.65 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01159/9.139, allocations: 1.908 MB / 3.348 GB, free: 75.74 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9896/10.13, allocations: 81.37 MB / 3.428 GB, free: 448.3 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003757/10.13, allocations: 0.5678 MB / 3.428 GB, free: 448.3 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1074/10.24, allocations: 58.33 MB / 3.485 GB, free: 434.8 MB / 1.404 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 2 : 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 + 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. 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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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.117/10.36, allocations: 54.06 MB / 3.538 GB, free: 409.9 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2603/10.62, allocations: 95.25 MB / 3.631 GB, free: 322.5 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0197/10.64, allocations: 5.815 MB / 3.637 GB, free: 317.5 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007905/10.65, allocations: 219.9 kB / 3.637 GB, free: 317.3 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05518/10.7, allocations: 3.251 MB / 3.64 GB, free: 314.1 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005359/10.71, allocations: 0.8615 MB / 3.641 GB, free: 313.2 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003373/10.71, allocations: 0.6159 MB / 3.641 GB, free: 312.6 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.02064/10.73, allocations: 12.35 MB / 3.654 GB, free: 300.3 MB / 1.404 GB Notification: Performance of sort global known variables: time 6.11e-07/10.73, allocations: 0 / 3.654 GB, free: 300.3 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.08746/10.82, allocations: 38.13 MB / 3.691 GB, free: 262.2 MB / 1.404 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 (605): * Single equations (assignments): 584 * 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.2608/11.08, allocations: 96.63 MB / 3.785 GB, free: 166 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.1238/11.2, allocations: 74.43 MB / 3.858 GB, free: 91.52 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/11.2, allocations: 4 kB / 3.858 GB, free: 91.52 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.05818/11.26, allocations: 25.33 MB / 3.883 GB, free: 66.18 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05391/11.31, allocations: 7.176 MB / 3.89 GB, free: 59.19 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.655/13.97, allocations: 426.8 MB / 4.306 GB, free: 184.2 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/13.98, allocations: 9.73 MB / 4.316 GB, free: 174.4 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.02543/14.01, allocations: 7.458 MB / 4.323 GB, free: 167.2 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01919/14.03, allocations: 9.619 MB / 4.333 GB, free: 157.5 MB / 1.404 GB Notification: Performance of SimCode: time 9.62e-07/14.03, allocations: 0 / 4.333 GB, free: 157.5 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.08/16.11, allocations: 0.7652 GB / 5.098 GB, free: 402.2 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 97.02/113.1, allocations: 5.688 kB / 5.098 GB, free: 402.2 MB / 1.404 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)