Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.005595/0.005596, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001338/0.001338, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.3 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8504/0.8504, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 71.73 kB / 0.5955 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 82.03 MB / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.6928/0.8504, allocations: 358.2 MB / 1.025 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5474/1.398, allocations: 76.14 MB / 1.1 GB, free: 40.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0199/1.418, allocations: 435.8 kB / 1.1 GB, free: 40.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01894/1.437, allocations: 6.459 MB / 1.107 GB, free: 40.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04528/1.482, allocations: 14.15 MB / 1.12 GB, free: 39.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02328/1.505, allocations: 10.18 MB / 1.13 GB, free: 39.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.1061/1.612, allocations: 74.42 MB / 1.203 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04323/1.655, allocations: 20.06 MB / 1.223 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05887/1.714, allocations: 17.51 MB / 1.24 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04824/1.762, allocations: 16.49 MB / 1.256 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.01014/1.772, allocations: 1.977 MB / 1.258 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02219/1.794, allocations: 6.069 MB / 1.264 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01073/1.805, allocations: 6.544 MB / 1.27 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02707/1.832, allocations: 11.25 MB / 1.281 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.05259/1.885, allocations: 32.75 MB / 1.313 GB, free: 1.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.885, allocations: 0 / 1.313 GB, free: 1.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.804e-06/1.885, allocations: 0 / 1.313 GB, free: 1.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009833/1.886, allocations: 0 / 1.313 GB, free: 1.91 MB / 0.92 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.06904/1.955, allocations: 24.04 MB / 1.336 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.955, allocations: 12.03 kB / 1.336 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/1.974, allocations: 3.193 MB / 1.34 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04645/2.02, allocations: 20.94 MB / 1.36 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008609/2.021, allocations: 0.6761 MB / 1.361 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005587/2.027, allocations: 0.9386 MB / 1.362 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04537/2.072, allocations: 17.1 MB / 1.378 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004001/2.073, allocations: 19.78 kB / 1.378 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005179/2.078, allocations: 329.4 kB / 1.379 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005476/2.079, allocations: 363.4 kB / 1.379 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06356/2.142, allocations: 21.54 MB / 1.4 GB, free: 8.891 MB / 1.014 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.6819/2.824, allocations: 83.05 MB / 1.481 GB, free: 198.8 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02428/2.848, allocations: 13.31 MB / 1.494 GB, free: 198.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01645/2.865, allocations: 9.8 MB / 1.504 GB, free: 198.4 MB / 1.045 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.08394/2.949, allocations: 35.62 MB / 1.538 GB, free: 190.4 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01794/2.967, allocations: 10.25 MB / 1.548 GB, free: 187.5 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0278/2.995, allocations: 5.822 MB / 1.554 GB, free: 185.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=588): time 5.894e-05/2.995, allocations: 0 / 1.554 GB, free: 185.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=880): time 1.017/4.011, allocations: 239.9 MB / 1.788 GB, free: 7.312 MB / 1.092 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.5042/4.516, allocations: 55.3 MB / 1.842 GB, free: 0.5186 GB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03748/4.553, allocations: 17.89 MB / 1.86 GB, free: 0.5144 GB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.004127/4.557, allocations: 229 kB / 1.86 GB, free: 0.5142 GB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.007829/4.565, allocations: 7.738 MB / 1.868 GB, free: 0.5096 GB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.01162/4.577, allocations: 3.192 MB / 1.871 GB, free: 0.5088 GB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01621/4.593, allocations: 4.547 MB / 1.875 GB, free: 0.5077 GB / 1.123 GB Notification: Performance of setup shared object (initialization): time 3.746e-05/4.593, allocations: 309 kB / 1.876 GB, free: 0.5074 GB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03603/4.629, allocations: 25.64 MB / 1.901 GB, free: 0.5004 GB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03819/4.667, allocations: 28.49 MB / 1.928 GB, free: 0.4905 GB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06798/4.735, allocations: 46.82 MB / 1.974 GB, free: 457 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.917e-05/4.735, allocations: 22.05 kB / 1.974 GB, free: 457 MB / 1.123 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6484/5.384, allocations: 146 MB / 2.117 GB, free: 312.3 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/5.384, allocations: 53.89 kB / 2.117 GB, free: 312.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-05/5.384, allocations: 52 kB / 2.117 GB, free: 312.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5991/5.983, allocations: 119.8 MB / 2.234 GB, free: 192.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02112/6.004, allocations: 3.794 MB / 2.238 GB, free: 188.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/6.148, allocations: 84.3 MB / 2.32 GB, free: 103.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2319/6.38, allocations: 10.61 MB / 2.33 GB, free: 93.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008478/6.388, allocations: 1.664 MB / 2.332 GB, free: 91.58 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04703/6.435, allocations: 29.03 MB / 2.36 GB, free: 62.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03721/6.473, allocations: 27.96 MB / 2.388 GB, free: 33.52 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5359/7.008, allocations: 45.77 MB / 2.432 GB, free: 0.5027 GB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.287e-05/7.009, allocations: 15.05 kB / 2.432 GB, free: 0.5027 GB / 1.123 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6484/7.657, allocations: 144.3 MB / 2.573 GB, free: 436.9 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/7.657, allocations: 61.72 kB / 2.573 GB, free: 436.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.933e-05/7.657, allocations: 48 kB / 2.573 GB, free: 436.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5956/8.253, allocations: 118.8 MB / 2.689 GB, free: 318.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01961/8.273, allocations: 3.751 MB / 2.693 GB, free: 314.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1545/8.427, allocations: 88.16 MB / 2.779 GB, free: 226.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2303/8.657, allocations: 10.66 MB / 2.79 GB, free: 215.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008528/8.666, allocations: 1.629 MB / 2.791 GB, free: 214 MB / 1.123 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.01399/8.68, allocations: 0.7743 MB / 2.792 GB, free: 213.2 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01345/8.694, allocations: 1.625 MB / 2.793 GB, free: 212.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2452/8.939, allocations: 68.7 MB / 2.861 GB, free: 143.8 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2486/9.187, allocations: 83.19 MB / 2.942 GB, free: 60.57 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001356/9.188, allocations: 28 kB / 2.942 GB, free: 60.54 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.727/9.915, allocations: 82.07 MB / 3.022 GB, free: 494.4 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4197/10.33, allocations: 216.1 MB / 3.233 GB, free: 345.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.976e-05/10.33, allocations: 11.97 kB / 3.233 GB, free: 345.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01353/10.35, allocations: 2.234 MB / 3.235 GB, free: 343.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6059/10.95, allocations: 144.7 MB / 3.377 GB, free: 198.9 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00458/10.96, allocations: 0.8103 MB / 3.377 GB, free: 198.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1308/11.09, allocations: 72.1 MB / 3.448 GB, free: 126 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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]