Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004541/0.004541, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001241/0.001241, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.22 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.888/0.888, allocations: 143.3 MB / 433.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 72.25 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.6811/0.8223, allocations: 358.2 MB / 1.025 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5463/1.369, allocations: 76.15 MB / 1.1 GB, free: 40.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0177/1.386, allocations: 434.1 kB / 1.1 GB, free: 40.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01915/1.406, allocations: 6.465 MB / 1.106 GB, free: 40.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03818/1.444, allocations: 14.14 MB / 1.12 GB, free: 39.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02379/1.468, allocations: 10.19 MB / 1.13 GB, free: 39.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.09118/1.559, allocations: 74.41 MB / 1.203 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03282/1.592, allocations: 20.07 MB / 1.222 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04043/1.632, allocations: 17.12 MB / 1.239 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03494/1.667, allocations: 16.49 MB / 1.255 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.008767/1.676, allocations: 1.977 MB / 1.257 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02275/1.699, allocations: 6.073 MB / 1.263 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01159/1.71, allocations: 6.546 MB / 1.269 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02684/1.737, allocations: 11.31 MB / 1.28 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0555/1.793, allocations: 33.1 MB / 1.313 GB, free: 1.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.793, allocations: 0 / 1.313 GB, free: 1.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.953e-06/1.793, allocations: 0 / 1.313 GB, free: 1.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009691/1.794, allocations: 0 / 1.313 GB, free: 1.781 MB / 0.92 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.0715/1.865, allocations: 24.85 MB / 1.337 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.865, allocations: 12.03 kB / 1.337 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004332/1.87, allocations: 1.047 MB / 1.338 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/1.888, allocations: 3.305 MB / 1.341 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05221/1.94, allocations: 23.25 MB / 1.364 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008552/1.941, allocations: 0.6767 MB / 1.365 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004558/1.945, allocations: 0.9425 MB / 1.366 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04164/1.987, allocations: 17.1 MB / 1.382 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/1.987, allocations: 15.86 kB / 1.382 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003221/1.991, allocations: 333.8 kB / 1.383 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000447/1.991, allocations: 371.3 kB / 1.383 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04599/2.037, allocations: 21.54 MB / 1.404 GB, free: 4.586 MB / 1.014 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.4407/2.478, allocations: 83.85 MB / 1.486 GB, free: 463.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02064/2.499, allocations: 13.3 MB / 1.499 GB, free: 456.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0139/2.513, allocations: 9.801 MB / 1.508 GB, free: 451.2 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.06287/2.575, allocations: 35.88 MB / 1.544 GB, free: 426.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01323/2.589, allocations: 10.25 MB / 1.554 GB, free: 417.2 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01837/2.607, allocations: 5.835 MB / 1.559 GB, free: 412.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=588): time 3.248e-05/2.607, allocations: 0 / 1.559 GB, free: 412.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=880): time 0.9936/3.601, allocations: 240.4 MB / 1.794 GB, free: 173 MB / 1.045 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.1226/3.723, allocations: 55.37 MB / 1.848 GB, free: 116.1 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03348/3.757, allocations: 20.61 MB / 1.868 GB, free: 95.63 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.004092/3.761, allocations: 229.6 kB / 1.868 GB, free: 95.4 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.007182/3.768, allocations: 7.874 MB / 1.876 GB, free: 87.54 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.01034/3.779, allocations: 3.34 MB / 1.879 GB, free: 84.24 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01166/3.79, allocations: 4.554 MB / 1.884 GB, free: 79.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.5e-05/3.79, allocations: 301.1 kB / 1.884 GB, free: 79.38 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03233/3.823, allocations: 25.64 MB / 1.909 GB, free: 53.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03477/3.858, allocations: 28.49 MB / 1.937 GB, free: 24.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3895/4.247, allocations: 46.83 MB / 1.983 GB, free: 440.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.516e-05/4.247, allocations: 13.81 kB / 1.983 GB, free: 440.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6285/4.876, allocations: 146.1 MB / 2.125 GB, free: 353.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/4.876, allocations: 61.69 kB / 2.125 GB, free: 353.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.41e-05/4.876, allocations: 52 kB / 2.125 GB, free: 353.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5962/5.472, allocations: 119.8 MB / 2.242 GB, free: 233.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01988/5.492, allocations: 3.801 MB / 2.246 GB, free: 229.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/5.643, allocations: 84.32 MB / 2.329 GB, free: 145.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2134/5.856, allocations: 10.61 MB / 2.339 GB, free: 134.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006609/5.863, allocations: 1.664 MB / 2.341 GB, free: 133.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04068/5.904, allocations: 29.04 MB / 2.369 GB, free: 104.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03342/5.937, allocations: 27.97 MB / 2.396 GB, free: 75.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06146/5.999, allocations: 45.77 MB / 2.441 GB, free: 28.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.266e-05/5.999, allocations: 16 kB / 2.441 GB, free: 28.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.9591/6.958, allocations: 144.4 MB / 2.582 GB, free: 381.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/6.958, allocations: 61.95 kB / 2.582 GB, free: 381.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.473e-05/6.958, allocations: 52 kB / 2.582 GB, free: 381.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5888/7.547, allocations: 118.8 MB / 2.698 GB, free: 262.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/7.565, allocations: 3.755 MB / 2.702 GB, free: 259.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1515/7.717, allocations: 88.18 MB / 2.788 GB, free: 170.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2181/7.935, allocations: 10.67 MB / 2.798 GB, free: 160.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005985/7.941, allocations: 1.632 MB / 2.8 GB, free: 158.6 MB / 1.045 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.006512/7.948, allocations: 0.7735 MB / 2.801 GB, free: 157.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006444/7.954, allocations: 1.721 MB / 2.802 GB, free: 157.1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2091/8.163, allocations: 68.73 MB / 2.869 GB, free: 88.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5512/8.714, allocations: 83.17 MB / 2.951 GB, free: 409.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001748/8.715, allocations: 31.38 kB / 2.951 GB, free: 409.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2258/8.94, allocations: 82.08 MB / 3.031 GB, free: 394.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.367/9.307, allocations: 216.4 MB / 3.242 GB, free: 197.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.26e-05/9.308, allocations: 0 / 3.242 GB, free: 197.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01306/9.321, allocations: 2.246 MB / 3.244 GB, free: 194.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5674/9.888, allocations: 144.7 MB / 3.386 GB, free: 50.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004005/9.892, allocations: 0.8103 MB / 3.386 GB, free: 49.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4444/10.34, allocations: 72.13 MB / 3.457 GB, free: 411.1 MB / 1.045 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:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]