Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002403/0.002403, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002768/0.002768, allocations: 169.3 kB / 22.76 MB, free: 1.645 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003184/0.003184, allocations: 230.6 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.182/1.182, allocations: 138.4 MB / 454.7 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5544 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.088e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.034/1.034, allocations: 373 MB / 0.9186 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.1048/1.139, allocations: 78.4 MB / 0.9952 GB, free: 27.12 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01666/1.155, allocations: 0.5753 MB / 0.9957 GB, free: 27.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01867/1.174, allocations: 6.457 MB / 1.002 GB, free: 22.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.04129/1.215, allocations: 15.44 MB / 1.017 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.02345/1.239, allocations: 10.79 MB / 1.028 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.1541/1.393, allocations: 87.04 MB / 1.113 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03428/1.427, allocations: 17.22 MB / 1.129 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8068/2.234, allocations: 23.44 MB / 1.152 GB, free: 69.09 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0341/2.268, allocations: 15.74 MB / 1.168 GB, free: 69.09 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.009881/2.278, allocations: 1.834 MB / 1.17 GB, free: 69.09 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/2.3, allocations: 5.068 MB / 1.174 GB, free: 69.09 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.01407/2.314, allocations: 6.665 MB / 1.181 GB, free: 69.09 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02509/2.339, allocations: 7.689 MB / 1.188 GB, free: 69.09 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.05148/2.391, allocations: 31.64 MB / 1.219 GB, free: 68.02 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/2.391, allocations: 4.75 kB / 1.219 GB, free: 68.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.575e-06/2.391, allocations: 0 / 1.219 GB, free: 68.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001455/2.392, allocations: 0 / 1.219 GB, free: 68.02 MB / 0.7605 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.0731/2.465, allocations: 23.32 MB / 1.242 GB, free: 56.97 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/2.465, allocations: 6.938 kB / 1.242 GB, free: 56.97 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0233/2.489, allocations: 3.714 MB / 1.246 GB, free: 55.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04893/2.538, allocations: 18.02 MB / 1.263 GB, free: 49.06 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007473/2.538, allocations: 0.6632 MB / 1.264 GB, free: 49.04 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005812/2.544, allocations: 0.9487 MB / 1.265 GB, free: 49.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/2.576, allocations: 16.7 MB / 1.281 GB, free: 35.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/2.577, allocations: 15.12 kB / 1.281 GB, free: 35.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001767/2.578, allocations: 335.2 kB / 1.282 GB, free: 35.72 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/2.579, allocations: 367.5 kB / 1.282 GB, free: 35.38 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03602/2.615, allocations: 19.58 MB / 1.301 GB, free: 19.92 MB / 0.7605 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.1678/2.782, allocations: 69.11 MB / 1.369 GB, free: 15.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02394/2.806, allocations: 10.13 MB / 1.378 GB, free: 5.637 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01771/2.824, allocations: 7.877 MB / 1.386 GB, free: 13.75 MB / 0.8387 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.08294/2.907, allocations: 26.76 MB / 1.412 GB, free: 3.055 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.026/2.933, allocations: 9.427 MB / 1.422 GB, free: 9.328 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03718/2.97, allocations: 8.065 MB / 1.429 GB, free: 1.473 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=567): time 6.833e-05/2.97, allocations: 0 / 1.429 GB, free: 1.473 MB / 0.8699 GB Notification: Performance of matching and sorting (n=838): time 1.087/4.057, allocations: 176.7 MB / 1.602 GB, free: 346 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1313/4.188, allocations: 51.97 MB / 1.653 GB, free: 293.1 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04057/4.229, allocations: 19.08 MB / 1.671 GB, free: 274.1 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.004827/4.234, allocations: 226.5 kB / 1.672 GB, free: 273.9 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.01211/4.246, allocations: 9.57 MB / 1.681 GB, free: 264.4 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.009428/4.255, allocations: 3.407 MB / 1.684 GB, free: 261.1 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01607/4.271, allocations: 3.667 MB / 1.688 GB, free: 257.4 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/4.271, allocations: 476.8 kB / 1.688 GB, free: 256.9 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0189/4.29, allocations: 9.188 MB / 1.697 GB, free: 247.7 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02222/4.313, allocations: 15.28 MB / 1.712 GB, free: 230.5 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04479/4.357, allocations: 26.77 MB / 1.738 GB, free: 202.7 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.804e-05/4.357, allocations: 16 kB / 1.738 GB, free: 202.7 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.4827/4.84, allocations: 90.35 MB / 1.827 GB, free: 112.2 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/4.84, allocations: 58.31 kB / 1.827 GB, free: 112.2 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.5e-05/4.84, allocations: 48 kB / 1.827 GB, free: 112.1 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.991/5.831, allocations: 164 MB / 1.987 GB, free: 364.4 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02346/5.855, allocations: 6.285 MB / 1.993 GB, free: 363.8 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1515/6.006, allocations: 77.71 MB / 2.069 GB, free: 335.8 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09508/6.101, allocations: 34.99 MB / 2.103 GB, free: 300.8 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006401/6.108, allocations: 1.269 MB / 2.104 GB, free: 299.5 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02987/6.138, allocations: 11.47 MB / 2.115 GB, free: 288 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02372/6.161, allocations: 15.09 MB / 2.13 GB, free: 271 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04302/6.204, allocations: 24.16 MB / 2.154 GB, free: 246 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001153/6.204, allocations: 15.98 kB / 2.154 GB, free: 246 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.4788/6.683, allocations: 89.39 MB / 2.241 GB, free: 157.7 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/6.683, allocations: 53.7 kB / 2.241 GB, free: 157.6 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7e-05/6.683, allocations: 51.98 kB / 2.241 GB, free: 157.6 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9815/7.665, allocations: 163.2 MB / 2.401 GB, free: 355.6 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02244/7.687, allocations: 6.267 MB / 2.407 GB, free: 355.6 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1616/7.849, allocations: 80.34 MB / 2.485 GB, free: 345.1 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09504/7.944, allocations: 35.02 MB / 2.519 GB, free: 331.9 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006056/7.95, allocations: 1.233 MB / 2.521 GB, free: 331.2 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (1035): * Single equations (assignments): 1019 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.006493/7.957, allocations: 0.8148 MB / 2.521 GB, free: 330.6 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007446/7.964, allocations: 1.939 MB / 2.523 GB, free: 330.5 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.207/8.171, allocations: 49.71 MB / 2.572 GB, free: 283.3 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2113/8.382, allocations: 48.81 MB / 2.619 GB, free: 234.7 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002531/8.383, allocations: 28.62 kB / 2.619 GB, free: 234.6 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2064/8.589, allocations: 48.12 MB / 2.666 GB, free: 186.6 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2735/8.862, allocations: 83.33 MB / 2.748 GB, free: 103.4 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.269e-05/8.863, allocations: 0 / 2.748 GB, free: 103.4 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01126/8.874, allocations: 1.795 MB / 2.75 GB, free: 101.7 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6996/9.573, allocations: 115.3 MB / 2.862 GB, free: 357.1 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003662/9.577, allocations: 0.5641 MB / 2.863 GB, free: 357.1 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1138/9.691, allocations: 55.72 MB / 2.917 GB, free: 348.3 MB / 0.9012 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.096/9.787, allocations: 51.12 MB / 2.967 GB, free: 325.4 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2422/10.03, allocations: 64.41 MB / 3.03 GB, free: 272.4 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02269/10.05, allocations: 5.24 MB / 3.035 GB, free: 268 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009075/10.06, allocations: 211.9 kB / 3.035 GB, free: 267.8 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0515/10.11, allocations: 15.92 MB / 3.051 GB, free: 251.9 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005904/10.12, allocations: 0.907 MB / 3.052 GB, free: 251 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004145/10.12, allocations: 0.6315 MB / 3.052 GB, free: 250.3 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.02331/10.15, allocations: 10.81 MB / 3.063 GB, free: 239.6 MB / 0.9012 GB Notification: Performance of sort global known variables: time 2.1e-07/10.15, allocations: 0 / 3.063 GB, free: 239.6 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.06379/10.21, allocations: 23.44 MB / 3.086 GB, free: 216.1 MB / 0.9012 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.006533/10.22, allocations: 1.798 MB / 3.088 GB, free: 214.5 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.1009/10.32, allocations: 43.29 MB / 3.13 GB, free: 171.2 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/10.32, allocations: 0 / 3.13 GB, free: 171.2 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.06017/10.38, allocations: 25.73 MB / 3.155 GB, free: 145.4 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05335/10.43, allocations: 10.05 MB / 3.165 GB, free: 135.6 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07189/10.5, allocations: 43.49 MB / 3.207 GB, free: 91.82 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/10.52, allocations: 9.518 MB / 3.216 GB, free: 82.25 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.02525/10.54, allocations: 4.714 MB / 3.221 GB, free: 77.53 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01177/10.55, allocations: 2.087 MB / 3.223 GB, free: 75.44 MB / 0.9012 GB Notification: Performance of SimCode: time 1.844e-06/10.55, allocations: 0 / 3.223 GB, free: 75.44 MB / 0.9012 GB Notification: Performance of Templates: time 1.532/12.08, allocations: 0.6639 GB / 3.887 GB, free: 249.3 MB / 0.9012 GB " [Timeout remaining time 648] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 34.42136555106845]