Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 108.7 kB / 16.41 MB, free: 6.48 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.001244/0.001244, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.381/2.381, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8696, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.3203/1.19, allocations: 357.7 MB / 1.517 GB, free: 12.96 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.9972/2.187, allocations: 75.84 MB / 1.591 GB, free: 61.9 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0201/2.207, allocations: 436.1 kB / 1.591 GB, free: 61.9 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02009/2.228, allocations: 6.558 MB / 1.598 GB, free: 61.89 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04584/2.273, allocations: 14.75 MB / 1.612 GB, free: 61.35 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02587/2.299, allocations: 10.2 MB / 1.622 GB, free: 61.01 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09984/2.399, allocations: 74.39 MB / 1.695 GB, free: 52.73 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02901/2.428, allocations: 20.04 MB / 1.714 GB, free: 36.94 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0385/2.467, allocations: 17.51 MB / 1.731 GB, free: 20.88 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02825/2.495, allocations: 16.43 MB / 1.747 GB, free: 5.613 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008814/2.504, allocations: 1.973 MB / 1.749 GB, free: 3.641 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/2.527, allocations: 6.061 MB / 1.755 GB, free: 13.85 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01233/2.54, allocations: 6.523 MB / 1.761 GB, free: 7.562 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02715/2.567, allocations: 11.22 MB / 1.772 GB, free: 12.53 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05127/2.618, allocations: 31.17 MB / 1.803 GB, free: 14.46 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/2.618, allocations: 0 / 1.803 GB, free: 14.46 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.873e-06/2.618, allocations: 0 / 1.803 GB, free: 14.46 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001065/2.619, allocations: 0 / 1.803 GB, free: 14.46 MB / 1.342 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.07189/2.691, allocations: 23.94 MB / 1.826 GB, free: 6.559 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/2.691, allocations: 8.922 kB / 1.826 GB, free: 6.551 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/2.709, allocations: 3.189 MB / 1.829 GB, free: 3.336 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05085/2.76, allocations: 20.85 MB / 1.85 GB, free: 14.78 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000849/2.761, allocations: 0.677 MB / 1.85 GB, free: 14.11 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00541/2.767, allocations: 0.9471 MB / 1.851 GB, free: 13.17 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/2.812, allocations: 17.1 MB / 1.868 GB, free: 11.87 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004329/2.812, allocations: 11.88 kB / 1.868 GB, free: 11.86 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004361/2.816, allocations: 326.4 kB / 1.868 GB, free: 11.54 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005038/2.817, allocations: 367.4 kB / 1.869 GB, free: 11.18 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04482/2.862, allocations: 21.53 MB / 1.89 GB, free: 5.637 MB / 1.42 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.1599/3.022, allocations: 82.93 MB / 1.971 GB, free: 284 kB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02524/3.047, allocations: 13.32 MB / 1.984 GB, free: 3.215 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01762/3.065, allocations: 9.793 MB / 1.993 GB, free: 9.41 MB / 1.529 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.08375/3.148, allocations: 35.53 MB / 2.028 GB, free: 5.559 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02117/3.17, allocations: 10.25 MB / 2.038 GB, free: 11.24 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02159/3.191, allocations: 5.824 MB / 2.044 GB, free: 5.574 MB / 1.576 GB Notification: Performance of pre-optimization done (n=588): time 3.953e-05/3.191, allocations: 0 / 2.044 GB, free: 5.574 MB / 1.576 GB Notification: Performance of matching and sorting (n=880): time 2.296/5.487, allocations: 239.8 MB / 2.278 GB, free: 0.6699 GB / 1.701 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.1344/5.622, allocations: 55.25 MB / 2.332 GB, free: 0.6151 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03678/5.659, allocations: 17.78 MB / 2.349 GB, free: 0.598 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.005333/5.664, allocations: 229.7 kB / 2.349 GB, free: 0.5978 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.01022/5.674, allocations: 7.718 MB / 2.357 GB, free: 0.5916 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.01274/5.687, allocations: 3.193 MB / 2.36 GB, free: 0.5897 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0195/5.707, allocations: 4.538 MB / 2.365 GB, free: 0.5852 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/5.707, allocations: 305.1 kB / 2.365 GB, free: 0.5849 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03636/5.743, allocations: 25.64 MB / 2.39 GB, free: 0.5599 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03934/5.782, allocations: 28.5 MB / 2.418 GB, free: 0.531 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06849/5.851, allocations: 46.83 MB / 2.463 GB, free: 496.2 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.419e-05/5.851, allocations: 20 kB / 2.463 GB, free: 496.2 MB / 1.701 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5703/6.421, allocations: 146 MB / 2.606 GB, free: 350 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/6.422, allocations: 61.62 kB / 2.606 GB, free: 349.9 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-05/6.422, allocations: 52 kB / 2.606 GB, free: 349.9 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5355/6.957, allocations: 119.8 MB / 2.723 GB, free: 230.1 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02031/6.978, allocations: 3.79 MB / 2.727 GB, free: 226.3 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1528/7.13, allocations: 84.29 MB / 2.809 GB, free: 141.6 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1757/7.306, allocations: 10.61 MB / 2.82 GB, free: 131 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007108/7.313, allocations: 1.672 MB / 2.821 GB, free: 129.3 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04232/7.356, allocations: 29.02 MB / 2.849 GB, free: 100.3 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03556/7.391, allocations: 27.96 MB / 2.877 GB, free: 71.27 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06366/7.455, allocations: 45.78 MB / 2.922 GB, free: 24.7 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.418e-05/7.455, allocations: 19.94 kB / 2.922 GB, free: 24.68 MB / 1.701 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 1.886/9.341, allocations: 144.3 MB / 3.062 GB, free: 0.6358 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/9.341, allocations: 61.94 kB / 3.062 GB, free: 0.6357 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/9.341, allocations: 52 kB / 3.063 GB, free: 0.6357 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5272/9.869, allocations: 118.8 MB / 3.179 GB, free: 0.52 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/9.887, allocations: 3.758 MB / 3.182 GB, free: 0.5163 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1621/10.05, allocations: 88.16 MB / 3.268 GB, free: 440.5 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1815/10.23, allocations: 10.66 MB / 3.279 GB, free: 429.9 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006807/10.24, allocations: 1.637 MB / 3.28 GB, free: 428.2 MB / 1.701 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.009982/10.25, allocations: 0.7684 MB / 3.281 GB, free: 427.5 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009352/10.26, allocations: 1.616 MB / 3.283 GB, free: 426.7 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2113/10.47, allocations: 68.7 MB / 3.35 GB, free: 358.3 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2225/10.69, allocations: 83.18 MB / 3.431 GB, free: 275.1 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001418/10.69, allocations: 31.94 kB / 3.431 GB, free: 275.1 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2139/10.9, allocations: 82.08 MB / 3.511 GB, free: 192.9 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.157/12.06, allocations: 216 MB / 3.722 GB, free: 0.6704 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001129/12.06, allocations: 2.062 kB / 3.722 GB, free: 0.6704 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01323/12.07, allocations: 2.247 MB / 3.724 GB, free: 0.6703 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5362/12.61, allocations: 144.7 MB / 3.866 GB, free: 0.5693 GB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004822/12.62, allocations: 0.8141 MB / 3.866 GB, free: 0.5685 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1268/12.74, allocations: 72.1 MB / 3.937 GB, free: 0.4981 GB / 1.701 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:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:804:5-804:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]