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.001599/0.001599, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.002046/0.002046, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.09 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7888, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.3354/1.124, allocations: 357.7 MB / 1.558 GB, free: 6.777 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.8784/2.003, allocations: 75.85 MB / 1.632 GB, free: 61.05 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01451/2.017, allocations: 432.9 kB / 1.632 GB, free: 61.05 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.0164/2.034, allocations: 6.428 MB / 1.639 GB, free: 60.93 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03595/2.07, allocations: 14.09 MB / 1.652 GB, free: 60.35 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02377/2.093, allocations: 10.18 MB / 1.662 GB, free: 60.06 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0868/2.18, allocations: 74.33 MB / 1.735 GB, free: 24.21 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02838/2.209, allocations: 20.04 MB / 1.754 GB, free: 4.758 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04011/2.249, allocations: 17.46 MB / 1.771 GB, free: 4.254 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03311/2.282, allocations: 16.44 MB / 1.787 GB, free: 4.984 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009654/2.292, allocations: 1.973 MB / 1.789 GB, free: 3.012 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02431/2.316, allocations: 6.066 MB / 1.795 GB, free: 13.22 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01206/2.328, allocations: 6.523 MB / 1.802 GB, free: 6.93 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02803/2.356, allocations: 11.22 MB / 1.813 GB, free: 11.89 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.0543/2.411, allocations: 31.16 MB / 1.843 GB, free: 13.83 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/2.411, allocations: 0 / 1.843 GB, free: 13.83 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.144e-06/2.411, allocations: 0 / 1.843 GB, free: 13.83 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.001024/2.412, allocations: 4 kB / 1.843 GB, free: 13.82 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.07226/2.484, allocations: 23.93 MB / 1.866 GB, free: 5.934 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/2.484, allocations: 11.97 kB / 1.866 GB, free: 5.922 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01907/2.503, allocations: 3.185 MB / 1.87 GB, free: 2.711 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04753/2.551, allocations: 20.86 MB / 1.89 GB, free: 14.15 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008341/2.552, allocations: 0.675 MB / 1.891 GB, free: 13.48 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00495/2.557, allocations: 0.9405 MB / 1.892 GB, free: 12.55 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04356/2.6, allocations: 17.11 MB / 1.908 GB, free: 11.24 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003523/2.601, allocations: 7.938 kB / 1.908 GB, free: 11.23 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004185/2.605, allocations: 337.5 kB / 1.909 GB, free: 10.91 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004468/2.605, allocations: 367.3 kB / 1.909 GB, free: 10.55 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04247/2.648, allocations: 21.54 MB / 1.93 GB, free: 5.004 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.1421/2.79, allocations: 82.93 MB / 2.011 GB, free: 15.59 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02414/2.814, allocations: 13.31 MB / 2.024 GB, free: 2.527 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01661/2.831, allocations: 9.797 MB / 2.034 GB, free: 8.719 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.0829/2.914, allocations: 35.53 MB / 2.068 GB, free: 4.875 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0222/2.936, allocations: 10.25 MB / 2.078 GB, free: 10.55 MB / 1.607 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02316/2.959, allocations: 5.821 MB / 2.084 GB, free: 4.891 MB / 1.607 GB Notification: Performance of pre-optimization done (n=588): time 3.8e-05/2.959, allocations: 7.938 kB / 2.084 GB, free: 4.883 MB / 1.607 GB Notification: Performance of matching and sorting (n=880): time 2.309/5.268, allocations: 239.8 MB / 2.318 GB, free: 0.6406 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.1237/5.391, allocations: 55.25 MB / 2.372 GB, free: 0.5854 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03124/5.423, allocations: 17.77 MB / 2.389 GB, free: 0.5682 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.00422/5.427, allocations: 233.1 kB / 2.39 GB, free: 0.568 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.008621/5.436, allocations: 7.711 MB / 2.397 GB, free: 0.5609 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.01153/5.447, allocations: 3.189 MB / 2.4 GB, free: 0.5578 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01724/5.464, allocations: 4.546 MB / 2.405 GB, free: 0.5534 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 4.365e-05/5.464, allocations: 301.1 kB / 2.405 GB, free: 0.5531 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03455/5.499, allocations: 25.65 MB / 2.43 GB, free: 0.528 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03708/5.536, allocations: 28.5 MB / 2.458 GB, free: 0.4991 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06633/5.603, allocations: 46.83 MB / 2.504 GB, free: 463.5 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.805e-05/5.603, allocations: 16 kB / 2.504 GB, free: 463.5 MB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6365/6.239, allocations: 146 MB / 2.646 GB, free: 317.3 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/6.239, allocations: 57.64 kB / 2.646 GB, free: 317.3 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.582e-05/6.239, allocations: 52 kB / 2.646 GB, free: 317.2 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.602/6.841, allocations: 119.8 MB / 2.763 GB, free: 197.5 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02053/6.862, allocations: 3.794 MB / 2.767 GB, free: 193.7 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.147/7.009, allocations: 84.28 MB / 2.849 GB, free: 109 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.222/7.231, allocations: 10.61 MB / 2.86 GB, free: 98.34 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007492/7.239, allocations: 1.672 MB / 2.861 GB, free: 96.67 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04402/7.283, allocations: 29.02 MB / 2.89 GB, free: 67.62 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0358/7.318, allocations: 27.96 MB / 2.917 GB, free: 38.62 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.525/8.844, allocations: 45.77 MB / 2.962 GB, free: 0.6692 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.727e-05/8.844, allocations: 21.08 kB / 2.962 GB, free: 0.6692 GB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6214/9.465, allocations: 144.3 MB / 3.103 GB, free: 0.5868 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/9.466, allocations: 58.31 kB / 3.103 GB, free: 0.5867 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-05/9.466, allocations: 48 kB / 3.103 GB, free: 0.5867 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5782/10.04, allocations: 118.8 MB / 3.219 GB, free: 482.3 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02049/10.06, allocations: 3.757 MB / 3.222 GB, free: 478.5 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1562/10.22, allocations: 88.16 MB / 3.309 GB, free: 390.3 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.224/10.44, allocations: 10.66 MB / 3.319 GB, free: 379.6 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007256/10.45, allocations: 1.629 MB / 3.321 GB, free: 378 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.01022/10.46, allocations: 0.7739 MB / 3.321 GB, free: 377.2 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009511/10.47, allocations: 1.627 MB / 3.323 GB, free: 375.6 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2251/10.7, allocations: 68.68 MB / 3.39 GB, free: 307 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2402/10.94, allocations: 83.2 MB / 3.471 GB, free: 223.8 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001856/10.94, allocations: 32 kB / 3.471 GB, free: 223.7 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2269/11.16, allocations: 82.06 MB / 3.551 GB, free: 141.6 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.193/12.36, allocations: 216.1 MB / 3.762 GB, free: 0.64 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001599/12.36, allocations: 0 / 3.762 GB, free: 0.64 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0135/12.37, allocations: 2.235 MB / 3.765 GB, free: 0.6399 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5611/12.93, allocations: 144.7 MB / 3.906 GB, free: 0.505 GB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004434/12.94, allocations: 0.8141 MB / 3.907 GB, free: 0.5042 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1257/13.06, allocations: 72.09 MB / 3.977 GB, free: 444.1 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:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]