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: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 103.1 kB / 16.4 MB, free: 6.5 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.001209/0.001209, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8765/0.8765, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 68.73 kB / 0.5963 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 82.04 MB / 0.6764 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.7109/0.8629, allocations: 358.2 MB / 1.026 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5925/1.455, allocations: 76.14 MB / 1.101 GB, free: 40.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01863/1.474, allocations: 435.1 kB / 1.101 GB, free: 40.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01954/1.494, allocations: 6.469 MB / 1.107 GB, free: 40.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04144/1.535, allocations: 14.15 MB / 1.121 GB, free: 40.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02595/1.561, allocations: 10.18 MB / 1.131 GB, free: 39.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.08894/1.65, allocations: 74.29 MB / 1.204 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02832/1.679, allocations: 20.03 MB / 1.223 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0382/1.717, allocations: 17.46 MB / 1.24 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03028/1.747, allocations: 16.44 MB / 1.256 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.009461/1.757, allocations: 1.965 MB / 1.258 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02252/1.779, allocations: 6.048 MB / 1.264 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01473/1.794, allocations: 6.521 MB / 1.27 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02664/1.821, allocations: 11.22 MB / 1.281 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.05312/1.874, allocations: 32.65 MB / 1.313 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.874, allocations: 0 / 1.313 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.074e-06/1.874, allocations: 0 / 1.313 GB, free: 2.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001057/1.875, allocations: 0 / 1.313 GB, free: 2.516 MB / 0.92 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.07154/1.946, allocations: 24.01 MB / 1.337 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.947, allocations: 12.03 kB / 1.337 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.965, allocations: 3.193 MB / 1.34 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04981/2.015, allocations: 20.92 MB / 1.36 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009103/2.016, allocations: 0.6758 MB / 1.361 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00587/2.022, allocations: 0.9472 MB / 1.362 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0451/2.067, allocations: 17.06 MB / 1.379 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003387/2.068, allocations: 15.81 kB / 1.379 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004037/2.072, allocations: 334.4 kB / 1.379 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/2.072, allocations: 363.4 kB / 1.379 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04107/2.113, allocations: 21.5 MB / 1.4 GB, free: 9.625 MB / 1.014 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.5101/2.623, allocations: 83.42 MB / 1.482 GB, free: 466.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/2.644, allocations: 13.02 MB / 1.494 GB, free: 460.9 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01552/2.659, allocations: 10.08 MB / 1.504 GB, free: 455.4 MB / 1.045 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.07248/2.732, allocations: 35.39 MB / 1.539 GB, free: 431.1 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0185/2.75, allocations: 10.15 MB / 1.549 GB, free: 423.9 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01986/2.77, allocations: 5.808 MB / 1.554 GB, free: 418.9 MB / 1.045 GB Notification: Performance of pre-optimization done (n=567): time 5.215e-05/2.77, allocations: 0 / 1.554 GB, free: 418.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=838): time 0.847/3.617, allocations: 217.8 MB / 1.767 GB, free: 202.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1354/3.753, allocations: 55.99 MB / 1.822 GB, free: 145.3 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03148/3.784, allocations: 17.9 MB / 1.839 GB, free: 127.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.004125/3.789, allocations: 225.7 kB / 1.839 GB, free: 127.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00875/3.797, allocations: 7.777 MB / 1.847 GB, free: 119.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.008276/3.806, allocations: 2.995 MB / 1.85 GB, free: 116.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01631/3.822, allocations: 3.99 MB / 1.854 GB, free: 112.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/3.822, allocations: 309.1 kB / 1.854 GB, free: 112.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02846/3.85, allocations: 20.26 MB / 1.874 GB, free: 91.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03219/3.883, allocations: 23.11 MB / 1.897 GB, free: 67.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05861/3.941, allocations: 38.6 MB / 1.934 GB, free: 28.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.401e-05/3.942, allocations: 15.31 kB / 1.934 GB, free: 28.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 1.02/4.961, allocations: 134.6 MB / 2.066 GB, free: 417.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/4.962, allocations: 59.67 kB / 2.066 GB, free: 417.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/4.962, allocations: 57.22 kB / 2.066 GB, free: 417.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5293/5.491, allocations: 118 MB / 2.181 GB, free: 302.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/5.509, allocations: 3.547 MB / 2.184 GB, free: 298.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1491/5.658, allocations: 81.89 MB / 2.264 GB, free: 216.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07885/5.737, allocations: 6.449 MB / 2.271 GB, free: 210.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006464/5.744, allocations: 1.31 MB / 2.272 GB, free: 208.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03794/5.782, allocations: 23.68 MB / 2.295 GB, free: 185.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0297/5.811, allocations: 22.59 MB / 2.317 GB, free: 161.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05347/5.865, allocations: 37.57 MB / 2.354 GB, free: 123.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.587e-05/5.865, allocations: 16 kB / 2.354 GB, free: 123.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.014/6.879, allocations: 133 MB / 2.484 GB, free: 423.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/6.879, allocations: 56.92 kB / 2.484 GB, free: 423.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/6.879, allocations: 55.25 kB / 2.484 GB, free: 423.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5393/7.418, allocations: 117.6 MB / 2.599 GB, free: 376.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/7.436, allocations: 3.543 MB / 2.602 GB, free: 372.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1569/7.593, allocations: 86.12 MB / 2.686 GB, free: 286.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07997/7.673, allocations: 6.497 MB / 2.693 GB, free: 280 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006992/7.68, allocations: 1.283 MB / 2.694 GB, free: 278.7 MB / 1.045 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.01035/7.69, allocations: 0.7567 MB / 2.695 GB, free: 278 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009904/7.7, allocations: 1.614 MB / 2.696 GB, free: 277.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.207/7.907, allocations: 60.77 MB / 2.756 GB, free: 216.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2062/8.113, allocations: 67.05 MB / 2.821 GB, free: 149.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001521/8.113, allocations: 28 kB / 2.821 GB, free: 149.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1972/8.311, allocations: 66.35 MB / 2.886 GB, free: 83.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7901/9.101, allocations: 130.5 MB / 3.013 GB, free: 413.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001111/9.101, allocations: 0 / 3.013 GB, free: 413.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/9.112, allocations: 1.978 MB / 3.015 GB, free: 413.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.313/9.425, allocations: 81.4 MB / 3.095 GB, free: 372.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003932/9.429, allocations: 0.5729 MB / 3.095 GB, free: 372 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09733/9.527, allocations: 58.53 MB / 3.152 GB, free: 313.4 MB / 1.045 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.1037/9.63, allocations: 54.13 MB / 3.205 GB, free: 258.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2338/9.864, allocations: 96.19 MB / 3.299 GB, free: 163 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01749/9.882, allocations: 5.97 MB / 3.305 GB, free: 157.9 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008901/9.891, allocations: 211.9 kB / 3.305 GB, free: 157.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04777/9.939, allocations: 3.329 MB / 3.309 GB, free: 154.3 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005676/9.944, allocations: 0.8577 MB / 3.309 GB, free: 153.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00409/9.948, allocations: 0.6315 MB / 3.31 GB, free: 152.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.02738/9.976, allocations: 12.24 MB / 3.322 GB, free: 140.7 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.112e-06/9.976, allocations: 0 / 3.322 GB, free: 140.7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.09011/10.07, allocations: 38.71 MB / 3.36 GB, free: 102.1 MB / 1.045 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.006822/10.07, allocations: 1.985 MB / 3.362 GB, free: 100.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.1305/10.2, allocations: 77.41 MB / 3.437 GB, free: 22.87 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/10.2, allocations: 0.8125 kB / 3.437 GB, free: 22.87 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.517/10.72, allocations: 25.48 MB / 3.462 GB, free: 438.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06472/10.79, allocations: 8.024 MB / 3.47 GB, free: 437.7 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/10.89, allocations: 54.43 MB / 3.523 GB, free: 423.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0195/10.91, allocations: 10.38 MB / 3.533 GB, free: 421.6 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01504/10.92, allocations: 2.114 MB / 3.535 GB, free: 421.5 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/10.92, allocations: 0 / 3.535 GB, free: 421.5 MB / 1.045 GB Notification: Performance of Templates: time 3.324/14.25, allocations: 1.359 GB / 4.894 GB, free: 404.8 MB / 1.045 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)