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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 110.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 291.9 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.164/1.164, allocations: 180.9 MB / 0.5261 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 103.5 kB / 0.7248 GB, free: 40.37 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1518, allocations: 94.15 MB / 0.8167 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.7302/0.882, allocations: 360.3 MB / 1.169 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1086/0.9905, allocations: 76.01 MB / 1.243 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01535/1.006, allocations: 429.6 kB / 1.243 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01808/1.024, allocations: 6.623 MB / 1.25 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.03998/1.064, allocations: 14.76 MB / 1.264 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02448/1.088, allocations: 10.21 MB / 1.274 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.1012/1.19, allocations: 74.57 MB / 1.347 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02764/1.217, allocations: 17.43 MB / 1.364 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0391/1.256, allocations: 17.53 MB / 1.381 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5294/1.786, allocations: 17.26 MB / 1.398 GB, free: 75.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.009007/1.795, allocations: 1.984 MB / 1.4 GB, free: 75.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02575/1.821, allocations: 6.164 MB / 1.406 GB, free: 75.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0141/1.835, allocations: 6.698 MB / 1.412 GB, free: 75.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02385/1.858, allocations: 11.32 MB / 1.424 GB, free: 74.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.04878/1.907, allocations: 31.63 MB / 1.454 GB, free: 70.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.907, allocations: 0.5938 kB / 1.454 GB, free: 70.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/1.907, allocations: 3.938 kB / 1.454 GB, free: 70.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001017/1.908, allocations: 0.875 kB / 1.454 GB, free: 70.18 MB / 0.9825 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.06921/1.977, allocations: 22.39 MB / 1.476 GB, free: 61.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.978, allocations: 7.344 kB / 1.476 GB, free: 61.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005811/1.983, allocations: 1.049 MB / 1.477 GB, free: 60.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/2.001, allocations: 3.301 MB / 1.481 GB, free: 59.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04886/2.05, allocations: 23.19 MB / 1.503 GB, free: 56.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008139/2.051, allocations: 0.6712 MB / 1.504 GB, free: 56.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006831/2.058, allocations: 0.9496 MB / 1.505 GB, free: 56.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04242/2.1, allocations: 17.26 MB / 1.522 GB, free: 51.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00054/2.101, allocations: 16.8 kB / 1.522 GB, free: 51.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005466/2.106, allocations: 327.9 kB / 1.522 GB, free: 51.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003507/2.106, allocations: 372.2 kB / 1.522 GB, free: 51.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04166/2.148, allocations: 21.89 MB / 1.544 GB, free: 47.24 MB / 0.9825 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.1443/2.292, allocations: 82 MB / 1.624 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02348/2.316, allocations: 12.12 MB / 1.636 GB, free: 3.117 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01584/2.332, allocations: 8.675 MB / 1.644 GB, free: 10.43 MB / 1.045 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.08183/2.414, allocations: 34.51 MB / 1.678 GB, free: 7.562 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0199/2.434, allocations: 10.37 MB / 1.688 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0309/2.464, allocations: 8.276 MB / 1.696 GB, free: 5.027 MB / 1.092 GB Notification: Performance of pre-optimization done (n=588): time 2.669e-05/2.464, allocations: 0 / 1.696 GB, free: 5.027 MB / 1.092 GB Notification: Performance of matching and sorting (n=880): time 1.317/3.781, allocations: 239.8 MB / 1.93 GB, free: 0.4975 GB / 1.201 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.1243/3.906, allocations: 55.34 MB / 1.984 GB, free: 452.8 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03656/3.942, allocations: 20.5 MB / 2.004 GB, free: 432.4 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004214/3.946, allocations: 231.3 kB / 2.004 GB, free: 432.2 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.009361/3.956, allocations: 7.834 MB / 2.012 GB, free: 424.8 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.01256/3.968, allocations: 3.341 MB / 2.015 GB, free: 421.6 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01894/3.987, allocations: 4.553 MB / 2.02 GB, free: 417.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/3.987, allocations: 305.1 kB / 2.02 GB, free: 416.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03233/4.02, allocations: 25.64 MB / 2.045 GB, free: 391.1 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03449/4.054, allocations: 28.5 MB / 2.073 GB, free: 361.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06244/4.117, allocations: 46.83 MB / 2.119 GB, free: 313.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-05/4.117, allocations: 12 kB / 2.119 GB, free: 313.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5596/4.676, allocations: 145.7 MB / 2.261 GB, free: 168.1 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/4.676, allocations: 53.7 kB / 2.261 GB, free: 168 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.307e-05/4.676, allocations: 48 kB / 2.261 GB, free: 168 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5376/5.214, allocations: 119.8 MB / 2.378 GB, free: 48.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01955/5.234, allocations: 3.802 MB / 2.382 GB, free: 44.42 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5555/5.789, allocations: 84.3 MB / 2.464 GB, free: 0.5056 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1713/5.96, allocations: 10.62 MB / 2.474 GB, free: 0.5051 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006806/5.967, allocations: 1.67 MB / 2.476 GB, free: 0.505 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04342/6.011, allocations: 29.02 MB / 2.504 GB, free: 0.4966 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03656/6.047, allocations: 27.97 MB / 2.532 GB, free: 497.1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06483/6.112, allocations: 45.77 MB / 2.576 GB, free: 450.6 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-05/6.112, allocations: 16 kB / 2.576 GB, free: 450.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5533/6.665, allocations: 143.9 MB / 2.717 GB, free: 307.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/6.665, allocations: 57.69 kB / 2.717 GB, free: 307.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.029e-05/6.666, allocations: 57.5 kB / 2.717 GB, free: 307.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5336/7.199, allocations: 118.8 MB / 2.833 GB, free: 189.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01743/7.217, allocations: 3.763 MB / 2.837 GB, free: 185.4 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1484/7.365, allocations: 88.19 MB / 2.923 GB, free: 96.9 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1694/7.534, allocations: 10.66 MB / 2.933 GB, free: 86.22 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006681/7.541, allocations: 1.637 MB / 2.935 GB, free: 84.58 MB / 1.201 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.009809/7.551, allocations: 0.7765 MB / 2.936 GB, free: 83.83 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009171/7.56, allocations: 1.727 MB / 2.937 GB, free: 82.1 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6197/8.18, allocations: 68.15 MB / 3.004 GB, free: 0.5073 GB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2188/8.398, allocations: 81.74 MB / 3.084 GB, free: 0.4954 GB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.587e-05/8.399, allocations: 29.34 kB / 3.084 GB, free: 0.4954 GB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1998/8.598, allocations: 80.61 MB / 3.163 GB, free: 444.4 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.347/8.945, allocations: 214.8 MB / 3.372 GB, free: 229.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.162e-05/8.945, allocations: 2.812 kB / 3.372 GB, free: 229.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0123/8.958, allocations: 2.242 MB / 3.375 GB, free: 227.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4975/9.455, allocations: 144.7 MB / 3.516 GB, free: 82.89 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004559/9.46, allocations: 0.8103 MB / 3.517 GB, free: 82.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5465/10.01, allocations: 72.12 MB / 3.587 GB, free: 0.5109 GB / 1.201 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_2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 649] [Calling sys.exit(0), Time elapsed: 14.976361676119268] Failed to read output from testmodel.py, exit status != 0: 11.200550897046924 11.209302539 9.299686328 Calling exit ...