Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9914/0.9914, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 55.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.8197/0.9531, allocations: 358.2 MB / 0.9442 GB, free: 40.58 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08321/1.036, allocations: 76.18 MB / 1.019 GB, free: 17.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01531/1.052, allocations: 433.5 kB / 1.019 GB, free: 17.23 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03588/1.088, allocations: 23.51 MB / 1.042 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.03824/1.126, allocations: 14.08 MB / 1.056 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02338/1.149, allocations: 10.04 MB / 1.065 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.08714/1.236, allocations: 66.78 MB / 1.131 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02731/1.264, allocations: 20.01 MB / 1.15 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7075/1.971, allocations: 16.95 MB / 1.167 GB, free: 64.67 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02896/2, allocations: 16.37 MB / 1.183 GB, free: 64.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.009332/2.01, allocations: 1.96 MB / 1.185 GB, free: 64.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02255/2.032, allocations: 6.628 MB / 1.191 GB, free: 64.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01081/2.043, allocations: 6.502 MB / 1.198 GB, free: 63.92 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01986/2.063, allocations: 11.29 MB / 1.209 GB, free: 60.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03703/2.1, allocations: 33.08 MB / 1.241 GB, free: 57.74 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/2.1, allocations: 7.062 kB / 1.241 GB, free: 57.74 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/2.1, allocations: 0 / 1.241 GB, free: 57.74 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0007466/2.101, allocations: 0 / 1.241 GB, free: 57.74 MB / 0.795 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.06194/2.163, allocations: 24.21 MB / 1.264 GB, free: 47.3 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/2.163, allocations: 9.875 kB / 1.265 GB, free: 47.3 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003577/2.166, allocations: 1.053 MB / 1.266 GB, free: 47.03 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/2.183, allocations: 3.204 MB / 1.269 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03793/2.221, allocations: 21.92 MB / 1.29 GB, free: 36.34 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006091/2.221, allocations: 0.6992 MB / 1.291 GB, free: 35.93 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/2.225, allocations: 0.9401 MB / 1.292 GB, free: 35.29 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/2.253, allocations: 17.07 MB / 1.308 GB, free: 23.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/2.253, allocations: 10.75 kB / 1.308 GB, free: 23.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/2.254, allocations: 333.4 kB / 1.309 GB, free: 23.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/2.255, allocations: 369.5 kB / 1.309 GB, free: 22.99 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03158/2.286, allocations: 21.52 MB / 1.33 GB, free: 2.762 MB / 0.795 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.1385/2.425, allocations: 84.47 MB / 1.413 GB, free: 11.69 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02263/2.447, allocations: 13.04 MB / 1.425 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01581/2.463, allocations: 10.04 MB / 1.435 GB, free: 4.84 MB / 0.9044 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.06875/2.532, allocations: 35.72 MB / 1.47 GB, free: 0.7422 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01627/2.548, allocations: 10.16 MB / 1.48 GB, free: 6.516 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02168/2.57, allocations: 5.813 MB / 1.486 GB, free: 0.8594 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=567): time 2.971e-05/2.57, allocations: 0 / 1.486 GB, free: 0.8594 MB / 0.9513 GB Notification: Performance of matching and sorting (n=838): time 1.212/3.782, allocations: 217.9 MB / 1.698 GB, free: 330.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1315/3.913, allocations: 56.09 MB / 1.753 GB, free: 273.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02546/3.939, allocations: 20.23 MB / 1.773 GB, free: 253.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.003518/3.942, allocations: 221.7 kB / 1.773 GB, free: 252.9 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.005731/3.948, allocations: 7.8 MB / 1.781 GB, free: 245.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.006715/3.955, allocations: 3.007 MB / 1.784 GB, free: 242.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007382/3.962, allocations: 4.085 MB / 1.788 GB, free: 238.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 3.212e-05/3.962, allocations: 309 kB / 1.788 GB, free: 237.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02623/3.988, allocations: 20.6 MB / 1.808 GB, free: 217.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02834/4.017, allocations: 23.48 MB / 1.831 GB, free: 192.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05551/4.072, allocations: 39.28 MB / 1.869 GB, free: 152.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.906e-05/4.072, allocations: 16 kB / 1.869 GB, free: 152.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.636/4.708, allocations: 135.3 MB / 2.002 GB, free: 17.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/4.708, allocations: 58.73 kB / 2.002 GB, free: 17.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-05/4.709, allocations: 52 kB / 2.002 GB, free: 17.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8179/5.526, allocations: 118 MB / 2.117 GB, free: 388.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01808/5.545, allocations: 3.59 MB / 2.12 GB, free: 387.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1365/5.681, allocations: 81.93 MB / 2.2 GB, free: 315.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09744/5.779, allocations: 6.456 MB / 2.207 GB, free: 309.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004325/5.783, allocations: 1.349 MB / 2.208 GB, free: 307.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03314/5.816, allocations: 24.01 MB / 2.231 GB, free: 283.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02727/5.843, allocations: 22.97 MB / 2.254 GB, free: 259.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04956/5.893, allocations: 38.27 MB / 2.291 GB, free: 220.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.865e-05/5.893, allocations: 16.55 kB / 2.291 GB, free: 220.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.5706/6.464, allocations: 133.7 MB / 2.422 GB, free: 87.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/6.464, allocations: 57.7 kB / 2.422 GB, free: 87.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/6.464, allocations: 52 kB / 2.422 GB, free: 87.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8363/7.3, allocations: 117.7 MB / 2.537 GB, free: 382.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/7.317, allocations: 3.579 MB / 2.54 GB, free: 382.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1385/7.455, allocations: 86.17 MB / 2.625 GB, free: 361.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09136/7.547, allocations: 6.509 MB / 2.631 GB, free: 359.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004947/7.552, allocations: 1.315 MB / 2.632 GB, free: 358.6 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1203): * Single equations (assignments): 1175 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 12 * 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.005811/7.558, allocations: 0.7736 MB / 2.633 GB, free: 358.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006197/7.564, allocations: 1.62 MB / 2.635 GB, free: 358.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.209/7.773, allocations: 60.8 MB / 2.694 GB, free: 301.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2072/7.98, allocations: 67.06 MB / 2.759 GB, free: 234.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.726e-05/7.98, allocations: 35 kB / 2.759 GB, free: 234.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1976/8.178, allocations: 66.37 MB / 2.824 GB, free: 168.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2625/8.44, allocations: 130.8 MB / 2.952 GB, free: 37.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.326e-05/8.44, allocations: 0 / 2.952 GB, free: 37.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0109/8.451, allocations: 1.982 MB / 2.954 GB, free: 35.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5756/9.027, allocations: 81.55 MB / 3.034 GB, free: 380.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002986/9.03, allocations: 0.5668 MB / 3.034 GB, free: 380.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09642/9.126, allocations: 58.56 MB / 3.091 GB, free: 368 MB / 0.9669 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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.1/9.226, allocations: 54.2 MB / 3.144 GB, free: 330.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2331/9.46, allocations: 96.21 MB / 3.238 GB, free: 235.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01371/9.473, allocations: 6.054 MB / 3.244 GB, free: 230.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005078/9.478, allocations: 215.9 kB / 3.244 GB, free: 230 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05054/9.529, allocations: 3.317 MB / 3.248 GB, free: 226.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004544/9.534, allocations: 0.8616 MB / 3.248 GB, free: 225.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001873/9.535, allocations: 0.6276 MB / 3.249 GB, free: 225.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0179/9.553, allocations: 14.04 MB / 3.263 GB, free: 211.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.61e-07/9.553, allocations: 0 / 3.263 GB, free: 211.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.07593/9.629, allocations: 38.89 MB / 3.301 GB, free: 172.4 MB / 0.9669 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.2347/9.864, allocations: 97.88 MB / 3.396 GB, free: 74.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.4298/10.29, allocations: 102.6 MB / 3.496 GB, free: 414.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/10.29, allocations: 2.219 kB / 3.496 GB, free: 414.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.05811/10.35, allocations: 25.51 MB / 3.521 GB, free: 406.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0515/10.4, allocations: 7.946 MB / 3.529 GB, free: 404.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.737/12.14, allocations: 0.5515 GB / 4.081 GB, free: 384.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/12.15, allocations: 10.49 MB / 4.091 GB, free: 376.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.03335/12.19, allocations: 7.983 MB / 4.099 GB, free: 368.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02064/12.21, allocations: 10.38 MB / 4.109 GB, free: 358.1 MB / 0.9669 GB Notification: Performance of SimCode: time 1.473e-06/12.21, allocations: 0 / 4.109 GB, free: 358.1 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 18.47/30.67, allocations: 0.8156 GB / 4.924 GB, free: 240.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.25/65.92, allocations: 0 / 4.924 GB, free: 240.3 MB / 0.9669 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)