Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007869/0.0007869, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009012/0.0009012, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 271.1 kB / 291.3 MB, free: 1.957 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7816/0.7816, allocations: 144.7 MB / 487.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 20.09 kB / 0.5686 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 83.09 MB / 0.6497 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.5454/0.6701, allocations: 328.5 MB / 0.9705 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.09284/0.763, allocations: 68.6 MB / 1.038 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01655/0.7796, allocations: 365.6 kB / 1.038 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01402/0.7937, allocations: 3.618 MB / 1.041 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03448/0.8282, allocations: 10.76 MB / 1.052 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0221/0.8503, allocations: 7.286 MB / 1.059 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.4626/1.313, allocations: 41.45 MB / 1.099 GB, free: 32.86 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02936/1.342, allocations: 16.07 MB / 1.115 GB, free: 31.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03184/1.374, allocations: 13.8 MB / 1.129 GB, free: 31.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02945/1.404, allocations: 14.66 MB / 1.143 GB, free: 29.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.007721/1.412, allocations: 1.073 MB / 1.144 GB, free: 29.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/1.431, allocations: 3.616 MB / 1.148 GB, free: 29.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0117/1.442, allocations: 4.77 MB / 1.152 GB, free: 28.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01119/1.454, allocations: 3.232 MB / 1.155 GB, free: 27.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02876/1.482, allocations: 21.87 MB / 1.177 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.482, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.837e-06/1.482, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001042/1.483, allocations: 1.969 kB / 1.177 GB, free: 11.93 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05056/1.534, allocations: 20.37 MB / 1.197 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.534, allocations: 12.03 kB / 1.197 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005376/1.539, allocations: 1.044 MB / 1.198 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/1.553, allocations: 2.633 MB / 1.2 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04086/1.594, allocations: 17.25 MB / 1.217 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000933/1.595, allocations: 0.6861 MB / 1.218 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005631/1.601, allocations: 0.942 MB / 1.219 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0424/1.643, allocations: 16.52 MB / 1.235 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005406/1.644, allocations: 15.78 kB / 1.235 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004142/1.648, allocations: 333.1 kB / 1.235 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004597/1.649, allocations: 364.1 kB / 1.235 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04089/1.69, allocations: 21.11 MB / 1.256 GB, free: 13.95 MB / 0.795 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.1437/1.833, allocations: 83.07 MB / 1.337 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.855, allocations: 12.94 MB / 1.35 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01517/1.87, allocations: 9.57 MB / 1.359 GB, free: 6.223 MB / 0.8731 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.6635/2.533, allocations: 36.11 MB / 1.394 GB, free: 394.4 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01676/2.55, allocations: 9.809 MB / 1.404 GB, free: 394.2 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02651/2.577, allocations: 9.931 MB / 1.414 GB, free: 394.2 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=576): time 3.731e-05/2.577, allocations: 0 / 1.414 GB, free: 394.2 MB / 0.8888 GB Notification: Performance of matching and sorting (n=868): time 0.9349/3.512, allocations: 301.8 MB / 1.708 GB, free: 112.8 MB / 0.8888 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.1228/3.635, allocations: 55.16 MB / 1.762 GB, free: 56.13 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02666/3.661, allocations: 17.43 MB / 1.779 GB, free: 38.84 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.003882/3.665, allocations: 227.1 kB / 1.78 GB, free: 38.62 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.006976/3.672, allocations: 7.256 MB / 1.787 GB, free: 31.62 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.01111/3.683, allocations: 3.136 MB / 1.79 GB, free: 28.51 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004318/3.688, allocations: 201.5 kB / 1.79 GB, free: 28.31 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.000683/3.688, allocations: 0.7369 MB / 1.791 GB, free: 27.57 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6262/4.315, allocations: 23.57 MB / 1.814 GB, free: 362.1 MB / 0.8889 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03763/4.352, allocations: 26.31 MB / 1.839 GB, free: 359.4 MB / 0.8889 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03325/4.385, allocations: 24.83 MB / 1.864 GB, free: 353.5 MB / 0.8889 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/4.386, allocations: 11.84 kB / 1.864 GB, free: 353.5 MB / 0.8889 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.5533/4.939, allocations: 154.3 MB / 2.014 GB, free: 225.6 MB / 0.8889 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009814/4.94, allocations: 1.726 MB / 2.016 GB, free: 223.1 MB / 0.8889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/4.94, allocations: 52 kB / 2.016 GB, free: 223.1 MB / 0.8889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5432/5.483, allocations: 145.4 MB / 2.158 GB, free: 77.56 MB / 0.8889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01777/5.501, allocations: 3.579 MB / 2.161 GB, free: 73.98 MB / 0.8889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5148/6.016, allocations: 81.25 MB / 2.241 GB, free: 331.8 MB / 0.8889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1674/6.183, allocations: 10.94 MB / 2.251 GB, free: 331.8 MB / 0.8889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006433/6.19, allocations: 1.642 MB / 2.253 GB, free: 331.8 MB / 0.8889 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/6.19, allocations: 4.281 kB / 2.253 GB, free: 331.8 MB / 0.8889 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5349/6.725, allocations: 152.8 MB / 2.402 GB, free: 237.8 MB / 0.8889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/6.725, allocations: 52 kB / 2.402 GB, free: 237.8 MB / 0.8889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5395/7.264, allocations: 144.5 MB / 2.543 GB, free: 93.11 MB / 0.8889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/7.281, allocations: 3.537 MB / 2.547 GB, free: 89.57 MB / 0.8889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5169/7.798, allocations: 84.81 MB / 2.63 GB, free: 323.2 MB / 0.8889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1656/7.964, allocations: 10.92 MB / 2.64 GB, free: 323.2 MB / 0.8889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005894/7.97, allocations: 1.606 MB / 2.642 GB, free: 323.2 MB / 0.8889 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01135/7.981, allocations: 3.988 MB / 2.646 GB, free: 323 MB / 0.8889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004779/7.986, allocations: 1.481 MB / 2.647 GB, free: 323 MB / 0.8889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1843/8.17, allocations: 69.21 MB / 2.715 GB, free: 316.2 MB / 0.8889 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2043/8.375, allocations: 83.73 MB / 2.797 GB, free: 240.9 MB / 0.8889 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001124/8.375, allocations: 28 kB / 2.797 GB, free: 240.9 MB / 0.8889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1954/8.57, allocations: 82.62 MB / 2.877 GB, free: 158.1 MB / 0.8889 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 postOpt removeSimpleEquations (simulation): time 0.6863/9.256, allocations: 207.9 MB / 3.08 GB, free: 327.2 MB / 0.8889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.347e-05/9.257, allocations: 1.719 kB / 3.08 GB, free: 327.2 MB / 0.8889 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01158/9.268, allocations: 2.187 MB / 3.083 GB, free: 327.1 MB / 0.8889 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5003/9.768, allocations: 146.3 MB / 3.225 GB, free: 205.7 MB / 0.8889 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004558/9.773, allocations: 0.8064 MB / 3.226 GB, free: 204.9 MB / 0.8889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.188/9.961, allocations: 120 MB / 3.343 GB, free: 84.72 MB / 0.8889 GB Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[8].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[1].dp ; -valNorth2[8].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. Warning: The linear system: 1 : valNorth2[8].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[8].dp ; -valNorth2[1].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 : 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 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].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 ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].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. 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:2136:10-2136:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2053:9-2053: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 (619): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {36 81,1 1,61 193} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4548:9-4548:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]