Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4658/0.4658, allocations: 87.49 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 99.98 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 55.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3454, allocations: 70.06 MB / 0.5575 GB, free: 44.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.6938/1.039, allocations: 353.1 MB / 0.9023 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.5331/1.572, allocations: 73.02 MB / 0.9736 GB, free: 19.46 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01713/1.59, allocations: 395.5 kB / 0.974 GB, free: 19.46 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01639/1.606, allocations: 4.424 MB / 0.9783 GB, free: 19.46 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.03873/1.645, allocations: 12.54 MB / 0.9905 GB, free: 19.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.02499/1.67, allocations: 8.908 MB / 0.9992 GB, free: 18.9 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.06727/1.737, allocations: 48.5 MB / 1.047 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02652/1.764, allocations: 17.55 MB / 1.064 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03785/1.802, allocations: 14.69 MB / 1.078 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03166/1.833, allocations: 15.72 MB / 1.093 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.009325/1.843, allocations: 1.211 MB / 1.095 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02456/1.867, allocations: 4.872 MB / 1.099 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.01216/1.879, allocations: 5.098 MB / 1.104 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.02933/1.909, allocations: 9.508 MB / 1.114 GB, free: 4.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0508/1.96, allocations: 27.91 MB / 1.141 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.96, allocations: 0 / 1.141 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/1.96, allocations: 0 / 1.141 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001096/1.961, allocations: 0 / 1.141 GB, free: 9.805 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06826/2.029, allocations: 22.11 MB / 1.162 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/2.029, allocations: 12.03 kB / 1.162 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/2.045, allocations: 2.57 MB / 1.165 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04617/2.091, allocations: 15.68 MB / 1.18 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009805/2.092, allocations: 0.6854 MB / 1.181 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005965/2.098, allocations: 0.9248 MB / 1.182 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04771/2.146, allocations: 16.52 MB / 1.198 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000456/2.146, allocations: 15.81 kB / 1.198 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004435/2.151, allocations: 325.9 kB / 1.198 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004617/2.151, allocations: 359.3 kB / 1.199 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04533/2.196, allocations: 21.08 MB / 1.219 GB, free: 9.695 MB / 0.8073 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.6897/2.886, allocations: 81.09 MB / 1.298 GB, free: 400.6 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/2.904, allocations: 12.61 MB / 1.311 GB, free: 393.4 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01298/2.917, allocations: 9.834 MB / 1.32 GB, free: 387.9 MB / 0.8387 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.06721/2.985, allocations: 34.26 MB / 1.354 GB, free: 359.1 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01552/3, allocations: 9.714 MB / 1.363 GB, free: 349.3 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02561/3.026, allocations: 8.553 MB / 1.372 GB, free: 341.8 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=555): time 3.161e-05/3.026, allocations: 4 kB / 1.372 GB, free: 341.8 MB / 0.8387 GB Notification: Performance of matching and sorting (n=826): time 0.9166/3.943, allocations: 214.9 MB / 1.582 GB, free: 127.6 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1358/4.078, allocations: 55.24 MB / 1.635 GB, free: 71.31 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02595/4.104, allocations: 14.82 MB / 1.65 GB, free: 56.64 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.003831/4.108, allocations: 218.6 kB / 1.65 GB, free: 56.42 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.007572/4.116, allocations: 7.181 MB / 1.657 GB, free: 49.26 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.007798/4.124, allocations: 2.941 MB / 1.66 GB, free: 46.34 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01341/4.137, allocations: 3.543 MB / 1.664 GB, free: 42.79 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/4.137, allocations: 301.1 kB / 1.664 GB, free: 42.49 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02617/4.163, allocations: 18.97 MB / 1.682 GB, free: 23.5 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02939/4.193, allocations: 21.56 MB / 1.703 GB, free: 0.9219 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6006/4.794, allocations: 36.21 MB / 1.739 GB, free: 378.1 MB / 0.8388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/4.794, allocations: 17.47 kB / 1.739 GB, free: 378.1 MB / 0.8388 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.6011/5.395, allocations: 131.5 MB / 1.867 GB, free: 280.6 MB / 0.8388 GB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/5.395, allocations: 53.7 kB / 1.867 GB, free: 280.5 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-05/5.395, allocations: 56 kB / 1.867 GB, free: 280.5 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.596/5.991, allocations: 117.9 MB / 1.982 GB, free: 162.9 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01726/6.008, allocations: 3.309 MB / 1.986 GB, free: 159.6 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1561/6.164, allocations: 77.53 MB / 2.061 GB, free: 81.97 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0991/6.264, allocations: 6.76 MB / 2.068 GB, free: 75.23 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006768/6.27, allocations: 1.286 MB / 2.069 GB, free: 73.95 MB / 0.8388 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03747/6.308, allocations: 21.99 MB / 2.091 GB, free: 51.93 MB / 0.8388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0302/6.338, allocations: 21.11 MB / 2.111 GB, free: 29.8 MB / 0.8388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3436/6.682, allocations: 35.33 MB / 2.146 GB, free: 370.6 MB / 0.8388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.138e-05/6.682, allocations: 15.75 kB / 2.146 GB, free: 370.6 MB / 0.8388 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.6088/7.291, allocations: 130 MB / 2.273 GB, free: 291 MB / 0.8388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/7.291, allocations: 53.7 kB / 2.273 GB, free: 290.9 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/7.291, allocations: 52.84 kB / 2.273 GB, free: 290.9 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5984/7.889, allocations: 117.6 MB / 2.388 GB, free: 173.6 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/7.905, allocations: 3.287 MB / 2.391 GB, free: 170.3 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1575/8.063, allocations: 81.47 MB / 2.471 GB, free: 88.73 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09561/8.158, allocations: 6.775 MB / 2.477 GB, free: 81.97 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008509/8.167, allocations: 1.252 MB / 2.478 GB, free: 80.72 MB / 0.8388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1031): * Single equations (assignments): 1015 * 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.009628/8.176, allocations: 0.7145 MB / 2.479 GB, free: 80 MB / 0.8388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008079/8.185, allocations: 1.472 MB / 2.481 GB, free: 79.31 MB / 0.8388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2252/8.41, allocations: 60.24 MB / 2.539 GB, free: 19.18 MB / 0.8388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5265/8.936, allocations: 66.62 MB / 2.604 GB, free: 348.6 MB / 0.8388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001718/8.937, allocations: 28.88 kB / 2.604 GB, free: 348.6 MB / 0.8388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2109/9.147, allocations: 65.93 MB / 2.669 GB, free: 311.4 MB / 0.8388 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 postOpt removeSimpleEquations (simulation): time 0.2841/9.432, allocations: 129.2 MB / 2.795 GB, free: 182.7 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-05/9.432, allocations: 0 / 2.795 GB, free: 182.7 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01106/9.443, allocations: 1.912 MB / 2.797 GB, free: 180.8 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3393/9.782, allocations: 81.41 MB / 2.876 GB, free: 99.5 MB / 0.8388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003938/9.786, allocations: 0.5651 MB / 2.877 GB, free: 98.93 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1024/9.888, allocations: 55.73 MB / 2.931 GB, free: 43.13 MB / 0.8388 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 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 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.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 ] 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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.4182/10.31, allocations: 53.16 MB / 2.983 GB, free: 348.3 MB / 0.8388 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.