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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000759/0.000759, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8478/0.8478, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001443/0.001443, allocations: 240.7 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6722/0.6722, allocations: 138.4 MB / 454.3 MB, free: 1.668 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6463 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.025e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.4615/0.4616, allocations: 325.8 MB / 0.9645 GB, free: 39.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0585/0.5201, allocations: 70.8 MB / 1.034 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009785/0.5298, allocations: 0.5811 MB / 1.034 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.5402, allocations: 6.461 MB / 1.041 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02487/0.5651, allocations: 15.44 MB / 1.056 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.581, allocations: 10.89 MB / 1.066 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.06894/0.65, allocations: 86.97 MB / 1.151 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01848/0.6685, allocations: 15.87 MB / 1.167 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03706/0.7055, allocations: 23.4 MB / 1.19 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3693/1.075, allocations: 15.65 MB / 1.205 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.006244/1.081, allocations: 1.848 MB / 1.207 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/1.093, allocations: 5.082 MB / 1.212 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.004634/1.098, allocations: 6.668 MB / 1.218 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.009753/1.108, allocations: 7.754 MB / 1.226 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.02413/1.132, allocations: 31.87 MB / 1.257 GB, free: 84.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.132, allocations: 0 / 1.257 GB, free: 84.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/1.132, allocations: 2.844 kB / 1.257 GB, free: 84.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005333/1.132, allocations: 0 / 1.257 GB, free: 84.14 MB / 0.8698 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.02649/1.159, allocations: 21.55 MB / 1.278 GB, free: 75.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.159, allocations: 9.844 kB / 1.278 GB, free: 75.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/1.16, allocations: 1.05 MB / 1.279 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/1.168, allocations: 3.326 MB / 1.282 GB, free: 73.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02726/1.195, allocations: 22.77 MB / 1.304 GB, free: 70.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/1.195, allocations: 0.6658 MB / 1.305 GB, free: 70.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/1.197, allocations: 0.9404 MB / 1.306 GB, free: 70.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/1.214, allocations: 18.21 MB / 1.324 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/1.214, allocations: 13.56 kB / 1.324 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009997/1.215, allocations: 332.5 kB / 1.324 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/1.215, allocations: 370 kB / 1.324 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/1.233, allocations: 21.89 MB / 1.346 GB, free: 51.79 MB / 0.8698 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.06151/1.295, allocations: 63.63 MB / 1.408 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/1.307, allocations: 11.95 MB / 1.42 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008245/1.315, allocations: 8.674 MB / 1.428 GB, free: 0.8477 MB / 0.9011 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.03664/1.352, allocations: 29.82 MB / 1.457 GB, free: 3.129 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01019/1.362, allocations: 11.34 MB / 1.468 GB, free: 7.496 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01657/1.379, allocations: 8.221 MB / 1.476 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=588): time 2.199e-05/1.379, allocations: 0 / 1.476 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=880): time 0.8042/2.183, allocations: 239.6 MB / 1.71 GB, free: 403.5 MB / 1.042 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.05912/2.242, allocations: 52.91 MB / 1.762 GB, free: 349.6 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01816/2.26, allocations: 19.85 MB / 1.781 GB, free: 329.9 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003473/2.264, allocations: 235.2 kB / 1.782 GB, free: 329.7 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003995/2.268, allocations: 8.138 MB / 1.79 GB, free: 321.9 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006753/2.274, allocations: 3.276 MB / 1.793 GB, free: 318.7 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004953/2.279, allocations: 4.079 MB / 1.797 GB, free: 314.6 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 2.013e-05/2.279, allocations: 301.1 kB / 1.797 GB, free: 314.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01878/2.298, allocations: 24.79 MB / 1.821 GB, free: 289.5 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.021/2.319, allocations: 29.92 MB / 1.85 GB, free: 258 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03789/2.357, allocations: 45.24 MB / 1.895 GB, free: 211.9 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/2.357, allocations: 12 kB / 1.895 GB, free: 211.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=1388) (initialization): time 0.3085/2.666, allocations: 143.6 MB / 2.035 GB, free: 68.14 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/2.666, allocations: 57.64 kB / 2.035 GB, free: 68.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.016e-05/2.666, allocations: 55.23 kB / 2.035 GB, free: 68.03 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6072/3.273, allocations: 119.7 MB / 2.152 GB, free: 444.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/3.284, allocations: 3.599 MB / 2.155 GB, free: 444.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09796/3.382, allocations: 83.38 MB / 2.237 GB, free: 397.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09717/3.48, allocations: 10.59 MB / 2.247 GB, free: 386.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006081/3.486, allocations: 1.613 MB / 2.249 GB, free: 385.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03503/3.521, allocations: 28.16 MB / 2.276 GB, free: 357.1 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02738/3.548, allocations: 29.38 MB / 2.305 GB, free: 326.1 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04598/3.594, allocations: 44.17 MB / 2.348 GB, free: 281.2 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-05/3.594, allocations: 16 kB / 2.348 GB, free: 281.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=1388) (initialization_lambda0): time 0.3337/3.928, allocations: 141.9 MB / 2.487 GB, free: 140.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/3.928, allocations: 53.64 kB / 2.487 GB, free: 140.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.742e-05/3.928, allocations: 56 kB / 2.487 GB, free: 140.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2954/4.223, allocations: 118.7 MB / 2.603 GB, free: 21.77 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/4.234, allocations: 3.554 MB / 2.606 GB, free: 18.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4275/4.661, allocations: 86.27 MB / 2.69 GB, free: 423.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.101/4.762, allocations: 10.64 MB / 2.701 GB, free: 423.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00682/4.769, allocations: 1.589 MB / 2.702 GB, free: 423.3 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * 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 (1028): * Single equations (assignments): 1010 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.009426/4.778, allocations: 0.7309 MB / 2.703 GB, free: 422.9 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009914/4.788, allocations: 1.726 MB / 2.705 GB, free: 422.9 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.136/4.924, allocations: 68.28 MB / 2.772 GB, free: 379.7 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1378/5.062, allocations: 81.75 MB / 2.851 GB, free: 298 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001067/5.062, allocations: 28 kB / 2.851 GB, free: 298 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1332/5.195, allocations: 80.65 MB / 2.93 GB, free: 217.4 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2398/5.435, allocations: 169.4 MB / 3.096 GB, free: 48.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.44e-05/5.435, allocations: 4 kB / 3.096 GB, free: 48.23 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007599/5.443, allocations: 2.242 MB / 3.098 GB, free: 45.99 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6126/6.055, allocations: 144.5 MB / 3.239 GB, free: 407.8 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003989/6.059, allocations: 0.8097 MB / 3.24 GB, free: 407.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08205/6.141, allocations: 71.48 MB / 3.31 GB, free: 349.1 MB / 1.042 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2260:10-2260:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2178:9-2178:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 653] [Calling sys.exit(0), Time elapsed: 9.774286800064147] Failed to read output from testmodel.py, exit status != 0: 7.283136867918074 7.28968375 6.156557364 Calling exit ...