Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.789/1.789, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 172.6 kB / 393.1 MB, free: 4.074 MB / 314.7 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.456/1.456, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008092, allocations: 101.6 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003395, allocations: 9.188 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5638, allocations: 121.3 MB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.713/1.277, allocations: 355.6 MB / 1.388 GB, free: 77.65 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.09038/1.367, allocations: 94.54 MB / 1.48 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01437/1.382, allocations: 346.9 kB / 1.481 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01368/1.395, allocations: 4.402 MB / 1.485 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.03578/1.431, allocations: 12.49 MB / 1.497 GB, free: 30.95 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.02166/1.453, allocations: 8.939 MB / 1.506 GB, free: 25.36 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.04628/1.499, allocations: 48.23 MB / 1.553 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02681/1.526, allocations: 17.17 MB / 1.57 GB, free: 216 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03078/1.557, allocations: 14.43 MB / 1.584 GB, free: 2.418 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02789/1.585, allocations: 15.28 MB / 1.599 GB, free: 4.215 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006332/1.591, allocations: 1.074 MB / 1.6 GB, free: 3.145 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02106/1.612, allocations: 4.53 MB / 1.604 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.01097/1.623, allocations: 4.82 MB / 1.609 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.02427/1.648, allocations: 9.243 MB / 1.618 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.04332/1.691, allocations: 27.42 MB / 1.645 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.691, allocations: 0 / 1.645 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.066e-06/1.691, allocations: 4 kB / 1.645 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000925/1.692, allocations: 0 / 1.645 GB, free: 6.832 MB / 0.9948 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.05241/1.744, allocations: 20.02 MB / 1.664 GB, free: 2.828 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/1.745, allocations: 11.97 kB / 1.664 GB, free: 2.816 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/1.756, allocations: 2.274 MB / 1.667 GB, free: 0.5195 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03739/1.793, allocations: 15.45 MB / 1.682 GB, free: 1.359 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008424/1.794, allocations: 0.689 MB / 1.682 GB, free: 0.6758 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00461/1.799, allocations: 0.9403 MB / 1.683 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/1.839, allocations: 16.42 MB / 1.699 GB, free: 15.14 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003997/1.84, allocations: 11.88 kB / 1.699 GB, free: 15.12 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003493/1.843, allocations: 322.4 kB / 1.7 GB, free: 14.82 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/1.843, allocations: 367.3 kB / 1.7 GB, free: 14.46 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04079/1.884, allocations: 20.93 MB / 1.72 GB, free: 9.516 MB / 1.073 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.9111/2.795, allocations: 82.13 MB / 1.801 GB, free: 346.9 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/2.815, allocations: 12.72 MB / 1.813 GB, free: 341.4 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01465/2.829, allocations: 9.486 MB / 1.822 GB, free: 337.3 MB / 1.073 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.07274/2.902, allocations: 35.76 MB / 1.857 GB, free: 318.9 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01591/2.918, allocations: 9.717 MB / 1.867 GB, free: 313 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0269/2.945, allocations: 9.931 MB / 1.876 GB, free: 304.4 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 4.104e-05/2.945, allocations: 0 / 1.876 GB, free: 304.4 MB / 1.073 GB Notification: Performance of matching and sorting (n=868): time 1.867/4.813, allocations: 301.9 MB / 2.171 GB, free: 357.1 MB / 1.073 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.1313/4.944, allocations: 55.12 MB / 2.225 GB, free: 333.9 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.035/4.979, allocations: 14.65 MB / 2.239 GB, free: 329.3 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.004732/4.984, allocations: 233 kB / 2.24 GB, free: 329.1 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.009762/4.994, allocations: 7.182 MB / 2.247 GB, free: 324.7 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.01287/5.007, allocations: 3.131 MB / 2.25 GB, free: 322.9 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004933/5.012, allocations: 206.4 kB / 2.25 GB, free: 322.7 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0011/5.013, allocations: 0.7376 MB / 2.251 GB, free: 322.2 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03527/5.048, allocations: 24.18 MB / 2.274 GB, free: 315.6 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03836/5.086, allocations: 26.92 MB / 2.3 GB, free: 305.9 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0657/5.152, allocations: 44.29 MB / 2.344 GB, free: 266.8 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.452e-05/5.152, allocations: 19.97 kB / 2.344 GB, free: 266.8 MB / 1.073 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.5802/5.732, allocations: 155.6 MB / 2.496 GB, free: 111.2 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009306/5.733, allocations: 1.724 MB / 2.497 GB, free: 108.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/5.734, allocations: 52 kB / 2.497 GB, free: 108.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094/6.827, allocations: 145.5 MB / 2.64 GB, free: 338 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/6.846, allocations: 3.545 MB / 2.643 GB, free: 337.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1397/6.985, allocations: 81.25 MB / 2.722 GB, free: 294.8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1695/7.155, allocations: 10.91 MB / 2.733 GB, free: 283.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006867/7.162, allocations: 1.64 MB / 2.735 GB, free: 282.3 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/7.162, allocations: 7.938 kB / 2.735 GB, free: 282.2 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5608/7.723, allocations: 152.7 MB / 2.884 GB, free: 129.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001814/7.723, allocations: 49.53 kB / 2.884 GB, free: 129.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132/8.855, allocations: 144.5 MB / 3.025 GB, free: 315.6 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01792/8.873, allocations: 3.505 MB / 3.028 GB, free: 315.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1561/9.029, allocations: 84.81 MB / 3.111 GB, free: 291.3 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1747/9.204, allocations: 10.89 MB / 3.122 GB, free: 288.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007524/9.211, allocations: 1.607 MB / 3.123 GB, free: 287.7 MB / 1.073 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.01529/9.227, allocations: 3.98 MB / 3.127 GB, free: 285.4 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00773/9.234, allocations: 1.468 MB / 3.129 GB, free: 285.4 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.213/9.447, allocations: 68.97 MB / 3.196 GB, free: 217.7 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2277/9.675, allocations: 83.56 MB / 3.278 GB, free: 134 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001839/9.675, allocations: 28 kB / 3.278 GB, free: 133.9 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.215/9.89, allocations: 82.46 MB / 3.358 GB, free: 51.28 MB / 1.073 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.8229/10.71, allocations: 207.5 MB / 3.561 GB, free: 248.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000119/10.71, allocations: 2.75 kB / 3.561 GB, free: 248.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01225/10.73, allocations: 2.153 MB / 3.563 GB, free: 246.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5204/11.25, allocations: 146.5 MB / 3.706 GB, free: 101.2 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004489/11.25, allocations: 0.809 MB / 3.707 GB, free: 100.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6805/11.93, allocations: 120 MB / 3.824 GB, free: 321.8 MB / 1.073 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]