Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001631/0.001631, allocations: 80.05 kB / 19.76 MB, free: 2.027 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.001827/0.001827, allocations: 159.4 kB / 23.01 MB, free: 4.949 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.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.906/2.906, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Buildings 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.002466/0.002466, allocations: 70.55 kB / 0.982 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.365/1.448, allocations: 329 MB / 1.475 GB, free: 15.18 MB / 1.326 GB Notification: Performance of NFInst.instExpressions: time 0.129/1.577, allocations: 70.67 MB / 1.544 GB, free: 8.336 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02481/1.602, allocations: 0.6003 MB / 1.545 GB, free: 7.73 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.02203/1.624, allocations: 6.374 MB / 1.551 GB, free: 1.328 MB / 1.389 GB Notification: Performance of NFTyping.typeBindings: time 0.04662/1.67, allocations: 14.96 MB / 1.566 GB, free: 2.316 MB / 1.404 GB Notification: Performance of NFTyping.typeClassSections: time 0.02872/1.699, allocations: 10.46 MB / 1.576 GB, free: 7.926 MB / 1.42 GB Notification: Performance of NFFlatten.flatten: time 0.1137/1.813, allocations: 66.57 MB / 1.641 GB, free: 5.207 MB / 1.482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03489/1.848, allocations: 15.36 MB / 1.656 GB, free: 5.699 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04966/1.897, allocations: 18.38 MB / 1.674 GB, free: 3.293 MB / 1.514 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03606/1.933, allocations: 15.93 MB / 1.689 GB, free: 3.309 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.008999/1.942, allocations: 1.758 MB / 1.691 GB, free: 1.551 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02179/1.964, allocations: 4.9 MB / 1.696 GB, free: 12.64 MB / 1.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01314/1.977, allocations: 6.085 MB / 1.702 GB, free: 6.539 MB / 1.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02601/2.003, allocations: 8.703 MB / 1.71 GB, free: 13.8 MB / 1.561 GB Notification: Performance of NFConvertDAE.convert: time 1.783/3.786, allocations: 29.31 MB / 1.739 GB, free: 163.1 MB / 1.561 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/3.786, allocations: 0.6562 kB / 1.739 GB, free: 163.1 MB / 1.561 GB Notification: Performance of FrontEnd: time 2.465e-06/3.786, allocations: 0 / 1.739 GB, free: 163.1 MB / 1.561 GB Notification: Performance of Transformations before backend: time 0.001251/3.787, allocations: 1.844 kB / 1.739 GB, free: 163.1 MB / 1.561 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.09885/3.886, allocations: 20.66 MB / 1.759 GB, free: 154.5 MB / 1.561 GB Notification: Performance of prepare preOptimizeDAE: time 7.032e-05/3.886, allocations: 8.938 kB / 1.759 GB, free: 154.5 MB / 1.561 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02617/3.913, allocations: 3.222 MB / 1.762 GB, free: 153.5 MB / 1.561 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06091/3.973, allocations: 20.01 MB / 1.782 GB, free: 150.2 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/3.975, allocations: 0.6431 MB / 1.783 GB, free: 150.2 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007758/3.982, allocations: 0.8872 MB / 1.783 GB, free: 150.2 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05887/4.041, allocations: 18.06 MB / 1.801 GB, free: 148.2 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006803/4.042, allocations: 14.16 kB / 1.801 GB, free: 148.2 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00689/4.049, allocations: 318.9 kB / 1.801 GB, free: 148.2 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/4.049, allocations: 204.8 kB / 1.802 GB, free: 148.2 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05041/4.1, allocations: 21.38 MB / 1.822 GB, free: 148.2 MB / 1.561 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.1364/4.236, allocations: 60.7 MB / 1.882 GB, free: 132 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/4.26, allocations: 12.32 MB / 1.894 GB, free: 131.2 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01683/4.277, allocations: 9.195 MB / 1.903 GB, free: 129.5 MB / 1.561 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.07333/4.35, allocations: 28.61 MB / 1.931 GB, free: 116.5 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02025/4.371, allocations: 11.43 MB / 1.942 GB, free: 109 MB / 1.561 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03085/4.401, allocations: 8.165 MB / 1.95 GB, free: 102.4 MB / 1.561 GB Notification: Performance of pre-optimization done (n=503): time 3.481e-05/4.401, allocations: 7.844 kB / 1.95 GB, free: 102.4 MB / 1.561 GB Notification: Performance of matching and sorting (n=742): time 0.9975/5.399, allocations: 218 MB / 2.163 GB, free: 12.11 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1336/5.532, allocations: 47.47 MB / 2.209 GB, free: 11.88 MB / 1.733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04795/5.58, allocations: 16.21 MB / 2.225 GB, free: 11.75 MB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.006018/5.586, allocations: 205.7 kB / 2.225 GB, free: 11.54 MB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.0145/5.601, allocations: 7.828 MB / 2.233 GB, free: 3.715 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.008602/5.61, allocations: 2.734 MB / 2.235 GB, free: 1.016 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01537/5.625, allocations: 3.341 MB / 2.239 GB, free: 13.67 MB / 1.764 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.625, allocations: 305.1 kB / 2.239 GB, free: 13.37 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03652/5.662, allocations: 18.59 MB / 2.257 GB, free: 10.75 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04136/5.703, allocations: 23.37 MB / 2.28 GB, free: 1.859 MB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07745/5.78, allocations: 35.7 MB / 2.315 GB, free: 13.61 MB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.488e-05/5.78, allocations: 12 kB / 2.315 GB, free: 13.6 MB / 1.842 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 1.466/7.247, allocations: 130.2 MB / 2.442 GB, free: 0.7973 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/7.247, allocations: 62.34 kB / 2.442 GB, free: 0.7973 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/7.247, allocations: 50.88 kB / 2.442 GB, free: 0.7973 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6182/7.865, allocations: 117.8 MB / 2.557 GB, free: 0.764 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/7.882, allocations: 2.971 MB / 2.56 GB, free: 0.763 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1435/8.025, allocations: 80.9 MB / 2.639 GB, free: 0.6847 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09448/8.12, allocations: 6.551 MB / 2.645 GB, free: 0.6783 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00572/8.125, allocations: 1.253 MB / 2.647 GB, free: 0.677 GB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03483/8.16, allocations: 21.64 MB / 2.668 GB, free: 0.6559 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02903/8.189, allocations: 22.85 MB / 2.69 GB, free: 0.6321 GB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05836/8.248, allocations: 34.66 MB / 2.724 GB, free: 0.5975 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001818/8.248, allocations: 16 kB / 2.724 GB, free: 0.5975 GB / 1.936 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.6157/8.863, allocations: 128.6 MB / 2.85 GB, free: 484.2 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/8.863, allocations: 57.45 kB / 2.85 GB, free: 484.2 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-05/8.864, allocations: 52 kB / 2.85 GB, free: 484.1 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6092/9.473, allocations: 117.5 MB / 2.964 GB, free: 367 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/9.488, allocations: 2.952 MB / 2.967 GB, free: 364 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1586/9.647, allocations: 84.11 MB / 3.049 GB, free: 280 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09714/9.744, allocations: 6.582 MB / 3.056 GB, free: 273.5 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006768/9.75, allocations: 1.224 MB / 3.057 GB, free: 272.2 MB / 1.936 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 (907): * Single equations (assignments): 891 * 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.008106/9.759, allocations: 0.6852 MB / 3.058 GB, free: 271.6 MB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008283/9.767, allocations: 1.613 MB / 3.059 GB, free: 270.9 MB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2329/10, allocations: 60.03 MB / 3.118 GB, free: 211.1 MB / 1.936 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2283/10.23, allocations: 63.67 MB / 3.18 GB, free: 147.4 MB / 1.936 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001676/10.23, allocations: 28 kB / 3.18 GB, free: 147.4 MB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.229/10.46, allocations: 63.01 MB / 3.242 GB, free: 84.36 MB / 1.936 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.205/11.66, allocations: 107.6 MB / 3.347 GB, free: 0.7781 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-05/11.66, allocations: 1.312 kB / 3.347 GB, free: 0.7781 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01297/11.68, allocations: 2.132 MB / 3.349 GB, free: 0.778 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3488/12.02, allocations: 78.26 MB / 3.425 GB, free: 0.7638 GB / 1.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004239/12.03, allocations: 0.5381 MB / 3.426 GB, free: 0.7635 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1174/12.15, allocations: 54.97 MB / 3.479 GB, free: 0.7312 GB / 1.936 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.109/12.25, allocations: 46.46 MB / 3.525 GB, free: 0.6852 GB / 1.936 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.263/12.52, allocations: 90.7 MB / 3.613 GB, free: 0.5977 GB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0176/12.54, allocations: 5.429 MB / 3.619 GB, free: 0.5933 GB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008542/12.54, allocations: 168 kB / 3.619 GB, free: 0.5931 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05452/12.6, allocations: 3.471 MB / 3.622 GB, free: 0.5898 GB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005284/12.6, allocations: 0.8526 MB / 3.623 GB, free: 0.5889 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00436/12.61, allocations: 0.6158 MB / 3.624 GB, free: 0.5883 GB / 1.936 GB Notification: Performance of sorting global known variables: time 0.02199/12.63, allocations: 11.12 MB / 3.635 GB, free: 0.5775 GB / 1.936 GB Notification: Performance of sort global known variables: time 2.61e-07/12.63, allocations: 6.297 kB / 3.635 GB, free: 0.5775 GB / 1.936 GB Notification: Performance of remove unused functions: time 0.08188/12.71, allocations: 34.52 MB / 3.668 GB, free: 0.544 GB / 1.936 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006385/12.72, allocations: 1.668 MB / 3.67 GB, free: 0.5425 GB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.1283/12.85, allocations: 67.32 MB / 3.736 GB, free: 488.2 MB / 1.936 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/12.85, allocations: 4 kB / 3.736 GB, free: 488.2 MB / 1.936 GB Notification: Performance of simCode: created simulation system equations: time 0.05623/12.9, allocations: 22.09 MB / 3.757 GB, free: 466.2 MB / 1.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06262/12.97, allocations: 8.475 MB / 3.765 GB, free: 458 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08376/13.05, allocations: 49.46 MB / 3.814 GB, free: 408.5 MB / 1.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/13.06, allocations: 9.625 MB / 3.823 GB, free: 398.8 MB / 1.936 GB Notification: Performance of simCode: alias equations: time 0.03267/13.09, allocations: 6.648 MB / 3.83 GB, free: 392.2 MB / 1.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01305/13.11, allocations: 2.059 MB / 3.832 GB, free: 390.1 MB / 1.936 GB Notification: Performance of SimCode: time 1.593e-06/13.11, allocations: 0 / 3.832 GB, free: 390.1 MB / 1.936 GB Notification: Performance of Templates: time 2.019/15.13, allocations: 0.6383 GB / 4.47 GB, free: 0.6193 GB / 1.936 GB " [Timeout remaining time 285] make -j1 -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 40.47246077400632] Failed to read output from testmodel.py, exit status != 0: 15.139947197050788 15.149266828 11.36017271 Calling exit ...