Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 176.1 kB / 16.08 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4515/0.4515, allocations: 89.08 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007463/0.0007463, allocations: 102.4 kB / 425.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12 kB / 0.4955 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2539, allocations: 71.32 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.5229/0.7769, allocations: 355.5 MB / 0.9124 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4229/1.2, allocations: 94.52 MB / 1.005 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01303/1.213, allocations: 344.2 kB / 1.005 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.01375/1.227, allocations: 4.392 MB / 1.009 GB, free: 32.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.03266/1.259, allocations: 12.5 MB / 1.022 GB, free: 31.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.02072/1.28, allocations: 8.926 MB / 1.03 GB, free: 31.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.04499/1.325, allocations: 48.24 MB / 1.077 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02482/1.35, allocations: 17.18 MB / 1.094 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03064/1.381, allocations: 14.42 MB / 1.108 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02618/1.407, allocations: 15.3 MB / 1.123 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.006605/1.414, allocations: 1.07 MB / 1.124 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01787/1.431, allocations: 4.529 MB / 1.129 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00934/1.441, allocations: 4.816 MB / 1.133 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.02023/1.461, allocations: 9.247 MB / 1.142 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.04081/1.502, allocations: 27.42 MB / 1.169 GB, free: 3.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.502, allocations: 3.938 kB / 1.169 GB, free: 3.711 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.502, allocations: 0 / 1.169 GB, free: 3.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009908/1.503, allocations: 0 / 1.169 GB, free: 3.711 MB / 0.698 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.05089/1.554, allocations: 20.02 MB / 1.189 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.554, allocations: 15.97 kB / 1.189 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/1.565, allocations: 2.27 MB / 1.191 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03486/1.6, allocations: 15.46 MB / 1.206 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/1.601, allocations: 0.6805 MB / 1.207 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004192/1.605, allocations: 0.9409 MB / 1.208 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4859/2.091, allocations: 16.41 MB / 1.224 GB, free: 336.5 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002892/2.091, allocations: 10.84 kB / 1.224 GB, free: 336.5 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002678/2.094, allocations: 334.2 kB / 1.224 GB, free: 336.3 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000414/2.094, allocations: 372 kB / 1.224 GB, free: 336.3 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03424/2.129, allocations: 20.93 MB / 1.245 GB, free: 327.8 MB / 0.7449 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.1128/2.242, allocations: 82.13 MB / 1.325 GB, free: 252.2 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/2.258, allocations: 12.74 MB / 1.337 GB, free: 239.7 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01207/2.27, allocations: 9.48 MB / 1.347 GB, free: 230.2 MB / 0.7449 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.06304/2.333, allocations: 35.77 MB / 1.382 GB, free: 194.5 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01419/2.348, allocations: 9.716 MB / 1.391 GB, free: 184.7 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02443/2.372, allocations: 9.922 MB / 1.401 GB, free: 175.6 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=576): time 3.515e-05/2.372, allocations: 3.938 kB / 1.401 GB, free: 175.6 MB / 0.7449 GB Notification: Performance of matching and sorting (n=868): time 1.413/3.785, allocations: 301.9 MB / 1.696 GB, free: 232.5 MB / 0.745 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.1186/3.904, allocations: 55.09 MB / 1.749 GB, free: 176 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02512/3.929, allocations: 14.66 MB / 1.764 GB, free: 161.5 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.003759/3.932, allocations: 230.8 kB / 1.764 GB, free: 161.2 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.006576/3.939, allocations: 7.189 MB / 1.771 GB, free: 154.4 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.01049/3.95, allocations: 3.138 MB / 1.774 GB, free: 151.2 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003429/3.953, allocations: 204 kB / 1.774 GB, free: 151.1 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0005218/3.954, allocations: 0.7329 MB / 1.775 GB, free: 150.3 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03048/3.984, allocations: 24.18 MB / 1.798 GB, free: 126.1 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03308/4.017, allocations: 26.91 MB / 1.825 GB, free: 98.13 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06169/4.079, allocations: 44.29 MB / 1.868 GB, free: 53.04 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7e-05/4.079, allocations: 16 kB / 1.868 GB, free: 53.03 MB / 0.745 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.8423/4.921, allocations: 155.6 MB / 2.02 GB, free: 229.4 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007981/4.922, allocations: 1.717 MB / 2.022 GB, free: 226.9 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-05/4.922, allocations: 52 kB / 2.022 GB, free: 226.9 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5337/5.456, allocations: 145.5 MB / 2.164 GB, free: 81.18 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01681/5.473, allocations: 3.544 MB / 2.167 GB, free: 77.64 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4465/5.919, allocations: 81.24 MB / 2.247 GB, free: 267.1 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1637/6.083, allocations: 10.9 MB / 2.257 GB, free: 266.8 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006489/6.09, allocations: 1.642 MB / 2.259 GB, free: 266.7 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/6.09, allocations: 7.938 kB / 2.259 GB, free: 266.7 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5339/6.624, allocations: 152.7 MB / 2.408 GB, free: 153.4 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/6.624, allocations: 51.94 kB / 2.408 GB, free: 153.3 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8243/7.448, allocations: 144.5 MB / 2.549 GB, free: 255.7 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/7.466, allocations: 3.496 MB / 2.552 GB, free: 255.7 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1439/7.61, allocations: 84.81 MB / 2.635 GB, free: 233.2 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1635/7.773, allocations: 10.89 MB / 2.646 GB, free: 225 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008449/7.782, allocations: 1.609 MB / 2.647 GB, free: 223.4 MB / 0.745 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,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * 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.01766/7.799, allocations: 3.977 MB / 2.651 GB, free: 219.5 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008026/7.807, allocations: 1.467 MB / 2.653 GB, free: 218.8 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2029/8.01, allocations: 68.96 MB / 2.72 GB, free: 149.8 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2135/8.224, allocations: 83.58 MB / 2.802 GB, free: 66.02 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001928/8.224, allocations: 28 kB / 2.802 GB, free: 66 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.51/8.734, allocations: 82.43 MB / 2.882 GB, free: 260.9 MB / 0.745 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.3156/9.05, allocations: 207.5 MB / 3.085 GB, free: 92.43 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-05/9.05, allocations: 4.938 kB / 3.085 GB, free: 92.42 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01124/9.061, allocations: 2.152 MB / 3.087 GB, free: 90.29 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7965/9.858, allocations: 146.5 MB / 3.23 GB, free: 249.3 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004135/9.862, allocations: 0.8079 MB / 3.231 GB, free: 248.7 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1849/10.05, allocations: 120 MB / 3.348 GB, free: 137.9 MB / 0.745 GB Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[8].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[1].dp ; -valNorth2[8].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[8].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[8].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 : 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:2285:10-2285:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2202:9-2202: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 (619): * Single equations (assignments): 596 * 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), (61,193)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4558:9-4558:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]