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.00159/0.00159, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001793/0.001793, allocations: 214 kB / 22.99 MB, free: 4.945 MB / 14.72 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.002441/0.002441, allocations: 289 kB / 313.5 MB, free: 2.637 MB / 238.1 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.18/1.18, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 113.1 kB / 0.7408 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1658, allocations: 95.38 MB / 0.8339 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7433/0.9091, allocations: 328.8 MB / 1.155 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1183/1.027, allocations: 70.81 MB / 1.224 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01727/1.045, allocations: 0.5811 MB / 1.225 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.02095/1.066, allocations: 6.401 MB / 1.231 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.04412/1.11, allocations: 15.05 MB / 1.246 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02728/1.137, allocations: 10.51 MB / 1.256 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.1048/1.242, allocations: 76.2 MB / 1.33 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02608/1.268, allocations: 15.78 MB / 1.346 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.123/2.391, allocations: 18.06 MB / 1.363 GB, free: 72.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03854/2.429, allocations: 16.88 MB / 1.38 GB, free: 72.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.01082/2.44, allocations: 1.835 MB / 1.382 GB, free: 72.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/2.463, allocations: 5.237 MB / 1.387 GB, free: 72.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01362/2.477, allocations: 6.493 MB / 1.393 GB, free: 72.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02464/2.502, allocations: 9.052 MB / 1.402 GB, free: 70.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.05232/2.554, allocations: 30.77 MB / 1.432 GB, free: 66.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/2.554, allocations: 3.969 kB / 1.432 GB, free: 66.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/2.554, allocations: 0 / 1.432 GB, free: 66.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001232/2.555, allocations: 2.25 kB / 1.432 GB, free: 66.16 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.07827/2.633, allocations: 21.52 MB / 1.453 GB, free: 57.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.634, allocations: 11.53 kB / 1.453 GB, free: 57.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/2.653, allocations: 3.306 MB / 1.456 GB, free: 56.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04791/2.701, allocations: 19.85 MB / 1.476 GB, free: 52.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008468/2.702, allocations: 0.6659 MB / 1.476 GB, free: 52.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006393/2.708, allocations: 0.9371 MB / 1.477 GB, free: 52.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0462/2.754, allocations: 18.19 MB / 1.495 GB, free: 50.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005938/2.755, allocations: 13.11 kB / 1.495 GB, free: 50.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006315/2.761, allocations: 331.7 kB / 1.495 GB, free: 50.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004918/2.762, allocations: 368 kB / 1.496 GB, free: 49.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.042/2.804, allocations: 21.84 MB / 1.517 GB, free: 46.71 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.1347/2.938, allocations: 62.52 MB / 1.578 GB, free: 11.37 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02536/2.964, allocations: 11.69 MB / 1.589 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01841/2.982, allocations: 8.954 MB / 1.598 GB, free: 7 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.0786/3.061, allocations: 29.65 MB / 1.627 GB, free: 9.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02187/3.083, allocations: 11.24 MB / 1.638 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03214/3.115, allocations: 8.249 MB / 1.646 GB, free: 5.887 MB / 1.061 GB Notification: Performance of pre-optimization done (n=567): time 3.988e-05/3.115, allocations: 0 / 1.646 GB, free: 5.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=838): time 1.404/4.519, allocations: 217.5 MB / 1.859 GB, free: 0.5271 GB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1402/4.659, allocations: 54.22 MB / 1.912 GB, free: 499 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0396/4.699, allocations: 17.5 MB / 1.929 GB, free: 481.8 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004928/4.704, allocations: 225.7 kB / 1.929 GB, free: 481.6 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01213/4.716, allocations: 7.873 MB / 1.937 GB, free: 475.3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.009082/4.725, allocations: 3.147 MB / 1.94 GB, free: 473.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0212/4.746, allocations: 3.984 MB / 1.943 GB, free: 469.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/4.746, allocations: 305.1 kB / 1.944 GB, free: 469.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03102/4.777, allocations: 20.33 MB / 1.964 GB, free: 449 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0354/4.813, allocations: 25.33 MB / 1.988 GB, free: 422.1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06238/4.875, allocations: 38.66 MB / 2.026 GB, free: 382.6 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.767e-05/4.875, allocations: 16 kB / 2.026 GB, free: 382.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5947/5.47, allocations: 134.3 MB / 2.157 GB, free: 248.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/5.47, allocations: 65.56 kB / 2.157 GB, free: 248.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/5.47, allocations: 52 kB / 2.157 GB, free: 248 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5581/6.028, allocations: 117.9 MB / 2.273 GB, free: 130.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/6.046, allocations: 3.549 MB / 2.276 GB, free: 126.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1317/6.178, allocations: 80.96 MB / 2.355 GB, free: 45.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09017/6.268, allocations: 6.438 MB / 2.361 GB, free: 38.96 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006787/6.275, allocations: 1.318 MB / 2.363 GB, free: 37.64 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03928/6.314, allocations: 23.71 MB / 2.386 GB, free: 13.89 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4748/6.789, allocations: 24.8 MB / 2.41 GB, free: 0.515 GB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06243/6.851, allocations: 37.63 MB / 2.447 GB, free: 0.509 GB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001226/6.851, allocations: 17.33 kB / 2.447 GB, free: 0.509 GB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5755/7.427, allocations: 132.7 MB / 2.576 GB, free: 430.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/7.427, allocations: 53.7 kB / 2.576 GB, free: 430.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.361e-05/7.427, allocations: 52 kB / 2.576 GB, free: 430.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5606/7.987, allocations: 117.5 MB / 2.691 GB, free: 313.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01629/8.004, allocations: 3.533 MB / 2.695 GB, free: 310 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1435/8.147, allocations: 84.17 MB / 2.777 GB, free: 226 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0892/8.236, allocations: 6.485 MB / 2.783 GB, free: 219.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005911/8.242, allocations: 1.279 MB / 2.784 GB, free: 218.2 MB / 1.201 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.007547/8.25, allocations: 0.7635 MB / 2.785 GB, free: 217.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008123/8.258, allocations: 1.682 MB / 2.787 GB, free: 216.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2169/8.475, allocations: 60.29 MB / 2.846 GB, free: 156.8 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2204/8.695, allocations: 66.11 MB / 2.91 GB, free: 90.87 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001779/8.695, allocations: 34.75 kB / 2.91 GB, free: 90.84 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.21/8.905, allocations: 65.43 MB / 2.974 GB, free: 25.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7997/9.705, allocations: 109.8 MB / 3.081 GB, free: 499.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001263/9.705, allocations: 1.406 kB / 3.081 GB, free: 499.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/9.717, allocations: 1.978 MB / 3.083 GB, free: 499.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3216/10.04, allocations: 81.3 MB / 3.163 GB, free: 434.9 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004055/10.04, allocations: 0.569 MB / 3.163 GB, free: 434.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1052/10.15, allocations: 57.87 MB / 3.22 GB, free: 376.5 MB / 1.201 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.1202/10.27, allocations: 51.79 MB / 3.27 GB, free: 324.2 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2637/10.53, allocations: 95.36 MB / 3.364 GB, free: 230 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0211/10.55, allocations: 6.09 MB / 3.37 GB, free: 224.5 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009517/10.56, allocations: 223.8 kB / 3.37 GB, free: 224.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05435/10.62, allocations: 3.307 MB / 3.373 GB, free: 221 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005859/10.62, allocations: 0.904 MB / 3.374 GB, free: 220.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004194/10.63, allocations: 0.6237 MB / 3.374 GB, free: 219.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.02662/10.65, allocations: 11.89 MB / 3.386 GB, free: 207.7 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.01e-07/10.65, allocations: 0 / 3.386 GB, free: 207.7 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.08906/10.74, allocations: 38.67 MB / 3.424 GB, free: 169.2 MB / 1.201 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.007236/10.75, allocations: 1.875 MB / 3.426 GB, free: 167.4 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.1284/10.88, allocations: 74.04 MB / 3.498 GB, free: 93.35 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/10.88, allocations: 4.125 kB / 3.498 GB, free: 93.34 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.05344/10.93, allocations: 23.18 MB / 3.521 GB, free: 70.15 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05868/10.99, allocations: 7.951 MB / 3.528 GB, free: 62.45 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/11.09, allocations: 55.09 MB / 3.582 GB, free: 7.211 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4692/11.56, allocations: 10.09 MB / 3.592 GB, free: 0.4889 GB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01286/11.58, allocations: 2.108 MB / 3.594 GB, free: 0.4889 GB / 1.201 GB Notification: Performance of SimCode: time 1.252e-06/11.58, allocations: 0 / 3.594 GB, free: 0.4889 GB / 1.201 GB Notification: Performance of Templates: time 2.379/13.96, allocations: 1.36 GB / 4.954 GB, free: 309.3 MB / 1.201 GB " [Timeout remaining time 646] 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: 88.07598211197183] Failed to read output from testmodel.py, exit status != 0: 13.96645780093968 13.9766602 11.419950728 Calling exit ...