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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.004948/0.004948, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001265/0.001266, allocations: 186.5 kB / 16.67 MB, free: 5.926 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9929/0.9929, allocations: 143.3 MB / 433.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3504, allocations: 82.03 MB / 0.6754 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.6603/1.011, allocations: 358.2 MB / 1.025 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1074/1.118, allocations: 76.17 MB / 1.1 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01289/1.131, allocations: 433.5 kB / 1.1 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01686/1.148, allocations: 6.466 MB / 1.106 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03846/1.186, allocations: 14.15 MB / 1.12 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02398/1.21, allocations: 10.17 MB / 1.13 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.108/1.318, allocations: 74.43 MB / 1.203 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8724/2.191, allocations: 20.06 MB / 1.222 GB, free: 56.81 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03603/2.227, allocations: 17.11 MB / 1.239 GB, free: 56.27 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02904/2.256, allocations: 16.49 MB / 1.255 GB, free: 54.14 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.009148/2.265, allocations: 1.982 MB / 1.257 GB, free: 54.14 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02077/2.286, allocations: 6.068 MB / 1.263 GB, free: 54.05 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.01162/2.298, allocations: 6.549 MB / 1.269 GB, free: 53.31 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.02314/2.321, allocations: 11.32 MB / 1.28 GB, free: 50.38 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.04522/2.366, allocations: 33.1 MB / 1.313 GB, free: 43.5 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/2.366, allocations: 0 / 1.313 GB, free: 43.5 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.603e-06/2.366, allocations: 0 / 1.313 GB, free: 43.5 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0009596/2.367, allocations: 0 / 1.313 GB, free: 43.5 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.06679/2.434, allocations: 24.84 MB / 1.337 GB, free: 30.77 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/2.434, allocations: 9.312 kB / 1.337 GB, free: 30.77 MB / 0.8888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005363/2.439, allocations: 1.052 MB / 1.338 GB, free: 30.5 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/2.458, allocations: 3.312 MB / 1.341 GB, free: 28.88 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04454/2.503, allocations: 23.25 MB / 1.364 GB, free: 17.88 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006771/2.503, allocations: 0.6761 MB / 1.365 GB, free: 17.5 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005124/2.508, allocations: 0.9511 MB / 1.366 GB, free: 16.84 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/2.549, allocations: 17.11 MB / 1.382 GB, free: 4.918 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003846/2.549, allocations: 16.11 kB / 1.382 GB, free: 4.91 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003889/2.553, allocations: 330.3 kB / 1.383 GB, free: 4.836 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/2.553, allocations: 367 kB / 1.383 GB, free: 4.496 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/2.597, allocations: 21.53 MB / 1.404 GB, free: 2.723 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.1642/2.761, allocations: 83.83 MB / 1.486 GB, free: 12.47 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02695/2.788, allocations: 13.35 MB / 1.499 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01822/2.806, allocations: 9.795 MB / 1.508 GB, free: 5.645 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.08175/2.888, allocations: 35.89 MB / 1.544 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02159/2.91, allocations: 10.25 MB / 1.554 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02303/2.933, allocations: 5.831 MB / 1.559 GB, free: 1.395 MB / 1.061 GB Notification: Performance of pre-optimization done (n=588): time 3.082e-05/2.933, allocations: 4 kB / 1.559 GB, free: 1.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=880): time 1.336/4.269, allocations: 240.4 MB / 1.794 GB, free: 377.4 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.1195/4.389, allocations: 55.37 MB / 1.848 GB, free: 320.5 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0321/4.421, allocations: 20.61 MB / 1.868 GB, free: 300.1 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.004012/4.425, allocations: 231.6 kB / 1.868 GB, free: 299.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.007503/4.433, allocations: 7.87 MB / 1.876 GB, free: 292.2 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.01059/4.443, allocations: 3.342 MB / 1.879 GB, free: 288.9 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01555/4.459, allocations: 4.557 MB / 1.884 GB, free: 284.3 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 3.252e-05/4.459, allocations: 305.1 kB / 1.884 GB, free: 284 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03305/4.492, allocations: 25.64 MB / 1.909 GB, free: 258.4 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03514/4.527, allocations: 28.5 MB / 1.937 GB, free: 228.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06487/4.592, allocations: 46.83 MB / 1.983 GB, free: 181.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.458e-05/4.592, allocations: 12 kB / 1.983 GB, free: 181.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6191/5.211, allocations: 146.1 MB / 2.125 GB, free: 34.94 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/5.211, allocations: 57.64 kB / 2.125 GB, free: 34.88 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.66e-05/5.212, allocations: 52 kB / 2.125 GB, free: 34.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9657/6.177, allocations: 119.8 MB / 2.243 GB, free: 464.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02028/6.198, allocations: 3.792 MB / 2.246 GB, free: 463.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/6.347, allocations: 84.32 MB / 2.329 GB, free: 384.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.212/6.559, allocations: 10.61 MB / 2.339 GB, free: 373.9 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007123/6.566, allocations: 1.67 MB / 2.341 GB, free: 372.3 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04195/6.608, allocations: 29.04 MB / 2.369 GB, free: 343.2 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03346/6.642, allocations: 27.96 MB / 2.396 GB, free: 314.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06221/6.704, allocations: 45.77 MB / 2.441 GB, free: 267.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.675e-05/6.704, allocations: 16 kB / 2.441 GB, free: 267.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6082/7.312, allocations: 144.4 MB / 2.582 GB, free: 124.2 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/7.312, allocations: 53.7 kB / 2.582 GB, free: 124.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.812e-05/7.313, allocations: 48 kB / 2.582 GB, free: 124.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9496/8.262, allocations: 118.8 MB / 2.698 GB, free: 460 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01948/8.282, allocations: 3.76 MB / 2.702 GB, free: 460 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.17/8.452, allocations: 88.2 MB / 2.788 GB, free: 439.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2167/8.669, allocations: 10.66 MB / 2.798 GB, free: 438.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007108/8.676, allocations: 1.641 MB / 2.8 GB, free: 438.7 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.008754/8.684, allocations: 0.7696 MB / 2.801 GB, free: 438.1 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00827/8.693, allocations: 1.72 MB / 2.802 GB, free: 438.1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2212/8.914, allocations: 68.71 MB / 2.869 GB, free: 374.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.238/9.152, allocations: 83.19 MB / 2.951 GB, free: 291.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001395/9.152, allocations: 32 kB / 2.951 GB, free: 291.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2252/9.377, allocations: 82.07 MB / 3.031 GB, free: 209.4 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7663/10.14, allocations: 216.4 MB / 3.242 GB, free: 454.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/10.14, allocations: 0 / 3.242 GB, free: 454.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01396/10.16, allocations: 2.233 MB / 3.244 GB, free: 454.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6198/10.78, allocations: 144.7 MB / 3.386 GB, free: 382.9 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004378/10.78, allocations: 0.8083 MB / 3.386 GB, free: 382.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1345/10.92, allocations: 72.14 MB / 3.457 GB, free: 313.1 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]