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.0009952/0.0009952, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001018/0.001018, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8609/0.8609, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001472/0.001472, allocations: 237.3 kB / 260.2 MB, free: 13.04 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 0.6707/0.6707, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.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.623e-06/1.623e-06, allocations: 0 / 0.6476 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.783e-05, allocations: 6.281 kB / 0.6476 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.8165/0.8166, allocations: 325.9 MB / 0.9658 GB, free: 50.8 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.08503/0.9016, allocations: 70.81 MB / 1.035 GB, free: 48.79 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01711/0.9187, allocations: 0.5745 MB / 1.036 GB, free: 48.79 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01866/0.9374, allocations: 6.461 MB / 1.042 GB, free: 47.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0418/0.9791, allocations: 15.44 MB / 1.057 GB, free: 38.78 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.02401/1.003, allocations: 10.89 MB / 1.068 GB, free: 32.26 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.08048/1.084, allocations: 86.84 MB / 1.152 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/1.106, allocations: 15.84 MB / 1.168 GB, free: 9.148 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06012/1.166, allocations: 23.34 MB / 1.191 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02542/1.192, allocations: 15.61 MB / 1.206 GB, free: 5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.006641/1.198, allocations: 1.832 MB / 1.208 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/1.214, allocations: 5.069 MB / 1.213 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.01129/1.225, allocations: 6.631 MB / 1.219 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.01869/1.244, allocations: 7.671 MB / 1.227 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.04529/1.289, allocations: 31.52 MB / 1.257 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/1.289, allocations: 8 kB / 1.257 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.054e-06/1.289, allocations: 0 / 1.257 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0011/1.29, allocations: 0 / 1.257 GB, free: 2.867 MB / 0.9011 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.04552/1.336, allocations: 21.34 MB / 1.278 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.336, allocations: 13.22 kB / 1.278 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.347, allocations: 3.313 MB / 1.281 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3107/1.658, allocations: 20.59 MB / 1.302 GB, free: 393.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005322/1.658, allocations: 0.6658 MB / 1.302 GB, free: 392.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00363/1.662, allocations: 0.9398 MB / 1.303 GB, free: 392.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0285/1.69, allocations: 18.18 MB / 1.321 GB, free: 385.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/1.69, allocations: 10.08 kB / 1.321 GB, free: 385.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/1.692, allocations: 330.4 kB / 1.321 GB, free: 385 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003749/1.692, allocations: 370.2 kB / 1.322 GB, free: 385 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/1.724, allocations: 21.84 MB / 1.343 GB, free: 378.2 MB / 0.9323 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.08613/1.81, allocations: 62.17 MB / 1.404 GB, free: 328.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/1.823, allocations: 11.7 MB / 1.415 GB, free: 316.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008421/1.831, allocations: 8.976 MB / 1.424 GB, free: 308 MB / 0.9323 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.03685/1.868, allocations: 29.4 MB / 1.453 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008668/1.877, allocations: 11.24 MB / 1.463 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01647/1.893, allocations: 8.196 MB / 1.471 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=567): time 3.778e-05/1.893, allocations: 0 / 1.471 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=838): time 0.47/2.363, allocations: 217.5 MB / 1.684 GB, free: 41.38 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3717/2.735, allocations: 54.2 MB / 1.737 GB, free: 354.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02155/2.756, allocations: 17.03 MB / 1.753 GB, free: 348.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.003626/2.76, allocations: 223.3 kB / 1.754 GB, free: 348.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.006039/2.766, allocations: 8.1 MB / 1.762 GB, free: 343.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.006638/2.773, allocations: 3.096 MB / 1.765 GB, free: 342.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009196/2.782, allocations: 3.521 MB / 1.768 GB, free: 341.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 3.401e-05/2.782, allocations: 306.4 kB / 1.768 GB, free: 341.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02485/2.807, allocations: 19.43 MB / 1.787 GB, free: 335.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02347/2.83, allocations: 24.28 MB / 1.811 GB, free: 324.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04669/2.877, allocations: 37.01 MB / 1.847 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-05/2.877, allocations: 16 kB / 1.847 GB, free: 304.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.313/3.19, allocations: 132.2 MB / 1.976 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/3.19, allocations: 56.36 kB / 1.976 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-05/3.19, allocations: 57.06 kB / 1.976 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2938/3.484, allocations: 117.9 MB / 2.091 GB, free: 56.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/3.495, allocations: 3.354 MB / 2.095 GB, free: 53.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4257/3.921, allocations: 80.94 MB / 2.174 GB, free: 325.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04746/3.968, allocations: 6.417 MB / 2.18 GB, free: 325.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005062/3.973, allocations: 1.27 MB / 2.181 GB, free: 325.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02976/4.003, allocations: 22.79 MB / 2.204 GB, free: 318.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02193/4.025, allocations: 23.75 MB / 2.227 GB, free: 307.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04016/4.065, allocations: 35.96 MB / 2.262 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.148e-05/4.065, allocations: 15.81 kB / 2.262 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.3086/4.374, allocations: 130.6 MB / 2.389 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/4.374, allocations: 65.62 kB / 2.389 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.636e-05/4.374, allocations: 48 kB / 2.389 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3014/4.675, allocations: 117.5 MB / 2.504 GB, free: 52.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/4.686, allocations: 3.338 MB / 2.508 GB, free: 48.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4398/5.126, allocations: 84.15 MB / 2.59 GB, free: 317.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04765/5.173, allocations: 6.458 MB / 2.596 GB, free: 317.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005979/5.179, allocations: 1.24 MB / 2.597 GB, free: 317.1 MB / 0.9323 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.005735/5.185, allocations: 0.7241 MB / 2.598 GB, free: 316.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005853/5.191, allocations: 1.696 MB / 2.6 GB, free: 316.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1147/5.306, allocations: 60.36 MB / 2.659 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1154/5.421, allocations: 66.11 MB / 2.723 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-05/5.421, allocations: 31.94 kB / 2.723 GB, free: 240.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1111/5.532, allocations: 65.43 MB / 2.787 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1625/5.695, allocations: 109.7 MB / 2.894 GB, free: 65.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-05/5.695, allocations: 0 / 2.894 GB, free: 65.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006818/5.702, allocations: 1.981 MB / 2.896 GB, free: 63.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5204/6.222, allocations: 81.29 MB / 2.975 GB, free: 326.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003256/6.225, allocations: 0.572 MB / 2.976 GB, free: 326.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06454/6.29, allocations: 57.87 MB / 3.033 GB, free: 311.4 MB / 0.9323 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.05851/6.348, allocations: 51.8 MB / 3.083 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1411/6.489, allocations: 95.36 MB / 3.176 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01492/6.504, allocations: 6.046 MB / 3.182 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006019/6.51, allocations: 219.9 kB / 3.182 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02826/6.539, allocations: 3.304 MB / 3.186 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004614/6.543, allocations: 0.9002 MB / 3.186 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001556/6.545, allocations: 0.6276 MB / 3.187 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01552/6.56, allocations: 11.7 MB / 3.199 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.31e-07/6.56, allocations: 0 / 3.199 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.05965/6.62, allocations: 38.34 MB / 3.236 GB, free: 124.8 MB / 0.9323 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.004328/6.624, allocations: 1.792 MB / 3.238 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.07899/6.703, allocations: 71.91 MB / 3.308 GB, free: 51.21 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/6.703, allocations: 4 kB / 3.308 GB, free: 51.21 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.03093/6.734, allocations: 23.16 MB / 3.331 GB, free: 28.03 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03831/6.773, allocations: 8.363 MB / 3.339 GB, free: 19.96 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.661/7.434, allocations: 54.52 MB / 3.392 GB, free: 328.5 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01529/7.449, allocations: 10.09 MB / 3.402 GB, free: 327.5 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0105/7.459, allocations: 2.138 MB / 3.404 GB, free: 327.5 MB / 0.9324 GB Notification: Performance of SimCode: time 1.723e-06/7.459, allocations: 3.844 kB / 3.404 GB, free: 327.5 MB / 0.9324 GB Notification: Performance of Templates: time 2.33/9.789, allocations: 1.366 GB / 4.77 GB, free: 96.98 MB / 0.9324 GB " [Timeout remaining time 650] 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: 74.53990622982383] Failed to read output from testmodel.py, exit status != 0: 9.797413110733032 9.80538649 8.514190268 Calling exit ...