Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001573/0.001573, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001323/0.001324, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.522/1.522, 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 10.1.1-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 59.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.4013/1.506, allocations: 357.7 MB / 1.517 GB, free: 12.89 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.078/2.584, allocations: 75.85 MB / 1.591 GB, free: 61.96 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0213/2.605, allocations: 432.9 kB / 1.591 GB, free: 61.96 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02121/2.626, allocations: 6.621 MB / 1.598 GB, free: 61.94 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04681/2.673, allocations: 14.76 MB / 1.612 GB, free: 61.41 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02946/2.703, allocations: 10.21 MB / 1.622 GB, free: 61.07 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1033/2.806, allocations: 74.62 MB / 1.695 GB, free: 52.4 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03206/2.838, allocations: 20.07 MB / 1.714 GB, free: 36.57 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03782/2.876, allocations: 17.5 MB / 1.732 GB, free: 20.5 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02831/2.904, allocations: 16.43 MB / 1.748 GB, free: 5.227 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01083/2.915, allocations: 1.969 MB / 1.75 GB, free: 3.258 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0247/2.94, allocations: 6.057 MB / 1.755 GB, free: 13.47 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01471/2.955, allocations: 6.523 MB / 1.762 GB, free: 7.184 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.03283/2.987, allocations: 11.22 MB / 1.773 GB, free: 12.16 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.06814/3.056, allocations: 31.28 MB / 1.803 GB, free: 13.95 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/3.056, allocations: 4 kB / 1.803 GB, free: 13.95 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.753e-06/3.056, allocations: 0 / 1.803 GB, free: 13.95 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001108/3.057, allocations: 0 / 1.803 GB, free: 13.95 MB / 1.342 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.08228/3.139, allocations: 24.57 MB / 1.827 GB, free: 5.523 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/3.139, allocations: 8.922 kB / 1.827 GB, free: 5.516 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/3.158, allocations: 3.298 MB / 1.831 GB, free: 2.203 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05276/3.211, allocations: 21.01 MB / 1.851 GB, free: 13.51 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000872/3.212, allocations: 0.6813 MB / 1.852 GB, free: 12.84 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005418/3.217, allocations: 0.9467 MB / 1.853 GB, free: 11.9 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04703/3.264, allocations: 17.1 MB / 1.869 GB, free: 10.6 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/3.265, allocations: 15.83 kB / 1.869 GB, free: 10.58 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004224/3.269, allocations: 330.4 kB / 1.87 GB, free: 10.27 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004707/3.27, allocations: 371.4 kB / 1.87 GB, free: 9.902 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04871/3.318, allocations: 21.53 MB / 1.891 GB, free: 4.355 MB / 1.42 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.1774/3.496, allocations: 83.02 MB / 1.972 GB, free: 14.87 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02876/3.525, allocations: 13.3 MB / 1.985 GB, free: 1.824 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01876/3.543, allocations: 9.804 MB / 1.995 GB, free: 8.008 MB / 1.529 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.09233/3.636, allocations: 35.55 MB / 2.029 GB, free: 4.117 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02327/3.659, allocations: 10.25 MB / 2.039 GB, free: 9.797 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02544/3.685, allocations: 5.836 MB / 2.045 GB, free: 4.121 MB / 1.576 GB Notification: Performance of pre-optimization done (n=588): time 4.177e-05/3.685, allocations: 0 / 2.045 GB, free: 4.121 MB / 1.576 GB Notification: Performance of matching and sorting (n=880): time 2.453/6.138, allocations: 240.3 MB / 2.28 GB, free: 0.6701 GB / 1.701 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.1191/6.257, allocations: 55.31 MB / 2.334 GB, free: 0.6153 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0282/6.285, allocations: 17.78 MB / 2.351 GB, free: 0.5982 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.004175/6.29, allocations: 233.7 kB / 2.351 GB, free: 0.5979 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.007958/6.298, allocations: 7.807 MB / 2.359 GB, free: 0.5908 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.01072/6.308, allocations: 3.342 MB / 2.362 GB, free: 0.5879 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01459/6.323, allocations: 4.555 MB / 2.367 GB, free: 0.5835 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/6.323, allocations: 301.1 kB / 2.367 GB, free: 0.5832 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.034/6.357, allocations: 25.64 MB / 2.392 GB, free: 0.5581 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03725/6.394, allocations: 28.49 MB / 2.42 GB, free: 0.5293 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06536/6.46, allocations: 46.84 MB / 2.466 GB, free: 494.4 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.742e-05/6.46, allocations: 12 kB / 2.466 GB, free: 494.3 MB / 1.701 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6464/7.106, allocations: 146.1 MB / 2.608 GB, free: 348.3 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-05/7.106, allocations: 53.7 kB / 2.608 GB, free: 348.2 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.832e-05/7.107, allocations: 48 kB / 2.608 GB, free: 348.1 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5932/7.7, allocations: 119.8 MB / 2.725 GB, free: 228.7 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02074/7.72, allocations: 3.798 MB / 2.729 GB, free: 224.9 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1671/7.888, allocations: 84.31 MB / 2.811 GB, free: 140.2 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2163/8.104, allocations: 10.62 MB / 2.822 GB, free: 129.6 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007981/8.112, allocations: 1.664 MB / 2.823 GB, free: 127.9 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04688/8.159, allocations: 29.03 MB / 2.852 GB, free: 98.87 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.038/8.197, allocations: 27.97 MB / 2.879 GB, free: 69.86 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06559/8.263, allocations: 45.78 MB / 2.924 GB, free: 23.29 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.649e-05/8.263, allocations: 20 kB / 2.924 GB, free: 23.27 MB / 1.701 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 2.05/10.31, allocations: 144.4 MB / 3.065 GB, free: 0.6345 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.261e-05/10.31, allocations: 53.69 kB / 3.065 GB, free: 0.6345 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/10.31, allocations: 52.84 kB / 3.065 GB, free: 0.6344 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5778/10.89, allocations: 118.8 MB / 3.181 GB, free: 0.5187 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02127/10.91, allocations: 3.751 MB / 3.185 GB, free: 0.5151 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1741/11.09, allocations: 88.21 MB / 3.271 GB, free: 439.2 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2132/11.3, allocations: 10.66 MB / 3.281 GB, free: 428.6 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007526/11.31, allocations: 1.636 MB / 3.283 GB, free: 426.9 MB / 1.701 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.009831/11.32, allocations: 0.7721 MB / 3.284 GB, free: 426.2 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01058/11.33, allocations: 1.707 MB / 3.285 GB, free: 424.5 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.229/11.56, allocations: 68.69 MB / 3.352 GB, free: 356 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2388/11.8, allocations: 83.19 MB / 3.434 GB, free: 272.9 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.75e-05/11.8, allocations: 32 kB / 3.434 GB, free: 272.9 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2285/12.02, allocations: 82.06 MB / 3.514 GB, free: 190.9 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.199/13.22, allocations: 216 MB / 3.725 GB, free: 0.6704 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/13.22, allocations: 8.875 kB / 3.725 GB, free: 0.6704 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01383/13.24, allocations: 2.237 MB / 3.727 GB, free: 0.6703 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5721/13.81, allocations: 144.7 MB / 3.868 GB, free: 0.5673 GB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005098/13.81, allocations: 0.8141 MB / 3.869 GB, free: 0.5665 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1351/13.95, allocations: 72.12 MB / 3.939 GB, free: 0.4961 GB / 1.701 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]