Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_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.004936/0.004936, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001422/0.001422, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.84 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7901, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3575/1.148, allocations: 357.8 MB / 1.516 GB, free: 12.8 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.8897/2.037, allocations: 75.84 MB / 1.59 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01514/2.053, allocations: 432.2 kB / 1.59 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01735/2.07, allocations: 6.564 MB / 1.597 GB, free: 61.86 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03705/2.107, allocations: 14.74 MB / 1.611 GB, free: 61.33 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02462/2.132, allocations: 10.21 MB / 1.621 GB, free: 60.98 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09573/2.227, allocations: 74.27 MB / 1.693 GB, free: 52.73 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02867/2.256, allocations: 20.05 MB / 1.713 GB, free: 36.98 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03552/2.292, allocations: 17.44 MB / 1.73 GB, free: 20.96 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02716/2.319, allocations: 16.39 MB / 1.746 GB, free: 5.727 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008217/2.327, allocations: 1.953 MB / 1.748 GB, free: 3.773 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02121/2.348, allocations: 6.046 MB / 1.754 GB, free: 14 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01136/2.36, allocations: 6.488 MB / 1.76 GB, free: 7.742 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0295/2.389, allocations: 11.26 MB / 1.771 GB, free: 12.67 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05451/2.444, allocations: 31.42 MB / 1.802 GB, free: 14.34 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/2.444, allocations: 0 / 1.802 GB, free: 14.34 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.964e-06/2.444, allocations: 0 / 1.802 GB, free: 14.34 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0009859/2.445, allocations: 8 kB / 1.802 GB, free: 14.33 MB / 1.342 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.07762/2.523, allocations: 24.7 MB / 1.826 GB, free: 5.781 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/2.523, allocations: 8.922 kB / 1.826 GB, free: 5.773 MB / 1.357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00567/2.528, allocations: 1.051 MB / 1.827 GB, free: 4.723 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/2.548, allocations: 3.301 MB / 1.83 GB, free: 1.406 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05335/2.602, allocations: 23.16 MB / 1.853 GB, free: 10.56 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007738/2.602, allocations: 0.6714 MB / 1.853 GB, free: 9.898 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00483/2.607, allocations: 0.9392 MB / 1.854 GB, free: 8.969 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04167/2.649, allocations: 17.07 MB / 1.871 GB, free: 7.703 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000388/2.649, allocations: 15.83 kB / 1.871 GB, free: 7.688 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004171/2.654, allocations: 326.4 kB / 1.871 GB, free: 7.375 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004168/2.654, allocations: 367.4 kB / 1.872 GB, free: 7.016 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04311/2.697, allocations: 21.5 MB / 1.893 GB, free: 1.504 MB / 1.42 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.1555/2.853, allocations: 84.07 MB / 1.975 GB, free: 10.88 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02391/2.877, allocations: 13.02 MB / 1.988 GB, free: 14.1 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.017/2.894, allocations: 10.08 MB / 1.997 GB, free: 4.016 MB / 1.529 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.07936/2.973, allocations: 35.57 MB / 2.032 GB, free: 80 kB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0193/2.992, allocations: 10.15 MB / 2.042 GB, free: 5.852 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02199/3.014, allocations: 5.83 MB / 2.048 GB, free: 188 kB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 4.42e-05/3.014, allocations: 3.938 kB / 2.048 GB, free: 184 kB / 1.576 GB Notification: Performance of matching and sorting (n=838): time 2.133/5.148, allocations: 218.1 MB / 2.261 GB, free: 0.6858 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1314/5.279, allocations: 55.98 MB / 2.315 GB, free: 0.6308 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03002/5.309, allocations: 20.51 MB / 2.335 GB, free: 0.611 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.003872/5.313, allocations: 221.7 kB / 2.336 GB, free: 0.6108 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.00656/5.319, allocations: 7.874 MB / 2.343 GB, free: 0.6046 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.007579/5.327, allocations: 3.148 MB / 2.346 GB, free: 0.6032 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007774/5.335, allocations: 4 MB / 2.35 GB, free: 0.5993 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/5.335, allocations: 313.1 kB / 2.351 GB, free: 0.599 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02612/5.361, allocations: 20.27 MB / 2.37 GB, free: 0.5792 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03009/5.391, allocations: 23.1 MB / 2.393 GB, free: 0.5556 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05598/5.447, allocations: 38.61 MB / 2.431 GB, free: 0.5171 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.493e-05/5.447, allocations: 16 kB / 2.431 GB, free: 0.5171 GB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6064/6.054, allocations: 134.6 MB / 2.562 GB, free: 394.9 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/6.054, allocations: 57.73 kB / 2.562 GB, free: 394.8 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/6.054, allocations: 59.92 kB / 2.562 GB, free: 394.8 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6023/6.656, allocations: 118 MB / 2.677 GB, free: 277.2 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/6.675, allocations: 3.553 MB / 2.681 GB, free: 273.6 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1432/6.818, allocations: 81.9 MB / 2.761 GB, free: 191.4 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0948/6.913, allocations: 6.445 MB / 2.767 GB, free: 184.9 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005797/6.919, allocations: 1.314 MB / 2.769 GB, free: 183.6 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03656/6.955, allocations: 23.67 MB / 2.792 GB, free: 159.9 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03007/6.985, allocations: 22.59 MB / 2.814 GB, free: 136.3 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05454/7.04, allocations: 37.58 MB / 2.85 GB, free: 97.91 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.715e-05/7.04, allocations: 19.98 kB / 2.85 GB, free: 97.89 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.818/8.858, allocations: 133.1 MB / 2.98 GB, free: 0.687 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/8.858, allocations: 59.66 kB / 2.98 GB, free: 0.687 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-05/8.858, allocations: 49.97 kB / 2.98 GB, free: 0.687 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6039/9.462, allocations: 117.6 MB / 3.095 GB, free: 0.5968 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01725/9.479, allocations: 3.532 MB / 3.099 GB, free: 0.5935 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1608/9.64, allocations: 86.16 MB / 3.183 GB, free: 0.5093 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09584/9.736, allocations: 6.503 MB / 3.189 GB, free: 0.503 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005705/9.742, allocations: 1.286 MB / 3.191 GB, free: 0.5017 GB / 1.701 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.008762/9.751, allocations: 0.7596 MB / 3.191 GB, free: 0.501 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008825/9.759, allocations: 1.703 MB / 3.193 GB, free: 0.5003 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2311/9.991, allocations: 60.77 MB / 3.252 GB, free: 451.8 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2354/10.23, allocations: 67.04 MB / 3.318 GB, free: 384.9 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001304/10.23, allocations: 28 kB / 3.318 GB, free: 384.9 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2239/10.45, allocations: 66.35 MB / 3.383 GB, free: 318.7 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3107/10.76, allocations: 130.7 MB / 3.51 GB, free: 188.4 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001017/10.76, allocations: 4 kB / 3.51 GB, free: 188.4 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0125/10.77, allocations: 1.98 MB / 3.512 GB, free: 186.4 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3485/11.12, allocations: 81.4 MB / 3.592 GB, free: 105.4 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003631/11.13, allocations: 0.5728 MB / 3.592 GB, free: 104.8 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1043/11.23, allocations: 58.56 MB / 3.649 GB, free: 46.25 MB / 1.701 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.7631/11.99, allocations: 54.12 MB / 3.702 GB, free: 0.6736 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2659/12.26, allocations: 96.29 MB / 3.796 GB, free: 0.6421 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02032/12.28, allocations: 6.111 MB / 3.802 GB, free: 0.6373 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007886/12.29, allocations: 212 kB / 3.802 GB, free: 0.6371 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05536/12.34, allocations: 3.319 MB / 3.806 GB, free: 0.6343 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004224/12.35, allocations: 0.8728 MB / 3.806 GB, free: 0.6335 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001864/12.35, allocations: 0.6314 MB / 3.807 GB, free: 0.6329 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.02181/12.37, allocations: 14.29 MB / 3.821 GB, free: 0.619 GB / 1.701 GB Notification: Performance of sort global known variables: time 5.21e-07/12.37, allocations: 0 / 3.821 GB, free: 0.619 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.08559/12.46, allocations: 38.73 MB / 3.859 GB, free: 0.5813 GB / 1.701 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.257/12.71, allocations: 97.79 MB / 3.954 GB, free: 499 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.1231/12.84, allocations: 77.47 MB / 4.03 GB, free: 421.6 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/12.84, allocations: 0 / 4.03 GB, free: 421.6 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.05333/12.89, allocations: 25.5 MB / 4.055 GB, free: 396.1 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05321/12.94, allocations: 7.991 MB / 4.063 GB, free: 388.4 MB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.149/15.09, allocations: 444.4 MB / 4.497 GB, free: 0.6514 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/15.1, allocations: 10.46 MB / 4.507 GB, free: 0.6471 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.027/15.13, allocations: 7.992 MB / 4.515 GB, free: 0.6449 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02108/15.15, allocations: 10.37 MB / 4.525 GB, free: 0.6407 GB / 1.701 GB Notification: Performance of SimCode: time 3.045e-06/15.15, allocations: 0 / 4.525 GB, free: 0.6407 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.653/16.81, allocations: 0.8086 GB / 5.333 GB, free: 0.5592 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 121/137.8, allocations: 1.062 kB / 5.333 GB, free: 0.5592 GB / 1.701 GB (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)