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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004957/0.004957, allocations: 102 kB / 15.73 MB, free: 6.449 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.001295/0.001295, allocations: 200.7 kB / 16.68 MB, free: 6.352 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.9149/0.9149, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 82.03 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.6196/0.9672, allocations: 358.2 MB / 1.025 GB, free: 32 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.1003/1.068, allocations: 76.16 MB / 1.099 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.014/1.082, allocations: 433.5 kB / 1.1 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01682/1.098, allocations: 6.595 MB / 1.106 GB, free: 12.64 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03667/1.135, allocations: 14.81 MB / 1.121 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02258/1.158, allocations: 10.2 MB / 1.131 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.09454/1.252, allocations: 74.5 MB / 1.203 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7917/2.044, allocations: 20.1 MB / 1.223 GB, free: 56.45 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03233/2.076, allocations: 17.53 MB / 1.24 GB, free: 55.86 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02671/2.103, allocations: 16.49 MB / 1.256 GB, free: 53.73 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.007598/2.111, allocations: 1.976 MB / 1.258 GB, free: 53.73 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/2.13, allocations: 6.071 MB / 1.264 GB, free: 53.64 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.00997/2.14, allocations: 6.543 MB / 1.27 GB, free: 52.91 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.01896/2.159, allocations: 11.33 MB / 1.282 GB, free: 49.97 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.03922/2.199, allocations: 33.1 MB / 1.314 GB, free: 42.78 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/2.199, allocations: 0.75 kB / 1.314 GB, free: 42.78 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.643e-06/2.199, allocations: 0 / 1.314 GB, free: 42.78 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0008224/2.2, allocations: 0 / 1.314 GB, free: 42.78 MB / 0.8888 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.06282/2.262, allocations: 24.84 MB / 1.338 GB, free: 30.06 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/2.262, allocations: 10.34 kB / 1.338 GB, free: 30.06 MB / 0.8888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004284/2.267, allocations: 1.05 MB / 1.339 GB, free: 29.79 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/2.284, allocations: 3.315 MB / 1.342 GB, free: 28.17 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04309/2.327, allocations: 23.25 MB / 1.365 GB, free: 17.04 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005375/2.328, allocations: 0.6696 MB / 1.366 GB, free: 16.65 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004945/2.333, allocations: 0.939 MB / 1.367 GB, free: 16.01 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/2.366, allocations: 17.11 MB / 1.383 GB, free: 4.082 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/2.367, allocations: 18.42 kB / 1.383 GB, free: 4.07 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002694/2.369, allocations: 328.1 kB / 1.384 GB, free: 4 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002692/2.37, allocations: 370.8 kB / 1.384 GB, free: 3.656 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0366/2.406, allocations: 21.54 MB / 1.405 GB, free: 1.926 MB / 0.9044 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.1397/2.546, allocations: 83.84 MB / 1.487 GB, free: 11.69 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02205/2.568, allocations: 13.33 MB / 1.5 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01462/2.583, allocations: 9.792 MB / 1.51 GB, free: 4.816 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 evalFunc (simulation): time 0.07055/2.653, allocations: 35.89 MB / 1.545 GB, free: 0.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01739/2.671, allocations: 10.24 MB / 1.555 GB, free: 6.23 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02081/2.691, allocations: 5.835 MB / 1.56 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of pre-optimization done (n=588): time 2.402e-05/2.692, allocations: 0 / 1.56 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of matching and sorting (n=880): time 1.239/3.93, allocations: 240.4 MB / 1.795 GB, free: 376.8 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.1123/4.043, allocations: 55.37 MB / 1.849 GB, free: 319.9 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0278/4.071, allocations: 20.61 MB / 1.869 GB, free: 299.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.003798/4.074, allocations: 230.9 kB / 1.869 GB, free: 299.2 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.006912/4.081, allocations: 7.869 MB / 1.877 GB, free: 291.6 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0105/4.092, allocations: 3.337 MB / 1.88 GB, free: 288.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01396/4.106, allocations: 4.558 MB / 1.885 GB, free: 283.8 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 3.133e-05/4.106, allocations: 305.1 kB / 1.885 GB, free: 283.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0314/4.137, allocations: 25.63 MB / 1.91 GB, free: 257.8 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03431/4.172, allocations: 28.5 MB / 1.938 GB, free: 228.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06313/4.235, allocations: 46.84 MB / 1.984 GB, free: 180.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.984e-05/4.235, allocations: 14.56 kB / 1.984 GB, free: 180.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6072/4.842, allocations: 146.1 MB / 2.126 GB, free: 34.36 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/4.842, allocations: 61.83 kB / 2.127 GB, free: 34.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-05/4.842, allocations: 59.94 kB / 2.127 GB, free: 34.24 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9194/5.762, allocations: 119.8 MB / 2.244 GB, free: 464 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02028/5.782, allocations: 3.798 MB / 2.247 GB, free: 462.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1363/5.918, allocations: 84.33 MB / 2.33 GB, free: 384.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2208/6.139, allocations: 10.62 MB / 2.34 GB, free: 373.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006496/6.146, allocations: 1.66 MB / 2.342 GB, free: 371.8 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04064/6.186, allocations: 29.04 MB / 2.37 GB, free: 342.7 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03203/6.218, allocations: 27.96 MB / 2.397 GB, free: 313.7 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0588/6.277, allocations: 45.77 MB / 2.442 GB, free: 267.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-05/6.277, allocations: 16 kB / 2.442 GB, free: 267.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.596/6.873, allocations: 144.4 MB / 2.583 GB, free: 123.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/6.874, allocations: 54.47 kB / 2.583 GB, free: 123.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-05/6.874, allocations: 48.84 kB / 2.583 GB, free: 123.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8907/7.764, allocations: 118.8 MB / 2.699 GB, free: 460.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01872/7.783, allocations: 3.757 MB / 2.703 GB, free: 460.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1471/7.93, allocations: 88.2 MB / 2.789 GB, free: 439.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2197/8.15, allocations: 10.67 MB / 2.799 GB, free: 438.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006035/8.156, allocations: 1.639 MB / 2.801 GB, free: 438.2 MB / 1.092 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.006087/8.162, allocations: 0.7633 MB / 2.802 GB, free: 437.6 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006473/8.169, allocations: 1.723 MB / 2.803 GB, free: 437.6 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2142/8.383, allocations: 68.71 MB / 2.871 GB, free: 374.2 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.235/8.618, allocations: 83.2 MB / 2.952 GB, free: 291.1 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.785e-05/8.618, allocations: 28 kB / 2.952 GB, free: 291.1 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2227/8.841, allocations: 82.07 MB / 3.032 GB, free: 209.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.707/9.548, allocations: 216.4 MB / 3.243 GB, free: 454.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.256e-05/9.548, allocations: 7.812 kB / 3.243 GB, free: 454.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01313/9.561, allocations: 2.233 MB / 3.245 GB, free: 454.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5804/10.14, allocations: 144.7 MB / 3.387 GB, free: 383 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003837/10.15, allocations: 0.8117 MB / 3.388 GB, free: 382.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1251/10.27, allocations: 72.14 MB / 3.458 GB, free: 312.8 MB / 1.092 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]