Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007048/0.007048, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001488/0.001488, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.31 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.9577/1.246, allocations: 355.6 MB / 1.435 GB, free: 3.738 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1084/1.354, allocations: 72.93 MB / 1.506 GB, free: 11.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01735/1.371, allocations: 429.5 kB / 1.507 GB, free: 11.49 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0176/1.389, allocations: 5.311 MB / 1.512 GB, free: 6.145 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.04302/1.432, allocations: 13.53 MB / 1.525 GB, free: 8.57 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.02438/1.457, allocations: 9.779 MB / 1.535 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.05805/1.515, allocations: 37.67 MB / 1.572 GB, free: 9.027 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03188/1.547, allocations: 19.82 MB / 1.591 GB, free: 5.055 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04215/1.589, allocations: 16.75 MB / 1.607 GB, free: 4.277 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0298/1.619, allocations: 15.89 MB / 1.623 GB, free: 4.328 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.009193/1.628, allocations: 1.871 MB / 1.625 GB, free: 2.457 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02002/1.648, allocations: 5.715 MB / 1.63 GB, free: 12.73 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.01075/1.659, allocations: 5.802 MB / 1.636 GB, free: 6.914 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.02295/1.682, allocations: 10.33 MB / 1.646 GB, free: 12.54 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.04464/1.726, allocations: 28.87 MB / 1.674 GB, free: 15.58 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.726, allocations: 4 kB / 1.674 GB, free: 15.57 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.934e-06/1.726, allocations: 0 / 1.674 GB, free: 15.57 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0009073/1.727, allocations: 0 / 1.674 GB, free: 15.57 MB / 1.295 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.06263/1.79, allocations: 22.14 MB / 1.696 GB, free: 9.266 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.79, allocations: 12.03 kB / 1.696 GB, free: 9.254 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/1.804, allocations: 2.574 MB / 1.698 GB, free: 6.656 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03557/1.839, allocations: 15.98 MB / 1.714 GB, free: 6.547 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006311/1.84, allocations: 0.6598 MB / 1.715 GB, free: 5.887 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/1.844, allocations: 0.9294 MB / 1.715 GB, free: 4.957 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03518/1.879, allocations: 16.56 MB / 1.732 GB, free: 4.176 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002373/1.879, allocations: 7.938 kB / 1.732 GB, free: 4.168 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/1.882, allocations: 332 kB / 1.732 GB, free: 3.844 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00039/1.882, allocations: 367.2 kB / 1.732 GB, free: 3.484 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03847/1.921, allocations: 21.08 MB / 1.753 GB, free: 14.39 MB / 1.373 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 1.342/3.263, allocations: 81.04 MB / 1.832 GB, free: 489.5 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02095/3.284, allocations: 12.83 MB / 1.845 GB, free: 484 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01506/3.299, allocations: 9.58 MB / 1.854 GB, free: 479.9 MB / 1.404 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.07277/3.372, allocations: 34.51 MB / 1.888 GB, free: 458.5 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.015/3.387, allocations: 9.784 MB / 1.897 GB, free: 452.5 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01993/3.407, allocations: 5.774 MB / 1.903 GB, free: 450.8 MB / 1.404 GB Notification: Performance of pre-optimization done (n=572): time 2.966e-05/3.407, allocations: 0 / 1.903 GB, free: 450.8 MB / 1.404 GB Notification: Performance of matching and sorting (n=864): time 0.9833/4.39, allocations: 239.1 MB / 2.136 GB, free: 218.4 MB / 1.404 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.1332/4.523, allocations: 55.26 MB / 2.19 GB, free: 161.6 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03279/4.556, allocations: 14.92 MB / 2.205 GB, free: 146.8 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.004717/4.561, allocations: 221.7 kB / 2.205 GB, free: 146.6 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.007341/4.568, allocations: 7.117 MB / 2.212 GB, free: 139.5 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.01121/4.579, allocations: 3.113 MB / 2.215 GB, free: 136.4 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01529/4.595, allocations: 4.087 MB / 2.219 GB, free: 132.3 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/4.595, allocations: 309.2 kB / 2.219 GB, free: 132 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03379/4.629, allocations: 24.33 MB / 2.243 GB, free: 107.6 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03513/4.664, allocations: 26.93 MB / 2.269 GB, free: 79.66 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06818/4.732, allocations: 44.44 MB / 2.313 GB, free: 34.41 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-05/4.732, allocations: 20 kB / 2.313 GB, free: 34.39 MB / 1.404 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 1.966/6.698, allocations: 142.9 MB / 2.452 GB, free: 439.9 MB / 1.405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/6.698, allocations: 51.83 kB / 2.452 GB, free: 439.9 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/6.698, allocations: 52.19 kB / 2.452 GB, free: 439.9 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6042/7.303, allocations: 119.9 MB / 2.569 GB, free: 326.5 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02103/7.324, allocations: 3.555 MB / 2.573 GB, free: 322.9 MB / 1.405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1616/7.485, allocations: 84.01 MB / 2.655 GB, free: 238.8 MB / 1.405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.243/7.728, allocations: 10.52 MB / 2.665 GB, free: 228.3 MB / 1.405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007903/7.736, allocations: 1.637 MB / 2.667 GB, free: 226.7 MB / 1.405 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04468/7.781, allocations: 27.35 MB / 2.694 GB, free: 199.3 MB / 1.405 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03559/7.817, allocations: 26.47 MB / 2.719 GB, free: 171.8 MB / 1.405 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06572/7.882, allocations: 43.5 MB / 2.762 GB, free: 127.5 MB / 1.405 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.082e-05/7.883, allocations: 16 kB / 2.762 GB, free: 127.5 MB / 1.405 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 1.305/9.188, allocations: 141.4 MB / 2.9 GB, free: 446.5 MB / 1.405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/9.188, allocations: 57.2 kB / 2.9 GB, free: 446.4 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/9.188, allocations: 51 kB / 2.9 GB, free: 446.4 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6101/9.798, allocations: 118.8 MB / 3.016 GB, free: 396.6 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/9.817, allocations: 3.497 MB / 3.02 GB, free: 393.3 MB / 1.405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1794/9.997, allocations: 88.24 MB / 3.106 GB, free: 305 MB / 1.405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2257/10.22, allocations: 10.54 MB / 3.116 GB, free: 294.5 MB / 1.405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007112/10.23, allocations: 1.6 MB / 3.118 GB, free: 292.9 MB / 1.405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1020): * Single equations (assignments): 1002 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.01065/10.24, allocations: 0.7395 MB / 3.118 GB, free: 292.2 MB / 1.405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009303/10.25, allocations: 1.472 MB / 3.12 GB, free: 291.5 MB / 1.405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2417/10.49, allocations: 68.13 MB / 3.186 GB, free: 223.5 MB / 1.405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2579/10.75, allocations: 82.8 MB / 3.267 GB, free: 140.6 MB / 1.405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001399/10.75, allocations: 28 kB / 3.267 GB, free: 140.6 MB / 1.405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2367/10.99, allocations: 81.68 MB / 3.347 GB, free: 58.81 MB / 1.405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.046/12.03, allocations: 206.3 MB / 3.548 GB, free: 383 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001196/12.03, allocations: 7.875 kB / 3.548 GB, free: 383 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01315/12.05, allocations: 2.17 MB / 3.551 GB, free: 381.2 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5949/12.64, allocations: 144.7 MB / 3.692 GB, free: 237.9 MB / 1.405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004812/12.65, allocations: 0.8064 MB / 3.693 GB, free: 237.1 MB / 1.405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1395/12.78, allocations: 71.81 MB / 3.763 GB, free: 165.2 MB / 1.405 GB Warning: The linear system: 1 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[3].dp ; -valNorth2[1].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. Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[1].dp ; -valNorth2[3].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : 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 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].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 ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].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. 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 (615): * Single equations (assignments): 592 * 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), (62,192)} [/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]