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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 190.1 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 286.2 kB / 306.5 MB, free: 8.32 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 180.9 MB / 0.53 GB, free: 14.34 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: 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 0.002785/0.002785, allocations: 107.5 kB / 0.7309 GB, free: 38.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1609, allocations: 94.2 MB / 0.8229 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7756/0.9365, allocations: 363.9 MB / 1.178 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1236/1.06, allocations: 76.29 MB / 1.253 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01428/1.074, allocations: 0.5771 MB / 1.253 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01986/1.094, allocations: 6.728 MB / 1.26 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.04303/1.137, allocations: 15.01 MB / 1.275 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02648/1.164, allocations: 10.68 MB / 1.285 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.1114/1.275, allocations: 76.48 MB / 1.36 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02417/1.299, allocations: 15.84 MB / 1.375 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9629/2.262, allocations: 17.69 MB / 1.392 GB, free: 65.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03408/2.296, allocations: 17.22 MB / 1.409 GB, free: 65.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.01072/2.307, allocations: 1.967 MB / 1.411 GB, free: 65.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02583/2.333, allocations: 6.256 MB / 1.417 GB, free: 65.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01486/2.348, allocations: 6.679 MB / 1.424 GB, free: 64.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02788/2.376, allocations: 11.23 MB / 1.435 GB, free: 61.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.05021/2.426, allocations: 31.31 MB / 1.465 GB, free: 57.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.426, allocations: 0 / 1.465 GB, free: 57.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/2.426, allocations: 0 / 1.465 GB, free: 57.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001049/2.427, allocations: 0 / 1.465 GB, free: 57.55 MB / 0.9825 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.07461/2.501, allocations: 22.14 MB / 1.487 GB, free: 48.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/2.501, allocations: 7.031 kB / 1.487 GB, free: 48.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/2.521, allocations: 3.295 MB / 1.49 GB, free: 47.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05268/2.574, allocations: 21.04 MB / 1.511 GB, free: 44.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009899/2.575, allocations: 0.6705 MB / 1.511 GB, free: 44.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006669/2.582, allocations: 0.9388 MB / 1.512 GB, free: 44.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/2.624, allocations: 17.24 MB / 1.529 GB, free: 41.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003398/2.624, allocations: 8.5 kB / 1.529 GB, free: 41.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004603/2.629, allocations: 332.4 kB / 1.529 GB, free: 41.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000356/2.629, allocations: 375.1 kB / 1.53 GB, free: 41.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04457/2.674, allocations: 21.86 MB / 1.551 GB, free: 34.09 MB / 0.9825 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.1693/2.843, allocations: 81.78 MB / 1.631 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02667/2.87, allocations: 11.7 MB / 1.642 GB, free: 8.863 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01906/2.889, allocations: 8.96 MB / 1.651 GB, free: 15.89 MB / 1.061 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.0909/2.98, allocations: 32.59 MB / 1.683 GB, free: 15.4 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02359/3.003, allocations: 10.29 MB / 1.693 GB, free: 5.039 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03492/3.038, allocations: 8.265 MB / 1.701 GB, free: 12.98 MB / 1.108 GB Notification: Performance of pre-optimization done (n=567): time 3.571e-05/3.038, allocations: 0 / 1.701 GB, free: 12.98 MB / 1.108 GB Notification: Performance of matching and sorting (n=838): time 1.404/4.442, allocations: 217.4 MB / 1.914 GB, free: 0.5378 GB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1429/4.585, allocations: 55.67 MB / 1.968 GB, free: 495.7 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03541/4.621, allocations: 17.84 MB / 1.985 GB, free: 478.1 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.004581/4.625, allocations: 221.7 kB / 1.986 GB, free: 477.9 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00943/4.635, allocations: 7.841 MB / 1.993 GB, free: 471.6 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.008956/4.644, allocations: 3.152 MB / 1.996 GB, free: 470 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02104/4.665, allocations: 4.004 MB / 2 GB, free: 466 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/4.665, allocations: 305.1 kB / 2 GB, free: 465.7 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03005/4.695, allocations: 20.3 MB / 2.02 GB, free: 445.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03352/4.728, allocations: 23.12 MB / 2.043 GB, free: 421.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06021/4.788, allocations: 38.65 MB / 2.081 GB, free: 381.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.646e-05/4.789, allocations: 16.62 kB / 2.081 GB, free: 381.8 MB / 1.217 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6103/5.399, allocations: 134.2 MB / 2.212 GB, free: 247.4 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/5.399, allocations: 65.89 kB / 2.212 GB, free: 247.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/5.399, allocations: 52 kB / 2.212 GB, free: 247.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5928/5.992, allocations: 118 MB / 2.327 GB, free: 129.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01901/6.011, allocations: 3.55 MB / 2.33 GB, free: 125.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1327/6.144, allocations: 81.8 MB / 2.41 GB, free: 43.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09189/6.236, allocations: 6.455 MB / 2.417 GB, free: 37.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006612/6.242, allocations: 1.324 MB / 2.418 GB, free: 35.87 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.4616/6.704, allocations: 23.67 MB / 2.441 GB, free: 0.5396 GB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03861/6.742, allocations: 22.6 MB / 2.463 GB, free: 0.5369 GB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05575/6.798, allocations: 37.62 MB / 2.5 GB, free: 0.527 GB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.161e-05/6.798, allocations: 17.75 kB / 2.5 GB, free: 0.527 GB / 1.217 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6022/7.4, allocations: 132.7 MB / 2.629 GB, free: 439.5 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/7.401, allocations: 53.7 kB / 2.629 GB, free: 439.4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-05/7.401, allocations: 53.05 kB / 2.63 GB, free: 439.4 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5851/7.986, allocations: 117.6 MB / 2.744 GB, free: 322.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01741/8.003, allocations: 3.537 MB / 2.748 GB, free: 318.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/8.144, allocations: 85.93 MB / 2.832 GB, free: 232.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0983/8.242, allocations: 6.492 MB / 2.838 GB, free: 226.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006218/8.249, allocations: 1.29 MB / 2.839 GB, free: 224.8 MB / 1.217 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.008676/8.257, allocations: 0.7631 MB / 2.84 GB, free: 224.1 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009029/8.266, allocations: 1.691 MB / 2.842 GB, free: 223.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2213/8.488, allocations: 60.29 MB / 2.901 GB, free: 163.4 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2233/8.711, allocations: 66.11 MB / 2.965 GB, free: 97.46 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001076/8.711, allocations: 28 kB / 2.965 GB, free: 97.44 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2107/8.922, allocations: 65.42 MB / 3.029 GB, free: 32.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.765/9.687, allocations: 129.5 MB / 3.156 GB, free: 0.4963 GB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.804e-05/9.687, allocations: 3.906 kB / 3.156 GB, free: 0.4963 GB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01195/9.699, allocations: 1.974 MB / 3.158 GB, free: 0.4956 GB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3337/10.03, allocations: 81.39 MB / 3.237 GB, free: 429.8 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004948/10.04, allocations: 0.5729 MB / 3.238 GB, free: 429.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09893/10.14, allocations: 58.46 MB / 3.295 GB, free: 370.8 MB / 1.217 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.1055/10.24, allocations: 53.05 MB / 3.346 GB, free: 317.1 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2479/10.49, allocations: 95.35 MB / 3.44 GB, free: 222.9 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01875/10.51, allocations: 6.123 MB / 3.446 GB, free: 217.4 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007152/10.52, allocations: 212.9 kB / 3.446 GB, free: 217.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07203/10.59, allocations: 3.316 MB / 3.449 GB, free: 213.9 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007843/10.6, allocations: 0.9002 MB / 3.45 GB, free: 213 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005439/10.6, allocations: 0.6315 MB / 3.451 GB, free: 212.4 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.03799/10.64, allocations: 12.19 MB / 3.462 GB, free: 200.3 MB / 1.217 GB Notification: Performance of sort global known variables: time 6.71e-07/10.64, allocations: 0 / 3.462 GB, free: 200.3 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.1248/10.76, allocations: 38.71 MB / 3.5 GB, free: 161.7 MB / 1.217 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.007756/10.77, allocations: 1.945 MB / 3.502 GB, free: 159.9 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.1296/10.9, allocations: 74.07 MB / 3.574 GB, free: 85.76 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/10.9, allocations: 4 kB / 3.574 GB, free: 85.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.05635/10.96, allocations: 23.19 MB / 3.597 GB, free: 62.54 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06374/11.02, allocations: 7.984 MB / 3.605 GB, free: 54.81 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5197/11.54, allocations: 54.62 MB / 3.658 GB, free: 0.5108 GB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01933/11.56, allocations: 10.46 MB / 3.668 GB, free: 0.5096 GB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0303/11.59, allocations: 7.983 MB / 3.676 GB, free: 0.5094 GB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01287/11.6, allocations: 2.058 MB / 3.678 GB, free: 0.5094 GB / 1.217 GB Notification: Performance of SimCode: time 1.723e-06/11.6, allocations: 0 / 3.678 GB, free: 0.5094 GB / 1.217 GB Notification: Performance of Templates: time 1.289/12.89, allocations: 0.6632 GB / 4.342 GB, free: 492.6 MB / 1.217 GB " [Timeout remaining time 647] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 34.91635200288147] Failed to read output from testmodel.py, exit status != 0: 12.902280149050057 12.913337867 10.48501495 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f261ae197b0>