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.001037/0.001037, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001142/0.001142, allocations: 165.8 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.9255/0.9255, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001729/0.001729, allocations: 249.8 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.7174/0.7174, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6471 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.881e-05, allocations: 6.219 kB / 0.6471 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.7583/0.7583, allocations: 325.8 MB / 0.9653 GB, free: 52.78 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.07658/0.8349, allocations: 70.8 MB / 1.034 GB, free: 50.66 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01417/0.849, allocations: 0.5796 MB / 1.035 GB, free: 50.66 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01532/0.8644, allocations: 6.469 MB / 1.041 GB, free: 49.05 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.03159/0.8959, allocations: 15.44 MB / 1.056 GB, free: 40.51 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01813/0.9141, allocations: 10.89 MB / 1.067 GB, free: 33.99 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.07869/0.9928, allocations: 86.98 MB / 1.152 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02419/1.017, allocations: 15.91 MB / 1.167 GB, free: 10.82 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05434/1.071, allocations: 23.4 MB / 1.19 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03717/1.108, allocations: 15.67 MB / 1.206 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.01031/1.119, allocations: 1.848 MB / 1.207 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02075/1.14, allocations: 5.081 MB / 1.212 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.009564/1.149, allocations: 6.669 MB / 1.219 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0167/1.166, allocations: 7.749 MB / 1.226 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.04264/1.208, allocations: 31.87 MB / 1.258 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.208, allocations: 0 / 1.258 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.605e-06/1.208, allocations: 0 / 1.258 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0009972/1.209, allocations: 0 / 1.258 GB, free: 3.98 MB / 0.9011 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.04552/1.255, allocations: 21.55 MB / 1.279 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.255, allocations: 13.22 kB / 1.279 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003448/1.258, allocations: 1.055 MB / 1.28 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/1.269, allocations: 3.321 MB / 1.283 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4914/1.761, allocations: 22.77 MB / 1.305 GB, free: 392.5 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005363/1.761, allocations: 0.6689 MB / 1.306 GB, free: 392.2 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004253/1.766, allocations: 0.9418 MB / 1.307 GB, free: 391.9 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/1.798, allocations: 18.22 MB / 1.325 GB, free: 384.6 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002162/1.798, allocations: 14.05 kB / 1.325 GB, free: 384.6 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002319/1.801, allocations: 331.5 kB / 1.325 GB, free: 384.3 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/1.801, allocations: 370.7 kB / 1.325 GB, free: 384.3 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0371/1.838, allocations: 21.87 MB / 1.347 GB, free: 377.4 MB / 0.9324 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.1018/1.94, allocations: 63.63 MB / 1.409 GB, free: 323.8 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.956, allocations: 11.96 MB / 1.42 GB, free: 312.2 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01071/1.967, allocations: 8.68 MB / 1.429 GB, free: 303.5 MB / 0.9324 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.0487/2.015, allocations: 29.82 MB / 1.458 GB, free: 273.8 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01131/2.027, allocations: 11.33 MB / 1.469 GB, free: 262.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01875/2.045, allocations: 8.218 MB / 1.477 GB, free: 254.7 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=588): time 3.922e-05/2.045, allocations: 0 / 1.477 GB, free: 254.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=880): time 0.5535/2.599, allocations: 239.7 MB / 1.711 GB, free: 14.13 MB / 0.9324 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.3526/2.951, allocations: 52.88 MB / 1.763 GB, free: 346 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03207/2.983, allocations: 19.85 MB / 1.782 GB, free: 339.6 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.003405/2.987, allocations: 233.1 kB / 1.782 GB, free: 339.4 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.006267/2.993, allocations: 8.131 MB / 1.79 GB, free: 334.2 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.008914/3.002, allocations: 3.286 MB / 1.794 GB, free: 333 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01404/3.016, allocations: 4.077 MB / 1.797 GB, free: 332.2 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/3.016, allocations: 303.2 kB / 1.798 GB, free: 331.9 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02997/3.046, allocations: 24.78 MB / 1.822 GB, free: 325 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03203/3.078, allocations: 29.93 MB / 1.851 GB, free: 302.5 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04987/3.128, allocations: 45.24 MB / 1.895 GB, free: 256.7 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.712e-05/3.128, allocations: 16 kB / 1.895 GB, free: 256.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1388) (initialization): time 0.3617/3.49, allocations: 143.7 MB / 2.036 GB, free: 113.8 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/3.49, allocations: 58.33 kB / 2.036 GB, free: 113.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.757e-05/3.49, allocations: 48 kB / 2.036 GB, free: 113.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6033/4.093, allocations: 119.7 MB / 2.153 GB, free: 335.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/4.106, allocations: 3.604 MB / 2.156 GB, free: 335.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1101/4.216, allocations: 83.37 MB / 2.238 GB, free: 311.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1039/4.32, allocations: 10.59 MB / 2.248 GB, free: 310.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006766/4.327, allocations: 1.623 MB / 2.25 GB, free: 309.3 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03447/4.361, allocations: 28.16 MB / 2.277 GB, free: 290.6 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02814/4.389, allocations: 29.38 MB / 2.306 GB, free: 259.6 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0486/4.438, allocations: 44.16 MB / 2.349 GB, free: 214.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001232/4.438, allocations: 16 kB / 2.349 GB, free: 214.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1388) (initialization_lambda0): time 0.3442/4.782, allocations: 141.9 MB / 2.488 GB, free: 73.7 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/4.782, allocations: 57.69 kB / 2.488 GB, free: 73.64 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.465e-05/4.782, allocations: 48.8 kB / 2.488 GB, free: 73.59 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6139/5.396, allocations: 118.7 MB / 2.604 GB, free: 330 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/5.409, allocations: 3.552 MB / 2.607 GB, free: 330 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1037/5.512, allocations: 86.28 MB / 2.691 GB, free: 282.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1025/5.615, allocations: 10.64 MB / 2.702 GB, free: 271.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005971/5.621, allocations: 1.589 MB / 2.703 GB, free: 270 MB / 0.9324 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.006838/5.628, allocations: 0.7361 MB / 2.704 GB, free: 269.3 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006126/5.634, allocations: 1.733 MB / 2.706 GB, free: 268.5 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1256/5.759, allocations: 68.26 MB / 2.772 GB, free: 200.6 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1437/5.903, allocations: 81.75 MB / 2.852 GB, free: 118.8 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/5.903, allocations: 31.94 kB / 2.852 GB, free: 118.8 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1363/6.04, allocations: 80.64 MB / 2.931 GB, free: 38 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5789/6.619, allocations: 169.4 MB / 3.096 GB, free: 278.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001132/6.619, allocations: 4 kB / 3.096 GB, free: 278.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008337/6.627, allocations: 2.238 MB / 3.099 GB, free: 276.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3409/6.968, allocations: 144.5 MB / 3.24 GB, free: 132.4 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004133/6.972, allocations: 0.8103 MB / 3.241 GB, free: 131.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09474/7.067, allocations: 71.47 MB / 3.31 GB, free: 60.11 MB / 0.9324 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:2264:10-2264:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2182:9-2182: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:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 651] [Calling sys.exit(0), Time elapsed: 11.241757156327367]