Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007731/0.00773, allocations: 102 kB / 15.73 MB, free: 6.039 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.001747/0.001747, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.84 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9225, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.3533/1.276, allocations: 357.7 MB / 1.557 GB, free: 6.621 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.9693/2.245, allocations: 75.85 MB / 1.631 GB, free: 61.13 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0185/2.264, allocations: 434.2 kB / 1.631 GB, free: 61.13 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02144/2.285, allocations: 6.428 MB / 1.637 GB, free: 61 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04275/2.328, allocations: 14.09 MB / 1.651 GB, free: 60.43 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03149/2.36, allocations: 10.19 MB / 1.661 GB, free: 60.13 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09456/2.454, allocations: 74.32 MB / 1.734 GB, free: 24.11 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02976/2.484, allocations: 20.05 MB / 1.753 GB, free: 4.652 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0402/2.524, allocations: 17.46 MB / 1.77 GB, free: 4.152 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03125/2.556, allocations: 16.45 MB / 1.786 GB, free: 4.871 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009378/2.565, allocations: 1.973 MB / 1.788 GB, free: 2.898 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02891/2.594, allocations: 6.055 MB / 1.794 GB, free: 13.12 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01085/2.605, allocations: 6.526 MB / 1.801 GB, free: 6.824 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02814/2.633, allocations: 11.28 MB / 1.812 GB, free: 11.74 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05777/2.691, allocations: 31.4 MB / 1.842 GB, free: 13.45 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/2.691, allocations: 4 kB / 1.842 GB, free: 13.44 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.944e-06/2.691, allocations: 0 / 1.842 GB, free: 13.44 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.001096/2.692, allocations: 4 kB / 1.842 GB, free: 13.44 MB / 1.373 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.07728/2.769, allocations: 24.09 MB / 1.866 GB, free: 5.391 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/2.769, allocations: 8.031 kB / 1.866 GB, free: 5.383 MB / 1.389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005041/2.774, allocations: 1.054 MB / 1.867 GB, free: 4.328 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/2.793, allocations: 3.204 MB / 1.87 GB, free: 1.098 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05829/2.851, allocations: 23 MB / 1.892 GB, free: 10.4 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008411/2.852, allocations: 0.6721 MB / 1.893 GB, free: 9.734 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/2.857, allocations: 0.9489 MB / 1.894 GB, free: 8.793 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04566/2.903, allocations: 17.1 MB / 1.911 GB, free: 7.496 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004834/2.903, allocations: 15.84 kB / 1.911 GB, free: 7.48 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004606/2.908, allocations: 328 kB / 1.911 GB, free: 7.168 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004801/2.908, allocations: 375.3 kB / 1.911 GB, free: 6.801 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04923/2.958, allocations: 21.54 MB / 1.932 GB, free: 1.246 MB / 1.451 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.1935/3.151, allocations: 83.61 MB / 2.014 GB, free: 11.16 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03551/3.187, allocations: 13.31 MB / 2.027 GB, free: 14.11 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01777/3.205, allocations: 9.799 MB / 2.037 GB, free: 4.297 MB / 1.561 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.08465/3.289, allocations: 35.77 MB / 2.072 GB, free: 212 kB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02125/3.311, allocations: 10.26 MB / 2.082 GB, free: 5.887 MB / 1.607 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02232/3.333, allocations: 5.825 MB / 2.087 GB, free: 224 kB / 1.607 GB Notification: Performance of pre-optimization done (n=588): time 5.074e-05/3.333, allocations: 0 / 2.087 GB, free: 224 kB / 1.607 GB Notification: Performance of matching and sorting (n=880): time 2.154/5.487, allocations: 239.9 MB / 2.321 GB, free: 0.6364 GB / 1.717 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.12/5.607, allocations: 55.25 MB / 2.375 GB, free: 0.581 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03333/5.641, allocations: 20.48 MB / 2.395 GB, free: 0.5612 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.004169/5.645, allocations: 233.5 kB / 2.396 GB, free: 0.561 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.008645/5.654, allocations: 7.751 MB / 2.403 GB, free: 0.5536 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.01197/5.666, allocations: 3.189 MB / 2.406 GB, free: 0.5506 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01662/5.682, allocations: 4.542 MB / 2.411 GB, free: 0.5461 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 3.469e-05/5.682, allocations: 305.1 kB / 2.411 GB, free: 0.5458 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03269/5.715, allocations: 25.64 MB / 2.436 GB, free: 0.5207 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03777/5.753, allocations: 28.5 MB / 2.464 GB, free: 0.4919 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06637/5.819, allocations: 46.84 MB / 2.51 GB, free: 456.1 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.537e-05/5.819, allocations: 16 kB / 2.51 GB, free: 456.1 MB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5966/6.416, allocations: 146 MB / 2.652 GB, free: 309.9 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/6.416, allocations: 61.64 kB / 2.652 GB, free: 309.9 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/6.416, allocations: 52 kB / 2.652 GB, free: 309.8 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5674/6.984, allocations: 119.8 MB / 2.769 GB, free: 190 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01971/7.004, allocations: 3.794 MB / 2.773 GB, free: 186.2 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1595/7.163, allocations: 84.29 MB / 2.855 GB, free: 101.5 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1814/7.345, allocations: 10.61 MB / 2.866 GB, free: 90.91 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006989/7.352, allocations: 1.672 MB / 2.867 GB, free: 89.23 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04311/7.395, allocations: 29.03 MB / 2.896 GB, free: 60.18 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03454/7.429, allocations: 27.95 MB / 2.923 GB, free: 31.18 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.35/8.78, allocations: 45.78 MB / 2.968 GB, free: 0.6683 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.066e-05/8.78, allocations: 15.44 kB / 2.968 GB, free: 0.6683 GB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5849/9.365, allocations: 144.3 MB / 3.109 GB, free: 0.5789 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/9.365, allocations: 53.7 kB / 3.109 GB, free: 0.5788 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.359e-05/9.365, allocations: 48.09 kB / 3.109 GB, free: 0.5788 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5595/9.925, allocations: 118.8 MB / 3.225 GB, free: 474.2 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/9.943, allocations: 3.755 MB / 3.229 GB, free: 470.4 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1552/10.1, allocations: 88.15 MB / 3.315 GB, free: 382.2 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1834/10.28, allocations: 10.66 MB / 3.325 GB, free: 371.6 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006535/10.29, allocations: 1.637 MB / 3.327 GB, free: 369.9 MB / 1.717 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.008798/10.3, allocations: 0.7718 MB / 3.327 GB, free: 369.1 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008745/10.31, allocations: 1.632 MB / 3.329 GB, free: 367.6 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2124/10.52, allocations: 68.69 MB / 3.396 GB, free: 298.9 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.225/10.74, allocations: 83.2 MB / 3.477 GB, free: 215.7 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000119/10.74, allocations: 28 kB / 3.477 GB, free: 215.6 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2165/10.96, allocations: 82.06 MB / 3.557 GB, free: 133.5 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.07/12.03, allocations: 216.3 MB / 3.769 GB, free: 0.6357 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001153/12.03, allocations: 3.969 kB / 3.769 GB, free: 0.6357 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01299/12.04, allocations: 2.235 MB / 3.771 GB, free: 0.6347 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5469/12.59, allocations: 144.7 MB / 3.912 GB, free: 0.4965 GB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004888/12.6, allocations: 0.8142 MB / 3.913 GB, free: 0.4957 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1299/12.73, allocations: 72.1 MB / 3.983 GB, free: 435.4 MB / 1.717 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]