Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_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.004957/0.004957, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001353/0.001353, allocations: 194.4 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 68.12 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6846, allocations: 159.1 MB / 1.22 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9662/1.651, allocations: 357.8 MB / 1.57 GB, free: 61.83 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08251/1.733, allocations: 75.87 MB / 1.644 GB, free: 60.81 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/1.746, allocations: 437.2 kB / 1.644 GB, free: 60.81 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01489/1.761, allocations: 6.433 MB / 1.65 GB, free: 60.69 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03176/1.793, allocations: 14.09 MB / 1.664 GB, free: 60.11 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02043/1.813, allocations: 10.19 MB / 1.674 GB, free: 59.82 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07899/1.892, allocations: 74.19 MB / 1.747 GB, free: 15.24 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02496/1.917, allocations: 20.02 MB / 1.766 GB, free: 11.82 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0346/1.952, allocations: 17.01 MB / 1.783 GB, free: 11.75 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03041/1.982, allocations: 16.38 MB / 1.799 GB, free: 12.54 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007138/1.989, allocations: 1.953 MB / 1.801 GB, free: 10.58 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/2.01, allocations: 6.048 MB / 1.807 GB, free: 4.805 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01041/2.02, allocations: 6.498 MB / 1.813 GB, free: 14.55 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02193/2.042, allocations: 11.26 MB / 1.824 GB, free: 3.48 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.04777/2.09, allocations: 31.42 MB / 1.855 GB, free: 5.16 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/2.09, allocations: 0 / 1.855 GB, free: 5.16 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.213e-06/2.09, allocations: 0 / 1.855 GB, free: 5.16 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0006895/2.09, allocations: 0 / 1.855 GB, free: 5.16 MB / 1.373 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.06179/2.152, allocations: 24.7 MB / 1.879 GB, free: 12.59 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/2.152, allocations: 8.031 kB / 1.879 GB, free: 12.58 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00208/2.154, allocations: 1.047 MB / 1.88 GB, free: 11.53 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/2.17, allocations: 3.305 MB / 1.883 GB, free: 8.211 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04457/2.214, allocations: 23.15 MB / 1.906 GB, free: 1.379 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006261/2.215, allocations: 0.6702 MB / 1.906 GB, free: 0.7148 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/2.217, allocations: 0.9368 MB / 1.907 GB, free: 15.79 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/2.248, allocations: 17.07 MB / 1.924 GB, free: 14.52 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/2.248, allocations: 19.83 kB / 1.924 GB, free: 14.5 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/2.249, allocations: 327.4 kB / 1.924 GB, free: 14.18 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/2.25, allocations: 371.3 kB / 1.924 GB, free: 13.82 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03709/2.287, allocations: 21.5 MB / 1.945 GB, free: 8.305 MB / 1.467 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.1477/2.435, allocations: 84.07 MB / 2.028 GB, free: 1.539 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02469/2.459, allocations: 13.04 MB / 2.04 GB, free: 4.738 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01795/2.477, allocations: 10.07 MB / 2.05 GB, free: 10.65 MB / 1.576 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.07426/2.552, allocations: 35.56 MB / 2.085 GB, free: 6.723 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01943/2.571, allocations: 10.16 MB / 2.095 GB, free: 12.49 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02391/2.595, allocations: 5.819 MB / 2.1 GB, free: 6.828 MB / 1.623 GB Notification: Performance of pre-optimization done (n=567): time 3.089e-05/2.595, allocations: 3.938 kB / 2.1 GB, free: 6.824 MB / 1.623 GB Notification: Performance of matching and sorting (n=838): time 1.538/4.134, allocations: 218.1 MB / 2.313 GB, free: 0.6447 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1298/4.263, allocations: 55.97 MB / 2.368 GB, free: 0.5893 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02411/4.288, allocations: 20.51 MB / 2.388 GB, free: 0.5694 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003161/4.291, allocations: 225.7 kB / 2.388 GB, free: 0.5692 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.005163/4.296, allocations: 7.869 MB / 2.396 GB, free: 0.562 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.006109/4.302, allocations: 3.159 MB / 2.399 GB, free: 0.559 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006601/4.309, allocations: 3.992 MB / 2.403 GB, free: 0.5551 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 2.97e-05/4.309, allocations: 312.7 kB / 2.403 GB, free: 0.5548 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02424/4.333, allocations: 20.27 MB / 2.423 GB, free: 0.535 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.026/4.359, allocations: 23.1 MB / 2.446 GB, free: 0.5114 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05113/4.41, allocations: 38.61 MB / 2.483 GB, free: 484.3 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/4.41, allocations: 16 kB / 2.483 GB, free: 484.2 MB / 1.717 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6307/5.041, allocations: 134.6 MB / 2.615 GB, free: 349.5 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/5.041, allocations: 53.7 kB / 2.615 GB, free: 349.4 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-05/5.041, allocations: 52 kB / 2.615 GB, free: 349.4 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6391/5.68, allocations: 118 MB / 2.73 GB, free: 231.5 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01867/5.699, allocations: 3.553 MB / 2.734 GB, free: 227.9 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1413/5.84, allocations: 81.91 MB / 2.814 GB, free: 145.6 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09922/5.939, allocations: 6.444 MB / 2.82 GB, free: 139.2 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004269/5.944, allocations: 1.31 MB / 2.821 GB, free: 137.9 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03217/5.976, allocations: 23.68 MB / 2.844 GB, free: 114.2 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02641/6.002, allocations: 22.58 MB / 2.866 GB, free: 90.54 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05061/6.053, allocations: 37.58 MB / 2.903 GB, free: 52.14 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.561e-05/6.053, allocations: 19.94 kB / 2.903 GB, free: 52.12 MB / 1.717 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.179/7.232, allocations: 133.1 MB / 3.033 GB, free: 0.647 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/7.232, allocations: 55.7 kB / 3.033 GB, free: 0.6469 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.712e-05/7.232, allocations: 53.34 kB / 3.033 GB, free: 0.6469 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6339/7.866, allocations: 117.6 MB / 3.148 GB, free: 0.5337 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0173/7.883, allocations: 3.536 MB / 3.152 GB, free: 0.5303 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1412/8.024, allocations: 86.14 MB / 3.236 GB, free: 456.8 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09881/8.123, allocations: 6.496 MB / 3.242 GB, free: 450.3 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0035/8.127, allocations: 1.282 MB / 3.243 GB, free: 449 MB / 1.717 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.004025/8.131, allocations: 0.7664 MB / 3.244 GB, free: 448.3 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0053/8.136, allocations: 1.707 MB / 3.246 GB, free: 447.6 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2102/8.346, allocations: 60.76 MB / 3.305 GB, free: 387.1 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2176/8.564, allocations: 67.04 MB / 3.37 GB, free: 320.1 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-05/8.564, allocations: 29.22 kB / 3.37 GB, free: 320 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2081/8.772, allocations: 66.36 MB / 3.435 GB, free: 253.7 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.27/9.042, allocations: 130.7 MB / 3.563 GB, free: 123.1 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.561e-05/9.042, allocations: 0 / 3.563 GB, free: 123.1 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0118/9.054, allocations: 1.985 MB / 3.565 GB, free: 121.1 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3498/9.404, allocations: 81.38 MB / 3.644 GB, free: 39.82 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002937/9.407, allocations: 0.569 MB / 3.645 GB, free: 39.25 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6881/10.09, allocations: 58.57 MB / 3.702 GB, free: 0.6522 GB / 1.717 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.1071/10.2, allocations: 54.11 MB / 3.755 GB, free: 0.6278 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2426/10.44, allocations: 96.28 MB / 3.849 GB, free: 0.5519 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01316/10.46, allocations: 6.104 MB / 3.855 GB, free: 0.5459 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004847/10.46, allocations: 212 kB / 3.855 GB, free: 0.5457 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0548/10.52, allocations: 3.328 MB / 3.858 GB, free: 0.5428 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003695/10.52, allocations: 0.8655 MB / 3.859 GB, free: 0.542 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001692/10.52, allocations: 0.6314 MB / 3.86 GB, free: 0.5414 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.0174/10.54, allocations: 14.3 MB / 3.874 GB, free: 0.5275 GB / 1.717 GB Notification: Performance of sort global known variables: time 2.81e-07/10.54, allocations: 0 / 3.874 GB, free: 0.5275 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.073/10.61, allocations: 38.73 MB / 3.912 GB, free: 0.4898 GB / 1.717 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.2401/10.85, allocations: 97.8 MB / 4.007 GB, free: 404.2 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.1178/10.97, allocations: 77.46 MB / 4.083 GB, free: 326.7 MB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/10.97, allocations: 4 kB / 4.083 GB, free: 326.7 MB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.05217/11.02, allocations: 25.51 MB / 4.108 GB, free: 301.2 MB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04738/11.07, allocations: 7.978 MB / 4.115 GB, free: 293.4 MB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.563/13.63, allocations: 444.4 MB / 4.549 GB, free: 0.5809 GB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008402/13.64, allocations: 10.46 MB / 4.56 GB, free: 0.5707 GB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.02299/13.67, allocations: 7.994 MB / 4.567 GB, free: 0.5631 GB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01622/13.68, allocations: 10.36 MB / 4.578 GB, free: 0.553 GB / 1.717 GB Notification: Performance of SimCode: time 1.062e-06/13.68, allocations: 4 kB / 4.578 GB, free: 0.553 GB / 1.717 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/15.17, allocations: 0.8086 GB / 5.386 GB, free: 463.4 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate platform static: time 78.04/93.2, allocations: 15.11 kB / 5.386 GB, free: 463.4 MB / 1.717 GB (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)