Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01105/0.01105, allocations: 105 kB / 15.74 MB, free: 6.492 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.002365/0.002365, allocations: 190.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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 60.12 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3533, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.163/1.517, allocations: 357.7 MB / 1.557 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.1196/1.636, allocations: 75.84 MB / 1.631 GB, free: 4.941 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02304/1.659, allocations: 433.5 kB / 1.632 GB, free: 4.516 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.02065/1.68, allocations: 6.431 MB / 1.638 GB, free: 14.05 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.04655/1.727, allocations: 14.09 MB / 1.652 GB, free: 15.91 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.02849/1.755, allocations: 10.18 MB / 1.662 GB, free: 5.805 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.1153/1.871, allocations: 74.31 MB / 1.734 GB, free: 11.35 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03704/1.908, allocations: 20.04 MB / 1.754 GB, free: 7.156 MB / 1.436 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04426/1.952, allocations: 17.47 MB / 1.771 GB, free: 5.664 MB / 1.451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03413/1.986, allocations: 16.44 MB / 1.787 GB, free: 5.172 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.009679/1.996, allocations: 1.969 MB / 1.789 GB, free: 3.203 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02618/2.022, allocations: 6.059 MB / 1.795 GB, free: 13.14 MB / 1.482 GB Notification: Performance of NFScalarize.scalarize: time 0.01695/2.039, allocations: 6.515 MB / 1.801 GB, free: 6.602 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 1.876/3.915, allocations: 11.23 MB / 1.812 GB, free: 141.7 MB / 1.483 GB Notification: Performance of NFConvertDAE.convert: time 0.06889/3.984, allocations: 31.16 MB / 1.842 GB, free: 141 MB / 1.483 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/3.984, allocations: 7.875 kB / 1.842 GB, free: 141 MB / 1.483 GB Notification: Performance of FrontEnd: time 2.144e-06/3.984, allocations: 0 / 1.842 GB, free: 141 MB / 1.483 GB Notification: Performance of Transformations before backend: time 0.001548/3.986, allocations: 0 / 1.842 GB, free: 141 MB / 1.483 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.1319/4.118, allocations: 23.93 MB / 1.866 GB, free: 132.5 MB / 1.483 GB Notification: Performance of prepare preOptimizeDAE: time 6.825e-05/4.118, allocations: 10.66 kB / 1.866 GB, free: 132.5 MB / 1.483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/4.145, allocations: 3.192 MB / 1.869 GB, free: 131.5 MB / 1.483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0671/4.212, allocations: 20.85 MB / 1.889 GB, free: 128.5 MB / 1.483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/4.213, allocations: 0.6736 MB / 1.89 GB, free: 128.5 MB / 1.483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009363/4.223, allocations: 0.9418 MB / 1.891 GB, free: 128.5 MB / 1.483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06574/4.289, allocations: 17.11 MB / 1.908 GB, free: 127.7 MB / 1.483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000926/4.29, allocations: 15.78 kB / 1.908 GB, free: 127.7 MB / 1.483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009944/4.3, allocations: 326 kB / 1.908 GB, free: 127.7 MB / 1.483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006853/4.3, allocations: 373.9 kB / 1.908 GB, free: 127.7 MB / 1.483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05611/4.356, allocations: 21.53 MB / 1.929 GB, free: 127.6 MB / 1.483 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.1805/4.537, allocations: 82.93 MB / 2.01 GB, free: 85.28 MB / 1.483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/4.56, allocations: 13.31 MB / 2.023 GB, free: 82.98 MB / 1.483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01495/4.575, allocations: 9.803 MB / 2.033 GB, free: 78.54 MB / 1.483 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.07818/4.654, allocations: 35.52 MB / 2.068 GB, free: 42.78 MB / 1.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01827/4.672, allocations: 10.25 MB / 2.078 GB, free: 32.46 MB / 1.483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02303/4.695, allocations: 5.818 MB / 2.083 GB, free: 26.8 MB / 1.483 GB Notification: Performance of pre-optimization done (n=588): time 3.31e-05/4.695, allocations: 5.438 kB / 2.083 GB, free: 26.8 MB / 1.483 GB Notification: Performance of matching and sorting (n=880): time 1.097/5.792, allocations: 239.8 MB / 2.317 GB, free: 10.41 MB / 1.701 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : 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 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : 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 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1457/5.938, allocations: 55.27 MB / 2.371 GB, free: 1.609 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04595/5.984, allocations: 17.78 MB / 2.389 GB, free: 15.93 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.005086/5.989, allocations: 233.7 kB / 2.389 GB, free: 15.69 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01131/6, allocations: 7.712 MB / 2.397 GB, free: 7.996 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.01326/6.013, allocations: 3.185 MB / 2.4 GB, free: 4.836 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02399/6.037, allocations: 4.546 MB / 2.404 GB, free: 280 kB / 1.779 GB Notification: Performance of setup shared object (initialization): time 0.0001295/6.038, allocations: 305.1 kB / 2.404 GB, free: 15.97 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0436/6.081, allocations: 25.63 MB / 2.429 GB, free: 6.309 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7697/6.851, allocations: 28.5 MB / 2.457 GB, free: 0.7709 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09906/6.95, allocations: 46.83 MB / 2.503 GB, free: 0.766 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/6.95, allocations: 15.31 kB / 2.503 GB, free: 0.766 GB / 1.826 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6529/7.603, allocations: 146 MB / 2.646 GB, free: 0.6761 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/7.603, allocations: 53.7 kB / 2.646 GB, free: 0.676 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.012e-05/7.603, allocations: 48 kB / 2.646 GB, free: 0.676 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6029/8.206, allocations: 119.8 MB / 2.763 GB, free: 0.5593 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02206/8.228, allocations: 3.798 MB / 2.766 GB, free: 0.5556 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1508/8.379, allocations: 84.28 MB / 2.849 GB, free: 484.6 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2282/8.607, allocations: 10.61 MB / 2.859 GB, free: 474 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008849/8.616, allocations: 1.665 MB / 2.861 GB, free: 472.3 MB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04967/8.666, allocations: 29.03 MB / 2.889 GB, free: 443.3 MB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03833/8.704, allocations: 27.97 MB / 2.916 GB, free: 414.2 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06862/8.773, allocations: 45.77 MB / 2.961 GB, free: 367.7 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-05/8.773, allocations: 20 kB / 2.961 GB, free: 367.7 MB / 1.826 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6297/9.403, allocations: 144.3 MB / 3.102 GB, free: 224.2 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/9.403, allocations: 61.78 kB / 3.102 GB, free: 224.2 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-05/9.403, allocations: 52 kB / 3.102 GB, free: 224.1 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5923/9.995, allocations: 118.8 MB / 3.218 GB, free: 105.6 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02134/10.02, allocations: 3.751 MB / 3.222 GB, free: 101.9 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058/11.07, allocations: 88.15 MB / 3.308 GB, free: 0.7331 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2255/11.3, allocations: 10.66 MB / 3.318 GB, free: 0.7331 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008331/11.31, allocations: 1.634 MB / 3.32 GB, free: 0.7331 GB / 1.826 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.01004/11.32, allocations: 0.7759 MB / 3.321 GB, free: 0.733 GB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01062/11.33, allocations: 1.622 MB / 3.322 GB, free: 0.733 GB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2422/11.57, allocations: 68.68 MB / 3.389 GB, free: 0.7272 GB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2494/11.82, allocations: 83.18 MB / 3.471 GB, free: 0.6811 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001542/11.82, allocations: 29.69 kB / 3.471 GB, free: 0.6811 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2263/12.05, allocations: 82.07 MB / 3.551 GB, free: 0.601 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3917/12.44, allocations: 216.1 MB / 3.762 GB, free: 399.5 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001204/12.44, allocations: 1.312 kB / 3.762 GB, free: 399.5 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/12.45, allocations: 2.238 MB / 3.764 GB, free: 397.3 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5817/13.03, allocations: 144.7 MB / 3.905 GB, free: 252.8 MB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005217/13.04, allocations: 0.818 MB / 3.906 GB, free: 252 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1282/13.17, allocations: 72.11 MB / 3.976 GB, free: 179.8 MB / 1.826 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. 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/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$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]) * 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 (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:804:5-804:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]