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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006971/0.006971, allocations: 100.7 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 193.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 283.2 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 96.08 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1696, allocations: 86.97 MB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.132/1.302, allocations: 357.7 MB / 1.116 GB, free: 56.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.09368/1.396, allocations: 75.87 MB / 1.19 GB, free: 55.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01652/1.412, allocations: 435.2 kB / 1.19 GB, free: 55.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01908/1.431, allocations: 6.426 MB / 1.197 GB, free: 55.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03696/1.468, allocations: 14.09 MB / 1.21 GB, free: 52.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0227/1.491, allocations: 10.19 MB / 1.22 GB, free: 45.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08622/1.577, allocations: 74.2 MB / 1.293 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03275/1.61, allocations: 20.02 MB / 1.312 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03976/1.65, allocations: 17.41 MB / 1.329 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02972/1.68, allocations: 16.36 MB / 1.345 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.007431/1.687, allocations: 1.961 MB / 1.347 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/1.707, allocations: 6.05 MB / 1.353 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01119/1.718, allocations: 6.497 MB / 1.359 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02285/1.741, allocations: 11.19 MB / 1.37 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.04581/1.787, allocations: 31.09 MB / 1.401 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.787, allocations: 0 / 1.401 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.522e-06/1.787, allocations: 4 kB / 1.401 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0009104/1.788, allocations: 0 / 1.401 GB, free: 8.48 MB / 0.9669 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.06338/1.852, allocations: 23.9 MB / 1.424 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.852, allocations: 16.03 kB / 1.424 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/1.869, allocations: 3.189 MB / 1.427 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05/1.919, allocations: 20.85 MB / 1.448 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008868/1.92, allocations: 0.6735 MB / 1.448 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005642/1.926, allocations: 0.9366 MB / 1.449 GB, free: 7.246 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04132/1.967, allocations: 17.07 MB / 1.466 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003129/1.967, allocations: 11.84 kB / 1.466 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004131/1.971, allocations: 334.6 kB / 1.466 GB, free: 5.648 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004166/1.972, allocations: 371.3 kB / 1.466 GB, free: 5.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7646/2.737, allocations: 21.5 MB / 1.487 GB, free: 434.8 MB / 1.029 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.1302/2.867, allocations: 83.28 MB / 1.569 GB, free: 377.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/2.886, allocations: 13.03 MB / 1.582 GB, free: 370.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01318/2.899, allocations: 10.08 MB / 1.591 GB, free: 362.4 MB / 1.029 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.06853/2.968, allocations: 35.3 MB / 1.626 GB, free: 327.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01734/2.985, allocations: 10.14 MB / 1.636 GB, free: 317.1 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02016/3.005, allocations: 5.813 MB / 1.641 GB, free: 312.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=567): time 3.377e-05/3.005, allocations: 0 / 1.641 GB, free: 312.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=838): time 0.907/3.912, allocations: 217.8 MB / 1.854 GB, free: 93.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1301/4.042, allocations: 55.98 MB / 1.909 GB, free: 36.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02935/4.072, allocations: 17.79 MB / 1.926 GB, free: 18.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003829/4.076, allocations: 225.7 kB / 1.926 GB, free: 18.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.007222/4.083, allocations: 7.743 MB / 1.934 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007379/4.09, allocations: 3.009 MB / 1.937 GB, free: 8.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01161/4.102, allocations: 3.995 MB / 1.941 GB, free: 4.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/4.102, allocations: 301.1 kB / 1.941 GB, free: 3.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7442/4.846, allocations: 20.27 MB / 1.961 GB, free: 397.5 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03845/4.885, allocations: 23.1 MB / 1.983 GB, free: 389.1 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05976/4.945, allocations: 38.61 MB / 2.021 GB, free: 374.8 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/4.945, allocations: 19.59 kB / 2.021 GB, free: 374.8 MB / 1.03 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6065/5.551, allocations: 134.6 MB / 2.153 GB, free: 262.9 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/5.551, allocations: 53.89 kB / 2.153 GB, free: 262.9 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.072e-05/5.551, allocations: 56 kB / 2.153 GB, free: 262.8 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6011/6.153, allocations: 118 MB / 2.268 GB, free: 145.3 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01833/6.171, allocations: 3.557 MB / 2.271 GB, free: 141.7 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1414/6.312, allocations: 81.88 MB / 2.351 GB, free: 59.73 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09736/6.41, allocations: 6.449 MB / 2.358 GB, free: 53.28 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00763/6.417, allocations: 1.31 MB / 2.359 GB, free: 51.97 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5272/6.945, allocations: 23.67 MB / 2.382 GB, free: 384.3 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03621/6.981, allocations: 22.59 MB / 2.404 GB, free: 381.2 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05858/7.04, allocations: 37.58 MB / 2.441 GB, free: 367.3 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.852e-05/7.04, allocations: 14.19 kB / 2.441 GB, free: 367.3 MB / 1.03 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6328/7.672, allocations: 133 MB / 2.571 GB, free: 273.7 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/7.673, allocations: 58.33 kB / 2.571 GB, free: 273.6 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.014e-05/7.673, allocations: 52 kB / 2.571 GB, free: 273.6 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5969/8.27, allocations: 117.6 MB / 2.686 GB, free: 156.3 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/8.287, allocations: 3.522 MB / 2.689 GB, free: 152.8 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1458/8.433, allocations: 86.13 MB / 2.773 GB, free: 66.57 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09518/8.528, allocations: 6.494 MB / 2.779 GB, free: 60.08 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006658/8.534, allocations: 1.279 MB / 2.781 GB, free: 58.8 MB / 1.03 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.008281/8.543, allocations: 0.7661 MB / 2.781 GB, free: 58.06 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008011/8.551, allocations: 1.608 MB / 2.783 GB, free: 57.32 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7343/9.285, allocations: 60.77 MB / 2.842 GB, free: 376.4 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2212/9.506, allocations: 67.03 MB / 2.908 GB, free: 360.9 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/9.507, allocations: 31.16 kB / 2.908 GB, free: 360.9 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2066/9.713, allocations: 66.37 MB / 2.973 GB, free: 300.1 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2776/9.991, allocations: 130.4 MB / 3.1 GB, free: 170 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-05/9.991, allocations: 0 / 3.1 GB, free: 170 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01162/10, allocations: 1.985 MB / 3.102 GB, free: 168.1 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3341/10.34, allocations: 81.39 MB / 3.181 GB, free: 86.82 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003747/10.34, allocations: 0.5735 MB / 3.182 GB, free: 86.24 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5407/10.88, allocations: 58.54 MB / 3.239 GB, free: 372.1 MB / 1.03 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.1274/11.01, allocations: 54.12 MB / 3.292 GB, free: 353.4 MB / 1.03 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.256/11.26, allocations: 96.18 MB / 3.386 GB, free: 311.5 MB / 1.03 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01683/11.28, allocations: 5.938 MB / 3.392 GB, free: 306.4 MB / 1.03 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006971/11.29, allocations: 212 kB / 3.392 GB, free: 306.2 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05523/11.34, allocations: 3.319 MB / 3.395 GB, free: 303.3 MB / 1.03 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005353/11.35, allocations: 0.8693 MB / 3.396 GB, free: 302.5 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003096/11.35, allocations: 0.6312 MB / 3.397 GB, free: 301.8 MB / 1.03 GB Notification: Performance of sorting global known variables: time 0.0217/11.37, allocations: 12.16 MB / 3.409 GB, free: 289.8 MB / 1.03 GB Notification: Performance of sort global known variables: time 8.42e-07/11.37, allocations: 3.719 kB / 3.409 GB, free: 289.8 MB / 1.03 GB Notification: Performance of remove unused functions: time 0.08458/11.46, allocations: 38.7 MB / 3.446 GB, free: 251.2 MB / 1.03 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.005866/11.46, allocations: 1.937 MB / 3.448 GB, free: 249.7 MB / 1.03 GB Notification: Performance of simCode: created initialization part: time 0.1269/11.59, allocations: 77.45 MB / 3.524 GB, free: 172.4 MB / 1.03 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/11.59, allocations: 1.875 kB / 3.524 GB, free: 172.4 MB / 1.03 GB Notification: Performance of simCode: created simulation system equations: time 0.05318/11.64, allocations: 25.49 MB / 3.549 GB, free: 146.9 MB / 1.03 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05584/11.7, allocations: 7.989 MB / 3.557 GB, free: 139.2 MB / 1.03 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08407/11.78, allocations: 53.83 MB / 3.609 GB, free: 85.38 MB / 1.03 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01656/11.8, allocations: 10.46 MB / 3.619 GB, free: 74.88 MB / 1.03 GB Notification: Performance of simCode: alias equations: time 0.03186/11.83, allocations: 7.985 MB / 3.627 GB, free: 66.88 MB / 1.03 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01271/11.85, allocations: 2.055 MB / 3.629 GB, free: 64.82 MB / 1.03 GB Notification: Performance of SimCode: time 6.51e-07/11.85, allocations: 4 kB / 3.629 GB, free: 64.82 MB / 1.03 GB Notification: Performance of Templates: time 1.708/13.55, allocations: 0.6579 GB / 4.287 GB, free: 228.2 MB / 1.03 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile (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)