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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 104.3 kB / 19.72 MB, free: 408 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 210.3 kB / 23.03 MB, free: 2.938 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9234/0.9234, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5727/0.5727, allocations: 145 MB / 458.2 MB, free: 2.664 MB / 346.7 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.45 kB / 0.6346 GB, free: 25.32 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 87.88 MB / 0.7204 GB, free: 1.34 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.4831/0.6084, allocations: 329.2 MB / 1.042 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0716/0.68, allocations: 71.07 MB / 1.111 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01335/0.6933, allocations: 0.5811 MB / 1.112 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01445/0.7078, allocations: 6.431 MB / 1.118 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02816/0.7359, allocations: 15.09 MB / 1.133 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.7523, allocations: 10.5 MB / 1.143 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.4265/1.179, allocations: 76.46 MB / 1.218 GB, free: 46.57 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02448/1.203, allocations: 15.82 MB / 1.233 GB, free: 45.85 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03119/1.234, allocations: 18.15 MB / 1.251 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02506/1.26, allocations: 16.99 MB / 1.268 GB, free: 40.06 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.00749/1.267, allocations: 1.855 MB / 1.269 GB, free: 38.21 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/1.284, allocations: 5.261 MB / 1.275 GB, free: 34.16 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.008815/1.293, allocations: 6.555 MB / 1.281 GB, free: 30.13 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.01623/1.309, allocations: 9.166 MB / 1.29 GB, free: 23.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.03385/1.343, allocations: 32.62 MB / 1.322 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/1.343, allocations: 3.984 kB / 1.322 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/1.343, allocations: 0 / 1.322 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001002/1.344, allocations: 0 / 1.322 GB, free: 13.33 MB / 0.8855 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.04796/1.392, allocations: 21.82 MB / 1.343 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.392, allocations: 15.98 kB / 1.343 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003275/1.396, allocations: 1.051 MB / 1.344 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/1.406, allocations: 3.317 MB / 1.347 GB, free: 3.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03544/1.441, allocations: 22.13 MB / 1.369 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005419/1.442, allocations: 0.675 MB / 1.37 GB, free: 13 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004313/1.446, allocations: 0.941 MB / 1.371 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03069/1.477, allocations: 18.22 MB / 1.388 GB, free: 9.449 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/1.477, allocations: 18.7 kB / 1.388 GB, free: 9.438 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001425/1.478, allocations: 328.3 kB / 1.389 GB, free: 9.125 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/1.478, allocations: 367.4 kB / 1.389 GB, free: 8.766 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0291/1.508, allocations: 21.88 MB / 1.41 GB, free: 2.93 MB / 0.9636 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.09707/1.605, allocations: 64.09 MB / 1.473 GB, free: 4.02 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/1.621, allocations: 11.96 MB / 1.485 GB, free: 8.355 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01327/1.634, allocations: 8.675 MB / 1.493 GB, free: 15.67 MB / 1.057 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.05854/1.693, allocations: 30.12 MB / 1.522 GB, free: 1.645 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01382/1.707, allocations: 11.33 MB / 1.534 GB, free: 6.02 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.2998/2.006, allocations: 8.273 MB / 1.542 GB, free: 0.5019 GB / 1.089 GB Notification: Performance of pre-optimization done (n=588): time 3.377e-05/2.006, allocations: 0 / 1.542 GB, free: 0.5019 GB / 1.089 GB Notification: Performance of matching and sorting (n=880): time 0.512/2.518, allocations: 239.6 MB / 1.776 GB, free: 320.1 MB / 1.089 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.06084/2.579, allocations: 52.92 MB / 1.827 GB, free: 266.1 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02388/2.603, allocations: 20.42 MB / 1.847 GB, free: 245.9 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003356/2.606, allocations: 229.7 kB / 1.848 GB, free: 245.7 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.006075/2.612, allocations: 7.878 MB / 1.855 GB, free: 238 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.008199/2.621, allocations: 3.342 MB / 1.858 GB, free: 234.7 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01229/2.633, allocations: 4.536 MB / 1.863 GB, free: 230.1 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 2.473e-05/2.633, allocations: 301.1 kB / 1.863 GB, free: 229.8 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02419/2.657, allocations: 25.69 MB / 1.888 GB, free: 204.1 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02581/2.683, allocations: 30.98 MB / 1.919 GB, free: 171.5 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04515/2.728, allocations: 46.9 MB / 1.964 GB, free: 123.8 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.162e-05/2.728, allocations: 13.38 kB / 1.964 GB, free: 123.8 MB / 1.089 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6235/3.352, allocations: 145.8 MB / 2.107 GB, free: 457.4 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 7.422e-05/3.352, allocations: 53.95 kB / 2.107 GB, free: 457.4 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.626e-05/3.352, allocations: 54.16 kB / 2.107 GB, free: 457.4 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2976/3.649, allocations: 119.7 MB / 2.224 GB, free: 402 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/3.661, allocations: 3.798 MB / 2.227 GB, free: 398.3 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0902/3.751, allocations: 83.38 MB / 2.309 GB, free: 314.9 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09285/3.844, allocations: 10.62 MB / 2.319 GB, free: 304.3 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005115/3.849, allocations: 1.66 MB / 2.321 GB, free: 302.7 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0306/3.879, allocations: 29.09 MB / 2.349 GB, free: 273.5 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02399/3.903, allocations: 30.42 MB / 2.379 GB, free: 241.5 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04335/3.947, allocations: 45.83 MB / 2.424 GB, free: 194.9 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.723e-05/3.947, allocations: 18.08 kB / 2.424 GB, free: 194.9 MB / 1.089 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.3386/4.285, allocations: 144.1 MB / 2.564 GB, free: 51.77 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/4.285, allocations: 53.7 kB / 2.565 GB, free: 51.71 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-05/4.285, allocations: 52 kB / 2.565 GB, free: 51.66 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6262/4.912, allocations: 118.7 MB / 2.681 GB, free: 444 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/4.923, allocations: 3.752 MB / 2.684 GB, free: 442.8 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1026/5.026, allocations: 86.29 MB / 2.768 GB, free: 376 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09437/5.12, allocations: 10.65 MB / 2.779 GB, free: 365.3 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005359/5.126, allocations: 1.636 MB / 2.78 GB, free: 363.7 MB / 1.089 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.007601/5.133, allocations: 0.7737 MB / 2.781 GB, free: 362.9 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007122/5.14, allocations: 1.721 MB / 2.783 GB, free: 362.2 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1237/5.264, allocations: 68.2 MB / 2.849 GB, free: 294.2 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1276/5.392, allocations: 81.76 MB / 2.929 GB, free: 212.6 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.546e-05/5.392, allocations: 28 kB / 2.929 GB, free: 212.5 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.123/5.515, allocations: 80.64 MB / 3.008 GB, free: 131.8 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5474/6.062, allocations: 169.6 MB / 3.174 GB, free: 436.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.973e-05/6.062, allocations: 2.156 kB / 3.174 GB, free: 436.2 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008418/6.071, allocations: 2.24 MB / 3.176 GB, free: 436.1 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2967/6.367, allocations: 144.5 MB / 3.317 GB, free: 340.6 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004218/6.372, allocations: 0.8102 MB / 3.318 GB, free: 339.8 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08454/6.456, allocations: 71.49 MB / 3.388 GB, free: 268.3 MB / 1.089 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:2355:10-2355:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2272:9-2272: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:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 652] [Calling sys.exit(0), Time elapsed: 10.11881623789668]