Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_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.007261/0.007261, allocations: 98.69 kB / 15.73 MB, free: 6.031 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.001497/0.001497, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2903, allocations: 162.2 MB / 1.242 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9058/1.196, allocations: 357.8 MB / 1.591 GB, free: 1.512 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1147/1.311, allocations: 75.68 MB / 1.665 GB, free: 5.668 MB / 1.357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01327/1.324, allocations: 437.4 kB / 1.665 GB, free: 5.238 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.02101/1.345, allocations: 6.4 MB / 1.672 GB, free: 14.8 MB / 1.373 GB Notification: Performance of NFTyping.typeBindings: time 0.04213/1.387, allocations: 13.96 MB / 1.685 GB, free: 0.7891 MB / 1.373 GB Notification: Performance of NFTyping.typeClassSections: time 0.02568/1.413, allocations: 10.1 MB / 1.695 GB, free: 6.766 MB / 1.389 GB Notification: Performance of NFFlatten.flatten: time 0.08287/1.496, allocations: 54.73 MB / 1.748 GB, free: 15.91 MB / 1.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03172/1.528, allocations: 19.51 MB / 1.768 GB, free: 12.23 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03686/1.565, allocations: 16.94 MB / 1.784 GB, free: 11.27 MB / 1.482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02922/1.594, allocations: 15.47 MB / 1.799 GB, free: 11.75 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.006945/1.601, allocations: 1.855 MB / 1.801 GB, free: 9.891 MB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/1.619, allocations: 5.907 MB / 1.807 GB, free: 3.977 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.009391/1.629, allocations: 6.102 MB / 1.813 GB, free: 13.86 MB / 1.514 GB Notification: Performance of NFVerifyModel.verify: time 0.02006/1.649, allocations: 10.79 MB / 1.823 GB, free: 3.016 MB / 1.514 GB Notification: Performance of NFConvertDAE.convert: time 1.252/2.901, allocations: 29.98 MB / 1.853 GB, free: 133.9 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/2.901, allocations: 1.859 kB / 1.853 GB, free: 133.9 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.513e-06/2.901, allocations: 0 / 1.853 GB, free: 133.9 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.0008314/2.902, allocations: 1.062 kB / 1.853 GB, free: 133.9 MB / 1.514 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.06462/2.967, allocations: 23.34 MB / 1.875 GB, free: 125.3 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/2.967, allocations: 9.875 kB / 1.875 GB, free: 125.3 MB / 1.514 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002829/2.97, allocations: 1.001 MB / 1.876 GB, free: 125.2 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/2.986, allocations: 3.205 MB / 1.879 GB, free: 124.1 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04234/3.028, allocations: 22.31 MB / 1.901 GB, free: 121.1 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/3.029, allocations: 0.6448 MB / 1.902 GB, free: 121.1 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/3.032, allocations: 0.8771 MB / 1.903 GB, free: 121.1 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0303/3.062, allocations: 16.95 MB / 1.919 GB, free: 120.3 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/3.063, allocations: 14.61 kB / 1.919 GB, free: 120.3 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/3.064, allocations: 314.2 kB / 1.92 GB, free: 120.3 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/3.064, allocations: 205.4 kB / 1.92 GB, free: 120.3 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03458/3.099, allocations: 21.03 MB / 1.94 GB, free: 120.2 MB / 1.514 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.1153/3.214, allocations: 83.32 MB / 2.022 GB, free: 77 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/3.235, allocations: 13.6 MB / 2.035 GB, free: 74.38 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01418/3.25, allocations: 10.28 MB / 2.045 GB, free: 72.64 MB / 1.514 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.0563/3.306, allocations: 34.64 MB / 2.079 GB, free: 43.2 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01472/3.321, allocations: 10.35 MB / 2.089 GB, free: 32.83 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01961/3.34, allocations: 5.79 MB / 2.095 GB, free: 27.2 MB / 1.514 GB Notification: Performance of pre-optimization done (n=503): time 2.35e-05/3.34, allocations: 0 / 2.095 GB, free: 27.2 MB / 1.514 GB Notification: Performance of matching and sorting (n=742): time 1.057/4.398, allocations: 218.7 MB / 2.308 GB, free: 184 kB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1377/4.536, allocations: 49.1 MB / 2.356 GB, free: 14.11 MB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0334/4.569, allocations: 19.59 MB / 2.375 GB, free: 10.61 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.003805/4.573, allocations: 205.7 kB / 2.375 GB, free: 10.4 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.008806/4.582, allocations: 7.598 MB / 2.383 GB, free: 2.828 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.007468/4.589, allocations: 2.764 MB / 2.386 GB, free: 104 kB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008691/4.598, allocations: 3.794 MB / 2.389 GB, free: 12.3 MB / 1.795 GB Notification: Performance of setup shared object (initialization): time 0.0001811/4.598, allocations: 305.1 kB / 2.39 GB, free: 12 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03583/4.634, allocations: 19.44 MB / 2.408 GB, free: 8.539 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03916/4.673, allocations: 22.2 MB / 2.43 GB, free: 1.355 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07226/4.745, allocations: 37.3 MB / 2.467 GB, free: 11.5 MB / 1.873 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.145e-05/4.745, allocations: 16 kB / 2.467 GB, free: 11.49 MB / 1.873 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 1.222/5.967, allocations: 132.6 MB / 2.596 GB, free: 0.7949 GB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/5.967, allocations: 54.05 kB / 2.596 GB, free: 0.7949 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/5.968, allocations: 54.53 kB / 2.596 GB, free: 0.7949 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6259/6.593, allocations: 118 MB / 2.711 GB, free: 0.6908 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01661/6.61, allocations: 3.167 MB / 2.715 GB, free: 0.6878 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1352/6.745, allocations: 81.87 MB / 2.794 GB, free: 0.6078 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09697/6.842, allocations: 6.584 MB / 2.801 GB, free: 0.6014 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005128/6.848, allocations: 1.302 MB / 2.802 GB, free: 0.6001 GB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03569/6.883, allocations: 22.52 MB / 2.824 GB, free: 0.5781 GB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02875/6.912, allocations: 21.67 MB / 2.845 GB, free: 0.5559 GB / 1.889 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0528/6.965, allocations: 36.27 MB / 2.881 GB, free: 0.5198 GB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.993e-05/6.965, allocations: 16 kB / 2.881 GB, free: 0.5197 GB / 1.889 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.622/7.587, allocations: 131 MB / 3.009 GB, free: 402.2 MB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 6.417e-05/7.587, allocations: 53.7 kB / 3.009 GB, free: 402.1 MB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.139e-05/7.587, allocations: 52 kB / 3.009 GB, free: 402.1 MB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6157/8.203, allocations: 117.7 MB / 3.124 GB, free: 284.8 MB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01574/8.219, allocations: 3.147 MB / 3.127 GB, free: 281.6 MB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1469/8.365, allocations: 86.11 MB / 3.211 GB, free: 195.4 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09516/8.461, allocations: 6.622 MB / 3.217 GB, free: 188.7 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005235/8.466, allocations: 1.267 MB / 3.219 GB, free: 187.5 MB / 1.889 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 (1043): * Single equations (assignments): 1023 * 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.004907/8.471, allocations: 0.7264 MB / 3.219 GB, free: 186.7 MB / 1.889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005917/8.477, allocations: 1.604 MB / 3.221 GB, free: 186 MB / 1.889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2135/8.69, allocations: 60.43 MB / 3.28 GB, free: 125.7 MB / 1.889 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2185/8.909, allocations: 64.59 MB / 3.343 GB, free: 61.13 MB / 1.889 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/8.909, allocations: 32 kB / 3.343 GB, free: 61.1 MB / 1.889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7842/9.693, allocations: 63.92 MB / 3.405 GB, free: 0.7878 GB / 1.889 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.286/9.979, allocations: 128.2 MB / 3.531 GB, free: 0.7398 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.27e-05/9.979, allocations: 0 / 3.531 GB, free: 0.7398 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/9.991, allocations: 2.13 MB / 3.533 GB, free: 0.739 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3352/10.33, allocations: 78.42 MB / 3.609 GB, free: 0.6673 GB / 1.889 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003659/10.33, allocations: 0.5377 MB / 3.61 GB, free: 0.6668 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09826/10.43, allocations: 55.66 MB / 3.664 GB, free: 0.6125 GB / 1.889 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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.09714/10.53, allocations: 48.77 MB / 3.712 GB, free: 0.5639 GB / 1.889 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2502/10.78, allocations: 91.57 MB / 3.801 GB, free: 486.9 MB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01441/10.79, allocations: 5.482 MB / 3.807 GB, free: 482.3 MB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007691/10.8, allocations: 160 kB / 3.807 GB, free: 482.2 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05367/10.85, allocations: 3.488 MB / 3.81 GB, free: 478.7 MB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004305/10.86, allocations: 0.8179 MB / 3.811 GB, free: 477.9 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003046/10.86, allocations: 0.6183 MB / 3.812 GB, free: 477.3 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.02132/10.88, allocations: 13.65 MB / 3.825 GB, free: 463.7 MB / 1.889 GB Notification: Performance of sort global known variables: time 3.91e-07/10.88, allocations: 0 / 3.825 GB, free: 463.7 MB / 1.889 GB Notification: Performance of remove unused functions: time 0.08036/10.96, allocations: 34.91 MB / 3.859 GB, free: 428.8 MB / 1.889 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2554/11.22, allocations: 93.22 MB / 3.95 GB, free: 335.9 MB / 1.889 GB Notification: Performance of simCode: created initialization part: time 0.1266/11.34, allocations: 72.77 MB / 4.021 GB, free: 263.1 MB / 1.889 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/11.34, allocations: 4 kB / 4.021 GB, free: 263.1 MB / 1.889 GB Notification: Performance of simCode: created simulation system equations: time 0.0521/11.39, allocations: 24.43 MB / 4.045 GB, free: 238.6 MB / 1.889 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0525/11.45, allocations: 8.067 MB / 4.053 GB, free: 230.9 MB / 1.889 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.068/13.51, allocations: 424.6 MB / 4.467 GB, free: 0.6923 GB / 1.889 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008968/13.52, allocations: 9.871 MB / 4.477 GB, free: 0.6826 GB / 1.889 GB Notification: Performance of simCode: alias equations: time 0.02433/13.55, allocations: 6.793 MB / 4.484 GB, free: 0.6762 GB / 1.889 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01809/13.57, allocations: 10 MB / 4.493 GB, free: 0.6665 GB / 1.889 GB Notification: Performance of SimCode: time 8.41e-07/13.57, allocations: 0 / 4.493 GB, free: 0.6665 GB / 1.889 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.526/15.09, allocations: 0.7747 GB / 5.268 GB, free: 0.7431 GB / 1.889 GB Notification: Performance of buildModelFMU: Generate platform static: time 83.88/98.97, allocations: 7.531 kB / 5.268 GB, free: 0.7431 GB / 1.889 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)