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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007156/0.007156, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001568/0.001567, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 75.81 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7618, allocations: 140.3 MB / 0.9496 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.037/1.799, allocations: 353.1 MB / 1.294 GB, free: 59.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09957/1.899, allocations: 73.09 MB / 1.366 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02141/1.92, allocations: 393.4 kB / 1.366 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01754/1.938, allocations: 4.433 MB / 1.37 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04314/1.981, allocations: 12.54 MB / 1.383 GB, free: 49.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02455/2.005, allocations: 8.922 MB / 1.391 GB, free: 43.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05368/2.059, allocations: 48.38 MB / 1.439 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03269/2.092, allocations: 17.54 MB / 1.456 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04183/2.134, allocations: 14.54 MB / 1.47 GB, free: 3.742 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03391/2.168, allocations: 15.76 MB / 1.485 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01005/2.178, allocations: 1.211 MB / 1.487 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02496/2.203, allocations: 4.884 MB / 1.491 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.01249/2.215, allocations: 5.113 MB / 1.496 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02665/2.242, allocations: 9.527 MB / 1.506 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0365/2.279, allocations: 22.27 MB / 1.527 GB, free: 11.69 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/2.279, allocations: 0 / 1.527 GB, free: 11.69 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.434e-06/2.279, allocations: 0 / 1.527 GB, free: 11.69 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001108/2.28, allocations: 4 kB / 1.527 GB, free: 11.69 MB / 1.092 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.07199/2.352, allocations: 22.14 MB / 1.549 GB, free: 5.621 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/2.352, allocations: 12.03 kB / 1.549 GB, free: 5.609 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/2.368, allocations: 2.574 MB / 1.551 GB, free: 3.012 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04323/2.412, allocations: 15.69 MB / 1.567 GB, free: 3.594 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/2.413, allocations: 0.6868 MB / 1.567 GB, free: 2.914 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006134/2.419, allocations: 0.9273 MB / 1.568 GB, free: 1.992 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04716/2.466, allocations: 16.57 MB / 1.585 GB, free: 1.242 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003931/2.467, allocations: 15.94 kB / 1.585 GB, free: 1.227 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004701/2.471, allocations: 319.9 kB / 1.585 GB, free: 0.918 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004613/2.472, allocations: 371.2 kB / 1.585 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04543/2.517, allocations: 21.11 MB / 1.606 GB, free: 11.43 MB / 1.17 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.1574/2.675, allocations: 80.75 MB / 1.685 GB, free: 7.727 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02394/2.699, allocations: 12.89 MB / 1.697 GB, free: 11.09 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01727/2.716, allocations: 9.598 MB / 1.707 GB, free: 1.477 MB / 1.264 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 1.149/3.865, allocations: 34.48 MB / 1.74 GB, free: 0.5013 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02229/3.887, allocations: 9.813 MB / 1.75 GB, free: 0.498 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02973/3.917, allocations: 8.552 MB / 1.758 GB, free: 0.4966 GB / 1.279 GB Notification: Performance of pre-optimization done (n=576): time 5.435e-05/3.917, allocations: 0 / 1.758 GB, free: 0.4966 GB / 1.279 GB Notification: Performance of matching and sorting (n=868): time 0.9042/4.821, allocations: 237.1 MB / 1.99 GB, free: 292 MB / 1.279 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.125/4.946, allocations: 54.48 MB / 2.043 GB, free: 236 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02586/4.972, allocations: 14.82 MB / 2.057 GB, free: 221.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.005418/4.978, allocations: 229.1 kB / 2.058 GB, free: 221.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.008747/4.986, allocations: 7.197 MB / 2.065 GB, free: 214 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.01231/4.999, allocations: 3.134 MB / 2.068 GB, free: 210.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01707/5.016, allocations: 4.099 MB / 2.072 GB, free: 206.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/5.016, allocations: 305.2 kB / 2.072 GB, free: 206.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03394/5.05, allocations: 24.33 MB / 2.096 GB, free: 182.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03522/5.085, allocations: 26.94 MB / 2.122 GB, free: 154.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06579/5.151, allocations: 44.45 MB / 2.166 GB, free: 108.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.337e-05/5.151, allocations: 16 kB / 2.166 GB, free: 108.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 1.645/6.796, allocations: 143 MB / 2.305 GB, free: 467.3 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/6.796, allocations: 53.08 kB / 2.305 GB, free: 467.3 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-05/6.796, allocations: 51.31 kB / 2.305 GB, free: 467.3 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5451/7.341, allocations: 119.8 MB / 2.422 GB, free: 384.9 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01915/7.36, allocations: 3.555 MB / 2.426 GB, free: 381.5 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1415/7.502, allocations: 79.98 MB / 2.504 GB, free: 301.4 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1764/7.678, allocations: 10.92 MB / 2.515 GB, free: 290.5 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007692/7.686, allocations: 1.633 MB / 2.516 GB, free: 288.9 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04437/7.731, allocations: 27.36 MB / 2.543 GB, free: 261.5 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03376/7.764, allocations: 26.48 MB / 2.569 GB, free: 234 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06138/7.826, allocations: 43.53 MB / 2.611 GB, free: 189.6 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.317e-05/7.826, allocations: 16 kB / 2.611 GB, free: 189.6 MB / 1.28 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.5628/8.389, allocations: 141.4 MB / 2.749 GB, free: 48.88 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/8.389, allocations: 57.7 kB / 2.749 GB, free: 48.81 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.573e-05/8.389, allocations: 55.94 kB / 2.749 GB, free: 48.76 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191/9.58, allocations: 118.8 MB / 2.865 GB, free: 442.6 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01806/9.598, allocations: 3.511 MB / 2.869 GB, free: 441.4 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1567/9.755, allocations: 83.5 MB / 2.95 GB, free: 368.3 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1803/9.935, allocations: 10.94 MB / 2.961 GB, free: 357.4 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008334/9.944, allocations: 1.605 MB / 2.963 GB, free: 355.8 MB / 1.28 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 (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.01148/9.955, allocations: 0.7278 MB / 2.963 GB, free: 355 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01205/9.967, allocations: 1.472 MB / 2.965 GB, free: 354.4 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2136/10.18, allocations: 68.14 MB / 3.031 GB, free: 286.3 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2264/10.41, allocations: 82.78 MB / 3.112 GB, free: 203.5 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000169/10.41, allocations: 28 kB / 3.112 GB, free: 203.5 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.22/10.63, allocations: 81.66 MB / 3.192 GB, free: 121.7 MB / 1.28 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.9802/11.61, allocations: 206.5 MB / 3.394 GB, free: 425.8 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001318/11.61, allocations: 4.344 kB / 3.394 GB, free: 425.8 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01371/11.62, allocations: 2.179 MB / 3.396 GB, free: 425.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5385/12.16, allocations: 144.7 MB / 3.537 GB, free: 290.9 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004822/12.17, allocations: 0.8059 MB / 3.538 GB, free: 290.1 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1211/12.29, allocations: 69.46 MB / 3.606 GB, free: 220.6 MB / 1.28 GB Warning: The linear system: 1 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[1].dp ; -valSouth2[4].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 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[4].dp ; -valSouth2[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[1].m_flow ; tabsSouth1[2].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[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4614:9-4614:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:774:5-774:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]