Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 107.7 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 187 kB / 17.34 MB, free: 5.734 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 63.84 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8809/0.8826, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.355/1.238, allocations: 357.7 MB / 1.558 GB, free: 6.723 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.8245/2.062, allocations: 75.84 MB / 1.632 GB, free: 61.09 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01551/2.078, allocations: 433.2 kB / 1.632 GB, free: 61.09 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01744/2.095, allocations: 6.432 MB / 1.639 GB, free: 60.96 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04402/2.139, allocations: 14.09 MB / 1.652 GB, free: 60.39 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02343/2.163, allocations: 10.18 MB / 1.662 GB, free: 60.09 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09251/2.255, allocations: 74.33 MB / 1.735 GB, free: 24.15 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02662/2.282, allocations: 20.04 MB / 1.754 GB, free: 4.711 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03735/2.319, allocations: 17.46 MB / 1.771 GB, free: 4.203 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03262/2.352, allocations: 16.44 MB / 1.787 GB, free: 4.926 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009364/2.361, allocations: 1.969 MB / 1.789 GB, free: 2.957 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02548/2.387, allocations: 6.056 MB / 1.795 GB, free: 13.17 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01214/2.399, allocations: 6.523 MB / 1.802 GB, free: 6.883 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02636/2.425, allocations: 11.22 MB / 1.813 GB, free: 11.85 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05111/2.477, allocations: 31.17 MB / 1.843 GB, free: 13.78 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/2.477, allocations: 0 / 1.843 GB, free: 13.78 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.964e-06/2.477, allocations: 0 / 1.843 GB, free: 13.78 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.001118/2.478, allocations: 4 kB / 1.843 GB, free: 13.78 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.07781/2.556, allocations: 23.94 MB / 1.866 GB, free: 5.883 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/2.556, allocations: 8.031 kB / 1.866 GB, free: 5.875 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/2.574, allocations: 3.193 MB / 1.87 GB, free: 2.656 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05217/2.627, allocations: 20.85 MB / 1.89 GB, free: 14.1 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/2.628, allocations: 0.6698 MB / 1.891 GB, free: 13.44 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005365/2.633, allocations: 0.945 MB / 1.892 GB, free: 12.5 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04795/2.681, allocations: 17.11 MB / 1.908 GB, free: 11.2 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004863/2.681, allocations: 11.94 kB / 1.908 GB, free: 11.18 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005105/2.687, allocations: 325.5 kB / 1.909 GB, free: 10.87 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000472/2.687, allocations: 371.3 kB / 1.909 GB, free: 10.51 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04577/2.733, allocations: 21.54 MB / 1.93 GB, free: 4.949 MB / 1.451 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.1631/2.896, allocations: 82.93 MB / 2.011 GB, free: 15.52 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02598/2.922, allocations: 13.29 MB / 2.024 GB, free: 2.477 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01795/2.94, allocations: 9.801 MB / 2.034 GB, free: 8.664 MB / 1.561 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.08448/3.025, allocations: 35.52 MB / 2.068 GB, free: 4.82 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02175/3.046, allocations: 10.25 MB / 2.078 GB, free: 10.5 MB / 1.607 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02425/3.071, allocations: 5.826 MB / 2.084 GB, free: 4.832 MB / 1.607 GB Notification: Performance of pre-optimization done (n=588): time 5.39e-05/3.071, allocations: 0 / 2.084 GB, free: 4.832 MB / 1.607 GB Notification: Performance of matching and sorting (n=880): time 1.776/4.847, allocations: 239.9 MB / 2.318 GB, free: 0.6458 GB / 1.717 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.1247/4.972, allocations: 55.25 MB / 2.372 GB, free: 0.5905 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03172/5.004, allocations: 17.78 MB / 2.389 GB, free: 0.5733 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003892/5.008, allocations: 225.7 kB / 2.39 GB, free: 0.5731 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.008184/5.016, allocations: 7.714 MB / 2.397 GB, free: 0.566 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.01089/5.027, allocations: 3.193 MB / 2.4 GB, free: 0.5629 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01533/5.042, allocations: 4.538 MB / 2.405 GB, free: 0.5585 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/5.042, allocations: 309.1 kB / 2.405 GB, free: 0.5582 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03308/5.075, allocations: 25.64 MB / 2.43 GB, free: 0.5331 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03563/5.111, allocations: 28.5 MB / 2.458 GB, free: 0.5043 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06448/5.175, allocations: 46.84 MB / 2.504 GB, free: 468.8 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-05/5.176, allocations: 16 kB / 2.504 GB, free: 468.8 MB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6147/5.79, allocations: 146 MB / 2.646 GB, free: 322.6 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/5.79, allocations: 57.64 kB / 2.646 GB, free: 322.6 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.403e-05/5.79, allocations: 56.12 kB / 2.646 GB, free: 322.5 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5858/6.376, allocations: 119.8 MB / 2.763 GB, free: 202.7 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02025/6.397, allocations: 3.794 MB / 2.767 GB, free: 198.9 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1607/6.557, allocations: 84.28 MB / 2.849 GB, free: 114.2 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2151/6.773, allocations: 10.62 MB / 2.86 GB, free: 103.6 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007889/6.78, allocations: 1.664 MB / 2.861 GB, free: 101.9 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04499/6.825, allocations: 29.03 MB / 2.89 GB, free: 72.88 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03579/6.861, allocations: 27.96 MB / 2.917 GB, free: 43.88 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9853/7.847, allocations: 45.78 MB / 2.962 GB, free: 0.6715 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.005e-05/7.847, allocations: 17.75 kB / 2.962 GB, free: 0.6715 GB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6157/8.463, allocations: 144.3 MB / 3.103 GB, free: 0.5968 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/8.463, allocations: 53.7 kB / 3.103 GB, free: 0.5968 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/8.463, allocations: 48 kB / 3.103 GB, free: 0.5967 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5839/9.047, allocations: 118.8 MB / 3.219 GB, free: 492.6 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01912/9.066, allocations: 3.756 MB / 3.222 GB, free: 488.9 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1523/9.218, allocations: 88.17 MB / 3.309 GB, free: 400.6 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2106/9.429, allocations: 10.66 MB / 3.319 GB, free: 389.9 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007836/9.437, allocations: 1.633 MB / 3.321 GB, free: 388.3 MB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.009861/9.447, allocations: 0.7676 MB / 3.321 GB, free: 387.6 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01005/9.457, allocations: 1.624 MB / 3.323 GB, free: 385.9 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2243/9.681, allocations: 68.67 MB / 3.39 GB, free: 317.3 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2393/9.92, allocations: 83.2 MB / 3.471 GB, free: 234.1 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002115/9.921, allocations: 32 kB / 3.471 GB, free: 234 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2293/10.15, allocations: 82.06 MB / 3.551 GB, free: 151.9 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.231/11.38, allocations: 216.1 MB / 3.762 GB, free: 0.6467 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001022/11.38, allocations: 0 / 3.762 GB, free: 0.6467 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01324/11.39, allocations: 2.234 MB / 3.765 GB, free: 0.6466 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5566/11.95, allocations: 144.7 MB / 3.906 GB, free: 0.5199 GB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005082/11.96, allocations: 0.818 MB / 3.907 GB, free: 0.5191 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1333/12.09, allocations: 72.09 MB / 3.977 GB, free: 459.5 MB / 1.717 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:804:5-804:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]